UT5eDL9 0 Posted May 2, 2019 Posted May 2, 2019 Hey everyone, I have one problem with certain mkv files which I cannot figure out at all and it is driving me insane. It seems like some files are crashing the ffmpeg instanace but I cannot see a pattern from the logs and also not when compairing said mkv files to other mkv files that are playing fine. Here is an error log. Can you please tell me, why emby thinks it needs to transcode the stream? 2019-05-02 20:10:02.557 Info App: ProcessRun 'StreamTranscode 08ea69' Execute: /opt/emby-server/bin/ffmpeg -f matroska -i file:"/mnt/PLEX/Movies/._MyFilm.mkv" -map_metadata -1 -map_chapters -1 -threads 1 -sn -c:v:0 copy -vsync -1 -codec:a:0 libmp3lame -disposition:a:0 default -ac:a:0 2 -ab:a:0 192000 -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3 -individual_header_trailer 0 -segment_format mpegts -segment_write_temp 1 -segment_list_entry_prefix "hls/fc9db9beab810ec3be9507fe6ace770d/" -segment_list_type m3u8 -segment_start_number 0 -segment_list "/var/lib/emby/transcoding-temp/fc9db9beab810ec3be9507fe6ace770d.m3u8" -y "/var/lib/emby/transcoding-temp/fc9db9beab810ec3be9507fe6ace770d%d.ts" 2019-05-02 20:10:02.583 Info App: ProcessRun 'StreamTranscode 08ea69' Started. 2019-05-02 20:10:03.067 Info App: ProcessRun 'StreamTranscode 08ea69' Process exited with code 1 2019-05-02 20:10:03.101 Error HttpServer: Error processing request *** Error Report *** Version: 4.1.0.26 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_armhf.deb Operating system: Unix 4.14.98.7 64-Bit OS: False 64-Bit Process: False User Interactive: True Runtime: file:///opt/emby-server/system/System.Private.CoreLib.dll Processor count: 4 Program data path: /var/lib/emby Application directory: /opt/emby-server/system System.Exception: System.Exception: Error starting ffmpeg at Emby.Server.MediaEncoding.Api.BaseStreamingService.StartFfMpeg(StreamState state, String outputPath, EncodingOptions encodingOptions, EncodingDiagnosticOptions encodingDiagnosticOptions, CancellationTokenSource cancellationTokenSource, Boolean acquireResources) at Emby.Server.MediaEncoding.Api.Hls.BaseHlsService.ProcessRequest(StreamRequest request) at Emby.Server.Implementations.Services.ServiceExecGeneral.GetTaskResult(Task task) at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, ILogger logger, String operationName, CancellationToken cancellationToken) at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken) Source: Emby.Server.MediaEncoding TargetSite: Void MoveNext()
UT5eDL9 0 Posted May 2, 2019 Author Posted May 2, 2019 This happened from the chrome player. But it seems to also be happening from the iOS/Fire TV App. Another issue with these movies is that emby cannot correctly recognize the video and audio streams. Emby always lists them under "Additional Parts"
UT5eDL9 0 Posted May 3, 2019 Author Posted May 3, 2019 It looks like ffmpeg could not read the mkv files I packaged with MKVToolNix. I repackaged the films to MP4/M4V and it works now. Thanks for your replies!
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