Jump to content

movie stops before the actual end of the movie (x265)


mbo

Recommended Posts

Hello emby team,

 

i just hat the problem that a movie stoped just right before the real end of the movie. If you jump to the end you can just end the full movie without a problem. Could it be that the "stop movie" is calculated and that there is a small gap? I am talking about some seconds in my case with a 130 minutes movie. Normaly this is not a problem but from time to time there are outcuts at the end.

 

cheers

Martin

Link to comment
Share on other sites

Sorry - i was a little absent.

 

Happened with the latest LG emby app 1.0.24 and emby server 4.4.0.40. I dont have any logs of the app and attached the logs of the server.

 

Thank you!

 

emby.log

Link to comment
Share on other sites

SamES

@@Luke, this is hls streaming, probably converting TrueHD audio

 

For some reason ffmpeg terminated and deleted the stream while playback was in progress.  Segment 1358 can't be retrieved.

 

Any thoughts?  Full log in this post :  https://emby.media/community/index.php?/topic/84355-movie-stops-before-the-actual-end-of-the-movie-x265/&do=findComment&comment=863829

2020-03-29 01:21:22.502 Info HttpServer: HTTP GET http://emby.server.com:18096/videos/111464/hls1/main/1356.ts?DeviceId=TW96aWxsYS81LjAgKFdlYjBTOyBMaW51eC9TbWFydFRWKSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWUvNTMuMC4yNzg1LjM0IFNhZmFyaS81MzcuMzYgV2ViQXBwTWFuYWdlcnwxNTY4NTY1NDUxNDE5&MediaSourceId=825a51dce932fa658e918af07f10aade&PlaySessionId=2fe0e1268ded42b89dac487c24897a29&VideoCodec=h264,h265,hevc&AudioCodec=ac3,eac3,aac,mp3&VideoBitrate=119616000&AudioBitrate=384000&AudioStreamIndex=1&SubtitleMethod=Encode&TranscodingMaxAudioChannels=6&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=False&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&TranscodeReasons=AudioCodecNotSupported. Host=emby.server.com, User-Agent=Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.34 Safari/537.36 WebAppManager, icy-metadata=1, Range=bytes=0-, X-Forwarded-For=84.1.1.1
2020-03-29 01:21:23.100 Info HttpServer: HTTP Response 206 to 84.1.1.1. Time: 598ms. http://emby.server.com:18096/videos/111464/hls1/main/1356.ts?DeviceId=TW96aWxsYS81LjAgKFdlYjBTOyBMaW51eC9TbWFydFRWKSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWUvNTMuMC4yNzg1LjM0IFNhZmFyaS81MzcuMzYgV2ViQXBwTWFuYWdlcnwxNTY4NTY1NDUxNDE5&MediaSourceId=825a51dce932fa658e918af07f10aade&PlaySessionId=2fe0e1268ded42b89dac487c24897a29&VideoCodec=h264,h265,hevc&AudioCodec=ac3,eac3,aac,mp3&VideoBitrate=119616000&AudioBitrate=384000&AudioStreamIndex=1&SubtitleMethod=Encode&TranscodingMaxAudioChannels=6&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=False&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&TranscodeReasons=AudioCodecNotSupported
2020-03-29 01:21:24.040 Info HttpServer: HTTP GET http://emby.server.com:18096/videos/111464/hls1/main/1357.ts?DeviceId=TW96aWxsYS81LjAgKFdlYjBTOyBMaW51eC9TbWFydFRWKSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWUvNTMuMC4yNzg1LjM0IFNhZmFyaS81MzcuMzYgV2ViQXBwTWFuYWdlcnwxNTY4NTY1NDUxNDE5&MediaSourceId=825a51dce932fa658e918af07f10aade&PlaySessionId=2fe0e1268ded42b89dac487c24897a29&VideoCodec=h264,h265,hevc&AudioCodec=ac3,eac3,aac,mp3&VideoBitrate=119616000&AudioBitrate=384000&AudioStreamIndex=1&SubtitleMethod=Encode&TranscodingMaxAudioChannels=6&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=False&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&TranscodeReasons=AudioCodecNotSupported. Host=emby.server.com, User-Agent=Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.34 Safari/537.36 WebAppManager, icy-metadata=1, Range=bytes=0-, X-Forwarded-For=84.1.1.1
2020-03-29 01:21:24.082 Info HttpServer: HTTP Response 206 to 84.1.1.1. Time: 42ms. http://emby.server.com:18096/videos/111464/hls1/main/1357.ts?DeviceId=TW96aWxsYS81LjAgKFdlYjBTOyBMaW51eC9TbWFydFRWKSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWUvNTMuMC4yNzg1LjM0IFNhZmFyaS81MzcuMzYgV2ViQXBwTWFuYWdlcnwxNTY4NTY1NDUxNDE5&MediaSourceId=825a51dce932fa658e918af07f10aade&PlaySessionId=2fe0e1268ded42b89dac487c24897a29&VideoCodec=h264,h265,hevc&AudioCodec=ac3,eac3,aac,mp3&VideoBitrate=119616000&AudioBitrate=384000&AudioStreamIndex=1&SubtitleMethod=Encode&TranscodingMaxAudioChannels=6&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=False&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&TranscodeReasons=AudioCodecNotSupported
2020-03-29 01:21:25.026 Info HttpServer: HTTP GET http://emby.server.com:18096/videos/111464/hls1/main/1358.ts?DeviceId=TW96aWxsYS81LjAgKFdlYjBTOyBMaW51eC9TbWFydFRWKSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWUvNTMuMC4yNzg1LjM0IFNhZmFyaS81MzcuMzYgV2ViQXBwTWFuYWdlcnwxNTY4NTY1NDUxNDE5&MediaSourceId=825a51dce932fa658e918af07f10aade&PlaySessionId=2fe0e1268ded42b89dac487c24897a29&VideoCodec=h264,h265,hevc&AudioCodec=ac3,eac3,aac,mp3&VideoBitrate=119616000&AudioBitrate=384000&AudioStreamIndex=1&SubtitleMethod=Encode&TranscodingMaxAudioChannels=6&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=False&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&TranscodeReasons=AudioCodecNotSupported. Host=emby.server.com, User-Agent=Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.34 Safari/537.36 WebAppManager, icy-metadata=1, Range=bytes=0-, X-Forwarded-For=84.1.1.1
2020-03-29 01:21:25.039 Info DynamicHlsService: ProcessRun 'StreamTranscode 8d8713' Execute: /opt/emby-server/bin/ffmpeg -loglevel +timing -y -print_graphs_file /var/lib/emby/logs/ffmpeg-remux-8d871312-7910-49f2-a94c-f6c2f8d1ff2d_1graph.txt -copyts -start_at_zero -f matroska,webm -ss 02:15:48.000 -c:v:0 hevc -i "/data/media/videos/Movies/Fast & Furious: Hobbs & Shaw (2019)/Fast & Furious: Hobbs & Shaw (2019).mkv" -map 0:0 -map 0:1 -sn -c:v:0 copy -c:a:0 ac3 -ab:a:0 384000 -ar:a:0 48000 -ac:a:0 6 -metadata:s:a:0 language=ger -disposition:a:0 default -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -map_chapters -1 -segment_format mpegts -segment_list /var/lib/emby/transcoding-temp/B1F548.m3u8 -segment_list_type m3u8 -segment_time 6 -segment_time_delta -02:15:48.000 -segment_start_number 1358 -individual_header_trailer 0 -write_header_trailer 0 -segment_write_temp 1 "/var/lib/emby/transcoding-temp/B1F548_%d.ts"
2020-03-29 01:21:25.329 Info DynamicHlsService: AppendExtraLogData - Read graph file: /var/lib/emby/logs/ffmpeg-remux-8d871312-7910-49f2-a94c-f6c2f8d1ff2d_1graph.txt
2020-03-29 01:21:25.330 Info DynamicHlsService: AppendExtraLogData - Deserialized GraphData fileStream: {0:n} bytes Graph Count: 1
2020-03-29 01:21:25.330 Info DynamicHlsService: AppendExtraLogData - File Deleted
2020-03-29 01:21:25.330 Info DynamicHlsService: ProcessRun 'StreamTranscode 8d8713' Process exited with code 0
2020-03-29 01:21:25.362 Error HttpServer: Error processing request
	*** Error Report ***
	Version: 4.4.0.30
	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 5.0.0.37
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///opt/emby-server/system/System.Private.CoreLib.dll
	System.Environment.Version: 3.1.2
	Processor count: 24
	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, 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.ServiceController.GetTaskResult(Task task)
	   at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, RestPath restPath, String responseContentType, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken)
	Source: Emby.Server.MediaEncoding
	TargetSite: Void MoveNext()

2020-03-29 01:21:25.362 Info HttpServer: HTTP Response 500 to 84.1.1.1. Time: 336ms. http://emby.server.com:18096/videos/111464/hls1/main/1358.ts?DeviceId=TW96aWxsYS81LjAgKFdlYjBTOyBMaW51eC9TbWFydFRWKSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWUvNTMuMC4yNzg1LjM0IFNhZmFyaS81MzcuMzYgV2ViQXBwTWFuYWdlcnwxNTY4NTY1NDUxNDE5&MediaSourceId=825a51dce932fa658e918af07f10aade&PlaySessionId=2fe0e1268ded42b89dac487c24897a29&VideoCodec=h264,h265,hevc&AudioCodec=ac3,eac3,aac,mp3&VideoBitrate=119616000&AudioBitrate=384000&AudioStreamIndex=1&SubtitleMethod=Encode&TranscodingMaxAudioChannels=6&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=False&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&TranscodeReasons=AudioCodecNotSupported
2020-03-29 01:21:25.377 Info HttpServer: HTTP GET http://emby.server.com:18096/videos/111464/main.m3u8?DeviceId=TW96aWxsYS81LjAgKFdlYjBTOyBMaW51eC9TbWFydFRWKSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWUvNTMuMC4yNzg1LjM0IFNhZmFyaS81MzcuMzYgV2ViQXBwTWFuYWdlcnwxNTY4NTY1NDUxNDE5&MediaSourceId=825a51dce932fa658e918af07f10aade&PlaySessionId=2fe0e1268ded42b89dac487c24897a29&VideoCodec=h264,h265,hevc&AudioCodec=ac3,eac3,aac,mp3&VideoBitrate=119616000&AudioBitrate=384000&AudioStreamIndex=1&SubtitleMethod=Encode&TranscodingMaxAudioChannels=6&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=False&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&TranscodeReasons=AudioCodecNotSupported. Host=emby.server.com, User-Agent=Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.34 Safari/537.36 WebAppManager, Connection=close, icy-metadata=1, Range=bytes=0-, Cache-Control=max-age=0, Accept-Encoding=gzip, deflate, X-Forwarded-For=84.1.1.1
2020-03-29 01:21:25.384 Info HttpServer: HTTP Response 200 to 84.1.1.1. Time: 7ms. http://emby.server.com:18096/videos/111464/main.m3u8?DeviceId=TW96aWxsYS81LjAgKFdlYjBTOyBMaW51eC9TbWFydFRWKSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWUvNTMuMC4yNzg1LjM0IFNhZmFyaS81MzcuMzYgV2ViQXBwTWFuYWdlcnwxNTY4NTY1NDUxNDE5&MediaSourceId=825a51dce932fa658e918af07f10aade&PlaySessionId=2fe0e1268ded42b89dac487c24897a29&VideoCodec=h264,h265,hevc&AudioCodec=ac3,eac3,aac,mp3&VideoBitrate=119616000&AudioBitrate=384000&AudioStreamIndex=1&SubtitleMethod=Encode&TranscodingMaxAudioChannels=6&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=False&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&TranscodeReasons=AudioCodecNotSupported
2020-03-29 01:21:25.537 Info HttpServer: HTTP GET http://emby.server.com:18096/videos/111464/hls1/main/1358.ts?DeviceId=TW96aWxsYS81LjAgKFdlYjBTOyBMaW51eC9TbWFydFRWKSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWUvNTMuMC4yNzg1LjM0IFNhZmFyaS81MzcuMzYgV2ViQXBwTWFuYWdlcnwxNTY4NTY1NDUxNDE5&MediaSourceId=825a51dce932fa658e918af07f10aade&PlaySessionId=2fe0e1268ded42b89dac487c24897a29&VideoCodec=h264,h265,hevc&AudioCodec=ac3,eac3,aac,mp3&VideoBitrate=119616000&AudioBitrate=384000&AudioStreamIndex=1&SubtitleMethod=Encode&TranscodingMaxAudioChannels=6&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=False&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&TranscodeReasons=AudioCodecNotSupported. Host=emby.server.com, User-Agent=Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.34 Safari/537.36 WebAppManager, icy-metadata=1, Range=bytes=0-, X-Forwarded-For=84.1.1.1
2020-03-29 01:21:25.541 Error HttpServer: Error processing request
	*** Error Report ***
	Version: 4.4.0.30
	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 5.0.0.37
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///opt/emby-server/system/System.Private.CoreLib.dll
	System.Environment.Version: 3.1.2
	Processor count: 24
	Program data path: /var/lib/emby
	Application directory: /opt/emby-server/system
	System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.
	   at Emby.Server.MediaEncoding.Api.Hls.DynamicHlsService.GetSegmentResult(StreamState state, String playlistId, String variantPlaylistPath, ReadOnlyMemory`1 segmentPath, String segmentExtension, Int32 segmentIndex, TranscodingJob transcodingJob, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Api.Hls.DynamicHlsService.GetDynamicSegment(StreamRequest request, String playlistId, String segmentId, Int32 subtitleStreamIndex)
	   at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task)
	   at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, RestPath restPath, String responseContentType, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken)
	Source: Emby.Server.MediaEncoding
	TargetSite: Void MoveNext()

2020-03-29 01:21:25.541 Info HttpServer: HTTP Response 500 to 84.1.1.1. Time: 4ms. http://emby.server.com:18096/videos/111464/hls1/main/1358.ts?DeviceId=TW96aWxsYS81LjAgKFdlYjBTOyBMaW51eC9TbWFydFRWKSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWUvNTMuMC4yNzg1LjM0IFNhZmFyaS81MzcuMzYgV2ViQXBwTWFuYWdlcnwxNTY4NTY1NDUxNDE5&MediaSourceId=825a51dce932fa658e918af07f10aade&PlaySessionId=2fe0e1268ded42b89dac487c24897a29&VideoCodec=h264,h265,hevc&AudioCodec=ac3,eac3,aac,mp3&VideoBitrate=119616000&AudioBitrate=384000&AudioStreamIndex=1&SubtitleMethod=Encode&TranscodingMaxAudioChannels=6&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=False&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&TranscodeReasons=AudioCodecNotSupported
2020-03-29 01:21:28.539 Info HttpServer: HTTP GET http://emby.server.com:18096/videos/111464/master.m3u8?DeviceId=TW96aWxsYS81LjAgKFdlYjBTOyBMaW51eC9TbWFydFRWKSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWUvNTMuMC4yNzg1LjM0IFNhZmFyaS81MzcuMzYgV2ViQXBwTWFuYWdlcnwxNTY4NTY1NDUxNDE5&MediaSourceId=825a51dce932fa658e918af07f10aade&PlaySessionId=2fe0e1268ded42b89dac487c24897a29&VideoCodec=h264,h265,hevc&AudioCodec=ac3,eac3,aac,mp3&VideoBitrate=119616000&AudioBitrate=384000&AudioStreamIndex=1&SubtitleMethod=Encode&TranscodingMaxAudioChannels=6&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=False&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&TranscodeReasons=AudioCodecNotSupported. Host=emby.server.com, User-Agent=Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.34 Safari/537.36 WebAppManager, Connection=close, icy-metadata=1, Range=bytes=0-, Cache-Control=max-age=0, Accept-Encoding=gzip, deflate, X-Forwarded-For=84.1.1.1
2020-03-29 01:21:28.541 Info HttpServer: HTTP Response 200 to 84.1.1.1. Time: 2ms. http://emby.server.com:18096/videos/111464/master.m3u8?DeviceId=TW96aWxsYS81LjAgKFdlYjBTOyBMaW51eC9TbWFydFRWKSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWUvNTMuMC4yNzg1LjM0IFNhZmFyaS81MzcuMzYgV2ViQXBwTWFuYWdlcnwxNTY4NTY1NDUxNDE5&MediaSourceId=825a51dce932fa658e918af07f10aade&PlaySessionId=2fe0e1268ded42b89dac487c24897a29&VideoCodec=h264,h265,hevc&AudioCodec=ac3,eac3,aac,mp3&VideoBitrate=119616000&AudioBitrate=384000&AudioStreamIndex=1&SubtitleMethod=Encode&TranscodingMaxAudioChannels=6& 
 
Edited by SamES
Link to comment
Share on other sites

SamES

@@mbo, it's a bit hard to determine which playback event was the one that stopped early.  

 

Do you have the remux log for the playback session that stopped early?  You can probably work it out from the file time and the times in the file.  Thanks

Link to comment
Share on other sites

SamES

The source video looks like it should have 1358 segments after remuxing.

 

The initial remux process (file xx00) started at 23:04 and stopped at 23:07:31 after creating 1311 segments.  It reported [truehd @ 0x24d39c0] End of stream indicated.  Why did it terminate early?

 

At 01:20:08, playback caught up and requested segment 1312.  A new remux session started (file xx01) at segment 1312, but stopped at segment 1343 with [truehd @ 0x2497880] End of stream indicated.  Why did it terminate again?

 

It looks like playback stopped was triggered by the client when this occured (approx 01:20:21).  Probably caused by running out of segments.

 

I can't be certain there is not a problem with the file, but I'm curious as to what might cause the remux process to terminate before all segments are created.

 

@@softworkz / @@Luke?

 

xx00.txt xx01.txt

Edited by SamES
Link to comment
Share on other sites

I will delete all logs and restart emby server and play the file without any pauses etc. This should help getting a better overview.

Link to comment
Share on other sites

The assumptions above are incorrect: It's not the client or server stopping the transcoding. In this case you would see something like "[q] command received" in the log.

 

Instead, it is what the logs say:

[truehd @ 0x24d39c0] End of stream indicated.

That means, ffmpeg stops because it thinks that the TrueHD stream is ending.

 

As long as this doesn't occur with many other files as well, I would assume that the TrueHD stream is invalid.

Link to comment
Share on other sites

SamES

The assumptions above are incorrect: It's not the client or server stopping the transcoding. In this case you would see something like "[q] command received" in the log.

 

Instead, it is what the logs say:

[truehd @ 0x24d39c0] End of stream indicated.

That means, ffmpeg stops because it thinks that the TrueHD stream is ending.

 

As long as this doesn't occur with many other files as well, I would assume that the TrueHD stream is invalid.

 

Correct, the client is not stopping the process, but the client stops as a consequence of running out of segments.  I probably worded that badly.

 

I did suspect that the TrueHD stream appeared to be the problem, thanks for confirming.

Link to comment
Share on other sites

SamES

@@mbo, can you provide the output from mediainfo for this file?  Do you know what program was used to create this file?

Link to comment
Share on other sites

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...