Jump to content

Emby server not correctly detecting if media is interlaced


Go to solution Solved by Xorp,

Recommended Posts

Posted

All of my interlaced content says "Interlaced: No" in the Media Info properties. I noticed recent server changelogs talk about better interlaced detection, however, if some or all media is being reported as not interlaced, it could affect the reliability of deinterlacing during playback.

 

Here's a sample of such a file that is reported as not interlaced: https://www.sendspace.com/file/w6ubij

If you play with deinterlacing off, you can clearly see it's not progressive with interlacing lines everywhere.

 

The MediaInfo report for it says:

Scan type                                : MBAFF
Scan type, store method                  : Interleaved fields
Scan order                               : Top Field First
Happy2Play
Posted

So the question would be is this a defect in ffmpeg/ffprobe?

 

Can you post a server log to show what version you have.

 

I will test the same you provided to see what media info it provides on my server and post back.

Posted

It could be old data saved from an older server version. Try refreshing the file using the 3-dot menu on the detail screen.

Happy2Play
Posted

Adding media this is what I ger.  It shows interlaced Yes.

Video

CodecH264
AVCYes
ProfileHigh
Level41
Resolution1920x1080
Aspect ratio16:9
AnamorphicNo
InterlacedYes
Framerate29.97003
Bitrate21039 kbps
Bit depth8 bit
Pixel formatyuv420p
Ref frames1
NAL4
TitleEng 1920x1080i60 AVC (15839 kbps)
Audio

Languageeng
CodecFLAC
Layout5.1
Channels6 ch
Sample rate48000 Hz
Bit depth24 bit
DefaultYes
TitleEng FLAC 5.1 (3359 kbps 24/48)
Audio

Languageeng
CodecFLAC
Layoutstereo
Channels2 ch
Sample rate48000 Hz
Bit depth24 bit
DefaultNo
TitleEng FLAC 2.0 (927 kbps 20/48)
Subtitle

Languageeng
CodecSUBRIP
DefaultNo
ForcedNo
ExternalNo
TitleEng SRT
Containermkv
PathC:\Users\Media\Desktop\Videos\Movies\Test Interlace\interlaced test.mkv
Posted

It could be old data saved from an older server version. Try refreshing the file using the 3-dot menu on the detail screen.

I refreshed it all 3 ways, but it still says Interlaced: No. Seems to be a "stuck" property if an old server version incorrectly detected it.

 

I'm running 3.2.32.0

Posted

In this case happy2play is right. The detection coming from ffprobe is not perfect. We are going to look at updating to a new ffmpeg soon and hopefully that will resolve it. thanks.

Happy2Play
Posted (edited)

Can you post a server log to show what ffmpeg version you have.

Edited by Happy2Play
Posted

looks like 20160410

2017-09-22 16:22:36.000 Info Main: Emby
	Command line: C:\Users\Administrator\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
	Operating system: Microsoft Windows NT 6.2.9200.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 2
	Program data path: C:\Users\Administrator\AppData\Roaming\Emby-Server
	Application directory: C:\Users\Administrator\AppData\Roaming\Emby-Server\System
2017-09-22 16:22:36.313 Info App: Application version: 3.2.32.0
2017-09-22 16:22:36.407 Info App: Application configuration:
	{"EnableUPnP":false,"PublicPort":8096,"PublicHttpsPort":8920,"HttpServerPortNumber":8096,"HttpsPortNumber":8920,"EnableHttps":false,"EnableLocalizedGuids":false,"EnableNormalizedItemByNameIds":false,"CertificatePath":"","IsPortAuthorized":true,"EnableCaseSensitiveItemIds":false,"DisableLiveTvChannelUserDataName":false,"MetadataPath":"","SeasonZeroDisplayName":"Specials","PreferredMetadataLanguage":"en","MetadataCountryCode":"US","SortReplaceCharacters":[".","+","%"],"SortRemoveCharacters":[",","&","-","{","}","'"],"SortRemoveWords":["the","a","an"],"MinResumePct":5,"MaxResumePct":90,"MinResumeDurationSeconds":300,"LibraryMonitorDelay":60,"EnableDashboardResponseCaching":true,"DashboardSourcePath":"","ImageSavingConvention":"Compatible","MetadataOptions":[{"ItemType":"Book","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"MusicAlbum","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280},{"Type":"Screenshot","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":["MusicBrainz","TheAudioDB"],"DisabledImageFetchers":[],"ImageFetcherOrder":["Image Extractor","FanArt","TheAudioDB"]},{"ItemType":"MusicArtist","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280},{"Type":"Screenshot","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":["MusicBrainz","TheAudioDB"],"DisabledImageFetchers":[],"ImageFetcherOrder":["FanArt","TheAudioDB"]},{"ItemType":"Season","ImageOptions":[{"Type":"Backdrop","Limit":0,"MinWidth":1280},{"Type":"Screenshot","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":["Nfo","Emby Xml"],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":["TheMovieDb"],"DisabledImageFetchers":[],"ImageFetcherOrder":["TheTVDB","FanArt"]},{"ItemType":"Movie","ImageOptions":[{"Type":"Primary","Limit":1,"MinWidth":0},{"Type":"Art","Limit":1,"MinWidth":0},{"Type":"BoxRear","Limit":1,"MinWidth":0},{"Type":"Banner","Limit":1,"MinWidth":0},{"Type":"Box","Limit":1,"MinWidth":0},{"Type":"Disc","Limit":1,"MinWidth":0},{"Type":"Logo","Limit":1,"MinWidth":0},{"Type":"Menu","Limit":1,"MinWidth":0},{"Type":"Thumb","Limit":1,"MinWidth":0},{"Type":"Backdrop","Limit":3,"MinWidth":1280},{"Type":"Screenshot","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":["Nfo","Emby Xml"],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":["The Open Movie Database","TheMovieDb"],"DisabledImageFetchers":["The Open Movie Database"],"ImageFetcherOrder":["TheMovieDb","FanArt","Screen Grabber","The Open Movie Database"]},{"ItemType":"BoxSet","ImageOptions":[{"Type":"Primary","Limit":1,"MinWidth":0},{"Type":"Art","Limit":1,"MinWidth":0},{"Type":"Banner","Limit":1,"MinWidth":0},{"Type":"Disc","Limit":0,"MinWidth":0},{"Type":"Logo","Limit":1,"MinWidth":0},{"Type":"Thumb","Limit":1,"MinWidth":0},{"Type":"Backdrop","Limit":3,"MinWidth":1280},{"Type":"Screenshot","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":["TheMovieDb"],"DisabledImageFetchers":[],"ImageFetcherOrder":["TheMovieDb","FanArt"]},{"ItemType":"Trailer","ImageOptions":[{"Type":"Primary","Limit":1,"MinWidth":0},{"Type":"Art","Limit":1,"MinWidth":0},{"Type":"Banner","Limit":1,"MinWidth":0},{"Type":"Disc","Limit":0,"MinWidth":0},{"Type":"Logo","Limit":1,"MinWidth":0},{"Type":"Thumb","Limit":1,"MinWidth":0},{"Type":"Backdrop","Limit":3,"MinWidth":1280},{"Type":"Screenshot","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":["Nfo"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":["The Open Movie Database","TheMovieDb"],"DisabledImageFetchers":[],"ImageFetcherOrder":["TheMovieDb","FanArt","Screen Grabber"]},{"ItemType":"Episode","ImageOptions":[{"Type":"Backdrop","Limit":3,"MinWidth":1280},{"Type":"Screenshot","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":["Nfo","Emby Xml"],"DisabledMetadataFetchers":["The Open Movie Database","TheMovieDb"],"MetadataFetcherOrder":["TheTVDB","The Open Movie Database"],"DisabledImageFetchers":[],"ImageFetcherOrder":["TheTVDB","TheMovieDb","Screen Grabber"]},{"ItemType":"Series","ImageOptions":[{"Type":"Primary","Limit":1,"MinWidth":0},{"Type":"Art","Limit":1,"MinWidth":0},{"Type":"Banner","Limit":1,"MinWidth":0},{"Type":"Logo","Limit":1,"MinWidth":0},{"Type":"Thumb","Limit":1,"MinWidth":0},{"Type":"Backdrop","Limit":3,"MinWidth":1280},{"Type":"Screenshot","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":["Nfo","Emby Xml"],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":["The Open Movie Database","TheTVDB","TheMovieDb"],"DisabledImageFetchers":[],"ImageFetcherOrder":["TheTVDB","FanArt","TheMovieDb"]},{"ItemType":"MusicVideo","ImageOptions":[{"Type":"Backdrop","Limit":3,"MinWidth":1280},{"Type":"Screenshot","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":["Nfo","Emby Xml"],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":["TheMovieDb"],"DisabledImageFetchers":[],"ImageFetcherOrder":["TheMovieDb","FanArt","Screen Grabber"]},{"ItemType":"AdultVideo","ImageOptions":[{"Type":"Backdrop","Limit":3,"MinWidth":1280}],"DisabledMetadataSavers":["Nfo"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Video","ImageOptions":[{"Type":"Backdrop","Limit":3,"MinWidth":1280},{"Type":"Screenshot","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":["Nfo","Emby Xml"],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":["Screen Grabber"]},{"ItemType":"Person","ImageOptions":[{"Type":"Backdrop","Limit":3,"MinWidth":1280},{"Type":"Screenshot","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":["TheMovieDb"],"DisabledImageFetchers":[],"ImageFetcherOrder":["TheMovieDb","TheTVDB"]}],"EnableAutomaticRestart":false,"SkipDeserializationForBasicTypes":false,"ServerName":"MediaBrowserServer","WanDdns":"","UICulture":"en-us","SaveMetadataHidden":false,"ContentTypes":[],"RemoteClientBitrateLimit":7000000,"SharingExpirationDays":30,"SchemaVersion":109,"EnableAnonymousUsageReporting":true,"EnableFolderView":false,"EnableGroupingIntoCollections":false,"DisplaySpecialsWithinSeasons":true,"DisplayCollectionsView":true,"LocalNetworkAddresses":[],"CodecsUsed":["libmp3lame","libx264","aac -strict experimental","copy","ac3"],"EnableChannelView":false,"EnableExternalContentInSuggestions":false,"ImageExtractionTimeoutMs":0,"PathSubstitutions":[],"EnableSimpleArtistDetection":true,"EnableDebugLevelLogging":false,"EnableAutoUpdate":true,"LogFileRetentionDays":3,"RunAtStartup":false,"IsStartupWizardCompleted":true,"CachePath":""}
2017-09-22 16:22:36.422 Info App: Loading MovieThemeSongs, Version=1.1.5.2, Culture=neutral, PublicKeyToken=null
2017-09-22 16:22:36.422 Info App: Loading MediaBrowser.Api, Version=3.2.32.0, Culture=neutral, PublicKeyToken=null
2017-09-22 16:22:36.422 Info App: Loading MediaBrowser.WebDashboard, Version=3.2.32.0, Culture=neutral, PublicKeyToken=null
2017-09-22 16:22:36.422 Info App: Loading MediaBrowser.Model, Version=3.2.32.0, Culture=neutral, PublicKeyToken=null
2017-09-22 16:22:36.422 Info App: Loading MediaBrowser.Common, Version=3.2.32.0, Culture=neutral, PublicKeyToken=null
2017-09-22 16:22:36.422 Info App: Loading MediaBrowser.Controller, Version=3.2.32.0, Culture=neutral, PublicKeyToken=null
2017-09-22 16:22:36.422 Info App: Loading MediaBrowser.Providers, Version=3.2.32.0, Culture=neutral, PublicKeyToken=null
2017-09-22 16:22:36.422 Info App: Loading Emby.Photos, Version=3.2.32.0, Culture=neutral, PublicKeyToken=null
2017-09-22 16:22:36.422 Info App: Loading Emby.Server.Implementations, Version=3.2.32.0, Culture=neutral, PublicKeyToken=null
2017-09-22 16:22:36.422 Info App: Loading Emby.Server.MediaEncoding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
2017-09-22 16:22:36.422 Info App: Loading Emby.Dlna, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
2017-09-22 16:22:36.422 Info App: Loading MediaBrowser.LocalMetadata, Version=3.2.32.0, Culture=neutral, PublicKeyToken=null
2017-09-22 16:22:36.422 Info App: Loading MediaBrowser.XbmcMetadata, Version=3.2.32.0, Culture=neutral, PublicKeyToken=null
2017-09-22 16:22:36.422 Info App: Loading Emby.Server.CinemaMode, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
2017-09-22 16:22:36.422 Info App: Loading Emby.Server.Connect, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
2017-09-22 16:22:36.422 Info App: Loading Emby.Server.Sync, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
2017-09-22 16:22:36.422 Info App: Loading MediaBrowser.ServerApplication, Version=3.2.32.0, Culture=neutral, PublicKeyToken=null
2017-09-22 16:22:36.625 Info SqliteUserRepository: Sqlite version: 3.20.1
2017-09-22 16:22:36.625 Info SqliteUserRepository: Sqlite compiler options: COMPILER=msvc-1500,ENABLE_COLUMN_METADATA,ENABLE_DBSTAT_VTAB,ENABLE_FTS3,ENABLE_FTS4,ENABLE_FTS5,ENABLE_JSON1,ENABLE_RTREE,MAX_TRIGGER_DEPTH=100,TEMP_STORE=1,THREADSAFE=1
2017-09-22 16:22:36.657 Info SqliteUserRepository: Default journal_mode for C:\Users\Administrator\AppData\Roaming\Emby-Server\data\users.db is wal
2017-09-22 16:22:36.657 Info SqliteUserRepository: PRAGMA synchronous=1
2017-09-22 16:22:36.672 Info AuthenticationRepository: Default journal_mode for C:\Users\Administrator\AppData\Roaming\Emby-Server\data\authentication.db is wal
2017-09-22 16:22:36.672 Info AuthenticationRepository: PRAGMA synchronous=1
2017-09-22 16:22:36.922 Info SharingRepository: Default journal_mode for C:\Users\Administrator\AppData\Roaming\Emby-Server\data\shares.db is wal
2017-09-22 16:22:36.922 Info SharingRepository: PRAGMA synchronous=1
2017-09-22 16:22:36.922 Info ActivityRepository: Default journal_mode for C:\Users\Administrator\AppData\Roaming\Emby-Server\data\activitylog.db is wal
2017-09-22 16:22:36.922 Info ActivityRepository: PRAGMA synchronous=1
2017-09-22 16:22:36.922 Info SqliteDisplayPreferencesRepository: Default journal_mode for C:\Users\Administrator\AppData\Roaming\Emby-Server\data\displaypreferences.db is wal
2017-09-22 16:22:36.922 Info SqliteDisplayPreferencesRepository: PRAGMA synchronous=1
2017-09-22 16:22:36.922 Info SqliteItemRepository: Default journal_mode for C:\Users\Administrator\AppData\Roaming\Emby-Server\data\library.db is wal
2017-09-22 16:22:36.922 Info SqliteItemRepository: PRAGMA synchronous=1
2017-09-22 16:22:36.938 Info SqliteNotificationsRepository: Default journal_mode for C:\Users\Administrator\AppData\Roaming\Emby-Server\data\notifications.db is wal
2017-09-22 16:22:36.938 Info SqliteNotificationsRepository: PRAGMA synchronous=1
2017-09-22 16:22:37.219 Info HttpServer: Calling ServiceStack AppHost.Init
2017-09-22 16:22:37.672 Info ServerManager: Loading Http Server
2017-09-22 16:22:37.672 Info HttpServer: Adding HttpListener prefix http://+:8096/
2017-09-22 16:22:37.672 Info HttpServer: Adding HttpListener prefix https://+:8920/
2017-09-22 16:22:37.891 Info Skia: SkiaSharp version: 1.58.0.0
2017-09-22 16:22:37.922 Info TaskManager: Daily trigger for Chapter image extraction set to fire at 9/23/2017 2:00:00 AM, which is 577.367952268333 minutes from now.
2017-09-22 16:22:37.938 Info TaskManager: Daily trigger for Start new log file set to fire at 9/23/2017 12:00:00 AM, which is 457.367691848333 minutes from now.
2017-09-22 16:22:37.938 Info MediaEncoder: FFMpeg: C:\Users\Administrator\AppData\Roaming\Emby-Server\ffmpeg\20160410\ffmpeg.exe
2017-09-22 16:22:37.938 Info MediaEncoder: FFProbe: C:\Users\Administrator\AppData\Roaming\Emby-Server\ffmpeg\20160410\ffprobe.exe
2017-09-22 16:22:37.938 Info MediaEncoder: Validating media encoder at C:\Users\Administrator\AppData\Roaming\Emby-Server\ffmpeg\20160410\ffmpeg.exe
2017-09-22 16:22:37.938 Info MediaEncoder: Running C:\Users\Administrator\AppData\Roaming\Emby-Server\ffmpeg\20160410\ffmpeg.exe -decoders
2017-09-22 16:22:37.969 Info MediaEncoder: Decoder available: mpeg2video
2017-09-22 16:22:37.969 Info MediaEncoder: Decoder available: h264_qsv
2017-09-22 16:22:37.969 Info MediaEncoder: Decoder available: hevc_qsv
2017-09-22 16:22:37.969 Info MediaEncoder: Decoder available: mpeg2_qsv
2017-09-22 16:22:37.969 Info MediaEncoder: Decoder available: vc1_qsv
2017-09-22 16:22:37.969 Info MediaEncoder: Decoder available: ac3
2017-09-22 16:22:37.969 Info MediaEncoder: Decoder available: aac
2017-09-22 16:22:37.969 Info MediaEncoder: Decoder available: mp3
2017-09-22 16:22:37.969 Info MediaEncoder: Decoder available: h264
2017-09-22 16:22:37.969 Info MediaEncoder: Decoder available: hevc
2017-09-22 16:22:37.969 Info MediaEncoder: Running C:\Users\Administrator\AppData\Roaming\Emby-Server\ffmpeg\20160410\ffmpeg.exe -encoders
2017-09-22 16:22:37.969 Info HttpServer: HTTP GET http://10.0.0.214:8096/emby/System/Info. UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36
2017-09-22 16:22:37.985 Info MediaEncoder: Encoder available: libx264
2017-09-22 16:22:37.985 Info MediaEncoder: Encoder available: libx265
2017-09-22 16:22:37.985 Info MediaEncoder: Encoder available: mpeg4
2017-09-22 16:22:37.985 Info MediaEncoder: Encoder available: msmpeg4
2017-09-22 16:22:37.985 Info MediaEncoder: Encoder available: libvpx
2017-09-22 16:22:37.985 Info MediaEncoder: Encoder available: libvpx-vp9
2017-09-22 16:22:37.985 Info MediaEncoder: Encoder available: aac
2017-09-22 16:22:37.985 Info MediaEncoder: Encoder available: libmp3lame
2017-09-22 16:22:37.985 Info MediaEncoder: Encoder available: libopus
2017-09-22 16:22:37.985 Info MediaEncoder: Encoder available: libvorbis
2017-09-22 16:22:37.985 Info MediaEncoder: Encoder available: srt
2017-09-22 16:22:37.985 Info MediaEncoder: Encoder available: h264_qsv
2017-09-22 16:22:37.985 Info MediaEncoder: Encoder available: hevc_qsv
2017-09-22 16:22:37.985 Info MediaEncoder: Encoder available: libwebp
2017-09-22 16:22:37.985 Info MediaEncoder: Encoder validation complete
Happy2Play
Posted (edited)

Can you shutdown your server and delete this folder "C:\Users\Administrator\AppData\Roaming\Emby-Server\ffmpeg\20160410".  Then relaunch server it will get the newest version and try to refresh that media again.

Edited by Happy2Play
  • Solution
Posted (edited)

In the ffmpeg folder there actually was already a 20170308 folder, but it was empty. I deleted both folders and it redownload 20170308 with the .exes after a server restart.

 

Anyway, I just did a refresh and it now it correctly says Interlaced: Yes

 

Nice trick, thank you!

Edited by Xorp
  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...