chudak 23 Posted January 19, 2019 Share Posted January 19, 2019 Play a MKV video results in errors: https://snag.gy/XtWyM9.jpg 2019-01-19 10:19:36.365 Info App: ProcessRun 'StreamTranscode 3aeca7' Process exited with code 1 2019-01-19 10:19:36.401 Info App: ProcessRun 'StreamTranscode 3aeca7' Execute: /opt/emby-server/bin/ffmpeg -f matroska -i file:"/media/seagatecentral/Public/Videos/A.Star.Is.Born.2018.1080p.WEB-DL.H.264.AC3-EVO/9087faaa6b734305b6088e82337da8fb.mkv" -sub_charenc windows-1252 -i "/media/seagatecentral/Public/Videos/A.Star.Is.Born.2018.1080p.WEB-DL.H.264.AC3-EVO/9087faaa6b734305b6088e82337da8fb.en.srt" -sub_charenc utf-8 -i "/var/lib/emby/metadata/library/36/36f7628206bb72170778c3c99eeb1bf3/9087faaa6b734305b6088e82337da8fb.en.srt" -threads 0 -map 0:1 -map 0:0 -map -0:s -c:v:0 libx264 -pix_fmt yuv420p -maxrate 4941645 -bufsize 9883290 -preset veryfast -profile high -level 4.1 -crf 1 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames "expr:if(isnan(prev_forced_t),eq(t,t),gte(t,prev_forced_t+3))" -copyts -vsync -1 -codec:a:0 aac -strict experimental -metadata:s:a:0 language=eng -disposition:a:0 default -ac:a:0 2 -ab:a:0 128000 -f segment -max_delay 5000000 -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 -start_at_zero -segment_time 3 -individual_header_trailer 0 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 0 -segment_list "/var/lib/emby/transcoding-temp/85a9c9fd63c1ffba46306677a328a1b4.m3u8" -y "/var/lib/emby/transcoding-temp/85a9c9fd63c1ffba46306677a328a1b4%d.ts" -map 1:0 -codec:0 webvtt -f segment -segment_time 3 -segment_format webvtt -avoid_negative_ts disabled -write_empty_segments 1 -segment_list_type m3u8 -segment_start_number 0 -break_non_keyframes 1 -segment_list "/var/lib/emby/transcoding-temp/85a9c9fd63c1ffba46306677a328a1b4_s2.m3u8" -y "/var/lib/emby/transcoding-temp/85a9c9fd63c1ffba46306677a328a1b4_s2%d.vtt" -map 2:0 -codec:0 webvtt -f segment -segment_time 3 -segment_format webvtt -avoid_negative_ts disabled -write_empty_segments 1 -segment_list_type m3u8 -segment_start_number 0 -break_non_keyframes 1 -segment_list "/var/lib/emby/transcoding-temp/85a9c9fd63c1ffba46306677a328a1b4_s3.m3u8" -y "/var/lib/emby/transcoding-temp/85a9c9fd63c1ffba46306677a328a1b4_s3%d.vtt" 2019-01-19 10:19:36.431 Info App: ProcessRun 'StreamTranscode 3aeca7' Started. 2019-01-19 10:19:36.512 Info App: ProcessRun 'StreamTranscode 3aeca7' Process exited with code 1 2019-01-19 10:19:36.540 Error HttpServer: Error processing request *** Error Report *** Version: 4.0.0.2 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}_amd64.deb Operating system: Unix 4.15.0.43 64-Bit OS: True 64-Bit Process: True User Interactive: True 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, CancellationTokenSource cancellationTokenSource, Boolean acquireResources) at Emby.Server.MediaEncoding.Api.Hls.DynamicHlsService.GetDynamicSegment(StreamRequest request, String playlistId, String segmentId, Int32 subtitleStreamIndex) 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() at Emby.Server.MediaEncoding.Api.BaseStreamingService.StartFfMpeg(StreamState state, String outputPath, EncodingOptions encodingOptions, CancellationTokenSource cancellationTokenSource, Boolean acquireResources) at Emby.Server.MediaEncoding.Api.Hls.DynamicHlsService.GetDynamicSegment(StreamRequest request, String playlistId, String segmentId, Int32 subtitleStreamIndex) 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) 2019-01-19 10:19:36.540 Info HttpServer: HTTP Response 500 to 192.168.90.3. Time: 310ms. http://emby.domian.lan:8096/videos/14627/hls1/main/0.ts?DeviceId=TW96aWxsYS81LjAgKFgxMTsgVWJ1bnR1OyBMaW51eCB4ODZfNjQ7IHJ2OjY0LjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvNjQuMHwxNTQ3MzA2Mjk5Njky&MediaSourceId=36f7628206bb72170778c3c99eeb1bf3&VideoCodec=h264&AudioCodec=aac&VideoBitrate=139872000&AudioBitrate=128000&PlaySessionId=7995f030c7c84c8593e90b8c14c7f9fd&AudioStreamIndex=0&SubtitleStreamIndex=3&SubtitleMethod=Hls&TranscodingMaxAudioChannels=2&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&TranscodeReasons=ContainerNotSupported&allowVideoStreamCopy=false&allowAudioStreamCopy=false 2019-01-19 10:19:36.548 Info HttpServer: HTTP POST http://emby.domian.lan:8096/Sessions/Playing/Stopped. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:64.0) Gecko/20100101 Firefox/64.0 2019-01-19 10:19:36.549 Info SessionManager: Playback stopped reported by app Emby Mobile 4.0.0.2 playing XYZ. Stopped at 0 ms Link to comment Share on other sites More sharing options...
chudak 23 Posted January 19, 2019 Author Share Posted January 19, 2019 (edited) What is interesting that iOS and Android clients work fine .... so must be something about HTTP/S maybe Edited January 19, 2019 by chudak Link to comment Share on other sites More sharing options...
Luke 36998 Posted January 19, 2019 Share Posted January 19, 2019 Hi there, please attach the complete emby server and ffmpeg log. thanks. Link to comment Share on other sites More sharing options...
chudak 23 Posted January 19, 2019 Author Share Posted January 19, 2019 Hi there, please attach the complete emby server and ffmpeg log. thanks. Logs - shared privately Link to comment Share on other sites More sharing options...
Luke 36998 Posted January 19, 2019 Share Posted January 19, 2019 /media/seagatecentral/Public/Videos/A.Star.Is.Born.2018.1080p.WEB-DL.H.264.AC3-EVO/9087faaa6b734305b6088e82337da8fb.en.srt: Invalid data found when processing input Probably a mal-formed subtitle file is causing this. In any case, I've already solved this to not cause video to fail in this situation. We'll be getting this fix into a new stable release. Thanks. Link to comment Share on other sites More sharing options...
chudak 23 Posted January 19, 2019 Author Share Posted January 19, 2019 (edited) Ok cool I guess all my subtitles are like this from opensubtitles.org Edited January 19, 2019 by chudak Link to comment Share on other sites More sharing options...
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