Marv 9 Posted April 12, 2022 Posted April 12, 2022 Hi, I have a single movie in my library for which no media information is shown by emby. All other movies look like this: I have no idea what is causing this as I got 800+ movies in my library and this is the first one with this issue When trying to playback the movie I get: "Playback Error: No compatible streams are currently available" Playback works fine with Kodi and other media players. Someone got an idea whats causing this?
Luke 42078 Posted April 12, 2022 Posted April 12, 2022 Hi, you could try refreshing the metadata on it and see if that helps pull in media info. If it doesn't, then let's look at an example: Thanks.
Marv 9 Posted April 13, 2022 Author Posted April 13, 2022 Metadata refresh did not work. Here is my debug log What I recognized is the ffprobe error with the following lines : [dvdsub @ 0x79b280] [IMGUTILS @ 0x7ffc7c665940] Picture size 0x0 is invalid Could not open codec for input stream 8
Luke 42078 Posted April 13, 2022 Posted April 13, 2022 Can you provide a sample video for testing? Thanks.
Luke 42078 Posted April 13, 2022 Posted April 13, 2022 Did you make sure the problem occurs with the sample?
Marv 9 Posted April 14, 2022 Author Posted April 14, 2022 (edited) yes, same problem as before unfortunately. I removed the entire movie folder from the scanned library forders and then readded it with the sample and did another scan. Movie (sample) is showing up without media info and playback is not possible Edited April 14, 2022 by Marv
Happy2Play 9780 Posted April 14, 2022 Posted April 14, 2022 The file throws an error in the server log. Spoiler 2022-04-14 03:37:54.526 Info MediaProbeManager: ProcessRun 'ffprobe' Process exited with code 1 - Failed 2022-04-14 03:37:54.528 Error App: Error in ffprobe *** Error Report *** Version: 4.7.0.34 Command line: C:\Users\Media\AppData\Roaming\Emby-Server\system\EmbyServer.dll Operating system: Microsoft Windows 10.0.22593 Framework: .NET 6.0.2 OS/Process: x64/x64 Runtime: C:/Users/Media/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll Processor count: 8 Data path: C:\Users\Media\AppData\Roaming\Emby-Server\programdata Application path: C:\Users\Media\AppData\Roaming\Emby-Server\system System.Exception: System.Exception: ffprobe failed for file:"C:\Users\Media\Desktop\Videos\Photo\Misc\s_ample.mkv" - streams and format are both null: { ffprobe version 5.0.0-emby_2022_04_10-g463c71b3b3+1837 Copyright (c) 2007-2022 the FFmpeg developers and softworkz for Emby LLC built with gcc 10.3.0 (Rev5, Built by MSYS2 project) [dvdsub @ 00000178626624c0] [IMGUTILS @ 00000035edbff040] Picture size 0x0 is invalid [matroska,webm @ 0000017862640480] Failed to open codec in avformat_find_stream_info [dvdsub @ 0000017862663080] [IMGUTILS @ 00000035edbff040] Picture size 0x0 is invalid [matroska,webm @ 0000017862640480] Failed to open codec in avformat_find_stream_info [dvdsub @ 0000017862663d00] [IMGUTILS @ 00000035edbff040] Picture size 0x0 is invalid [matroska,webm @ 0000017862640480] Failed to open codec in avformat_find_stream_info Input #0, matroska,webm, from 'file:C:\Users\Media\Desktop\Videos\Photo\Misc\s_ample.mkv': Metadata: title : Gravity (2013) - Diamond Luxe Edition - HD-Source.to encoder : libebml v1.4.2 + libmatroska v1.6.3 creation_time : 2022-04-13T14:09:50.000000Z Duration: 00:00:13.08, start: 0.041000, bitrate: 23656 kb/s Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], Level 41, 23.98 fps, 23.98 tbr, 1k tbn, Start-Time 0.041s Metadata: BPS : 21600665 DURATION : 00:00:10.010000000 NUMBER_OF_FRAMES: 240 NUMBER_OF_BYTES : 27027833 Stream #0:1(ger): Audio: dts (DTS-HD MA), 48000 Hz, 5.1(side), s32p (24 bit), Start-Time 0.042s (default) Metadata: title : DTS-HD MA dubbed by Pate BPS : 2035699 DURATION : 00:00:10.016000000 NUMBER_OF_FRAMES: 939 NUMBER_OF_BYTES : 2548696 Stream #0:2(ger): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s, Start-Time 0.053s Metadata: title : Dolby Digital Audio 5.1 BPS : 640000 DURATION : 00:00:10.016000000 NUMBER_OF_FRAMES: 313 NUMBER_OF_BYTES : 801280 Stream #0:3(ger): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s, Start-Time 0.053s Metadata: title : DD 5.1 448 kbps (Silent Space Mix) BPS : 448000 DURATION : 00:00:10.016000000 NUMBER_OF_FRAMES: 313 NUMBER_OF_BYTES : 560896 Stream #0:4(eng): Audio: truehd, 48000 Hz, 7.1, s32 (24 bit), Start-Time 0.042s Metadata: title : Dolby Atmos Audio 7.1 / Dolby TrueHD Audio 7.1 BPS : 2834926 DURATION : 00:00:10.009000000 NUMBER_OF_FRAMES: 12011 NUMBER_OF_BYTES : 3546848 Stream #0:5(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s, Start-Time 0.053s Metadata: title : Dolby Digital Audio 5.1 BPS : 640000 DURATION : 00:00:10.016000000 NUMBER_OF_FRAMES: 313 NUMBER_OF_BYTES : 801280 Stream #0:6(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s, Start-Time 0.053s Metadata: title : DD 5.1 448 kbps (Silent Space Mix) BPS : 448000 DURATION : 00:00:10.016000000 NUMBER_OF_FRAMES: 313 NUMBER_OF_BYTES : 560896 Stream #0:7(eng): Audio: dts (DTS-HD MA), 48000 Hz, 5.1(side), s32p (24 bit), Start-Time 0.042s Metadata: title : DTS-HD Master Audio 5.1 / DTS Audio 5.1 BPS : 2124361 DURATION : 00:00:10.016000000 NUMBER_OF_FRAMES: 939 NUMBER_OF_BYTES : 2659700 Stream #0:8(ger): Subtitle: dvd_subtitle, Start-Time 0.041s (default) Metadata: title : VOB forced BPS : 0 DURATION : 00:00:00.000000000 NUMBER_OF_FRAMES: 0 NUMBER_OF_BYTES : 0 Stream #0:9(ger): Subtitle: dvd_subtitle, Start-Time 0.041s Metadata: title : VOB full BPS : 27594 DURATION : 00:00:12.792000000 NUMBER_OF_FRAMES: 4 NUMBER_OF_BYTES : 44123 Stream #0:10(eng): Subtitle: dvd_subtitle, Start-Time 0.041s Metadata: title : VOB full BPS : 28452 DURATION : 00:00:12.792000000 NUMBER_OF_FRAMES: 4 NUMBER_OF_BYTES : 45495 [dvdsub @ 00000178626fb740] [IMGUTILS @ 00000035edbff2c0] Picture size 0x0 is invalid Could not open codec for input stream 8 at Emby.Server.MediaEncoding.Probing.MediaProbeManager.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, String userAgent, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Boolean forceEnableLogging, CancellationToken cancellationToken) at Emby.Providers.MediaInfo.FFProbeVideoInfo.ProbeVideo[T](MetadataResult`1 metadataResult, MetadataRefreshOptions options, LibraryOptions libraryOptions, CancellationToken cancellationToken) at Emby.Providers.Manager.MetadataService`2.RunCustomProvider(ICustomMetadataProvider`1 provider, MetadataResult`1 itemResult, String logName, MetadataRefreshOptions options, LibraryOptions libraryOptions, RefreshResult refreshResult, CancellationToken cancellationToken) Source: Emby.Server.MediaEncoding TargetSite: Void MoveNext() 2022-04-14 03:37:54.528 Debug App: Running VideoXmlProvider for C:\Users\Media\Desktop\Videos\Photo\Misc\s_ample.mkv 2022-04-14 03:37:54.528 Debug App: VideoXmlProvider will fetch xml from C:\Users\Media\Desktop\Videos\Photo\Misc\s_ample.xml 2022-04-14 03:37:54.528 Debug App: VideoXmlProvider returned no metadata for C:\Users\Media\Desktop\Videos\Photo\Misc\s_ample.mkv 2022-04-14 03:37:54.528 Debug App: Running VideoNfoProvider for C:\Users\Media\Desktop\Videos\Photo\Misc\s_ample.mkv 2022-04-14 03:37:54.528 Debug App: VideoNfoProvider returned no metadata for C:\Users\Media\Desktop\Videos\Photo\Misc\s_ample.mkv 2022-04-14 03:37:54.529 Debug App: Running VideoImageProvider for C:\Users\Media\Desktop\Videos\Photo\Misc\s_ample.mkv 2022-04-14 03:37:54.530 Error App: Error in Screen Grabber *** Error Report *** Version: 4.7.0.34 Command line: C:\Users\Media\AppData\Roaming\Emby-Server\system\EmbyServer.dll Operating system: Microsoft Windows 10.0.22593 Framework: .NET 6.0.2 OS/Process: x64/x64 Runtime: C:/Users/Media/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll Processor count: 8 Data path: C:\Users\Media\AppData\Roaming\Emby-Server\programdata Application path: C:\Users\Media\AppData\Roaming\Emby-Server\system System.ArgumentNullException: System.ArgumentNullException: Value cannot be null. (Parameter 'source') at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument) at System.Linq.Enumerable.Where[TSource](IEnumerable`1 source, Func`2 predicate) at Emby.Providers.MediaInfo.VideoImageProvider.GetImage(BaseMetadataResult itemResult, ImageType type, CancellationToken cancellationToken) at Emby.Providers.Manager.ItemImageProvider.RefreshFromProvider(BaseMetadataResult itemResult, IDynamicImageProvider provider, Boolean providerReportsChanges, ImageRefreshOptions refreshOptions, Boolean replaceAllImages, TypeOptions savedOptions, LibraryOptions libraryOptions, List`1 downloadedImages, RefreshResult result, CancellationToken cancellationToken) Source: System.Linq TargetSite: Void ThrowArgumentNullException(System.Linq.ExceptionArgument)
softworkz 5066 Posted April 15, 2022 Posted April 15, 2022 (edited) Our ffprobe errors out, same does the official ffprobe. I'm afraid, but there's nothing we can do about it. There may be players which can play it, but ffmpeg fails processing it and that's our discriminating measure between working and non-working files. If you think that the file is valid and correct, please submit a bug report including a sample file to the ffmpeg bug tracker: https://trac.ffmpeg.org/ Thanks, sw Edited April 15, 2022 by softworkz
Happy2Play 9780 Posted April 15, 2022 Posted April 15, 2022 With a little trial and error something with the subtitles is broken, removing subtitles allows media info. Remuxed Sample from above leaving the video track added English TrueHD track Subs removed
softworkz 5066 Posted April 15, 2022 Posted April 15, 2022 (edited) No doubt that there are ways to "repair" the file. Also it would surely be possible to work on ffmpeg, enabling it to process the file. Same for most other corrupt and invalid files that are reported here. But what would we have created then after - let's say - a year of work? An ffmpeg version which can process files with specific errors! But it wouldn't be really more tolerant in a generic way. It would be a version that can read: Invalid File X from User1 with specific error A Invalid File Y from User2 with specific error B Invalid File Z from User3 with specific error C etc..... Why should we work on this and what would be the benefit? For a small amount of users, it would be about the ability to play one specific corrupt file that wouldn't play normally. There would be no benefit for the majority of users. But most likely the opposite, because allowing files to be off-spec in more and more details would go hand in hand with an increased risk of regressions. Edited April 15, 2022 by softworkz
Marv 9 Posted April 15, 2022 Author Posted April 15, 2022 ok, thanks. So I'll try removing the subtitles and see what happens.
Marv 9 Posted April 15, 2022 Author Posted April 15, 2022 removing subtitles worked. Don't know what was the problem though
softworkz 5066 Posted April 15, 2022 Posted April 15, 2022 Missing width/height information in the subtitle track alone shouldn't normally cause this. Maybe some incorrect/invalid data in the subtitle track.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now