Jump to content


Photo

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


  • Please log in to reply
14 replies to this topic

#1 mbo OFFLINE  

mbo

    Advanced Member

  • Members
  • 71 posts
  • Local time: 08:51 AM

Posted 29 March 2020 - 12:55 PM

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



#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156731 posts
  • Local time: 02:51 AM

Posted 29 March 2020 - 02:27 PM

Hi there @mbo, let's look at an example. Please attach the information requested in how to report a problem. Thanks !



#3 mbo OFFLINE  

mbo

    Advanced Member

  • Members
  • 71 posts
  • Local time: 08:51 AM

Posted 29 March 2020 - 03:14 PM

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!

 

Attached Files



#4 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156731 posts
  • Local time: 02:51 AM

Posted 29 March 2020 - 03:16 PM

@SamES

#5 SamES OFFLINE  

SamES

    Advanced Member

  • Members
  • 1275 posts
  • Local time: 04:51 PM

Posted 30 March 2020 - 07:57 AM

@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/c...65/#entry863829

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, 30 March 2020 - 08:00 AM.


#6 mbo OFFLINE  

mbo

    Advanced Member

  • Members
  • 71 posts
  • Local time: 08:51 AM

Posted 30 March 2020 - 08:08 AM

@SamES The Emby server reported "Direct streaming"



#7 SamES OFFLINE  

SamES

    Advanced Member

  • Members
  • 1275 posts
  • Local time: 04:51 PM

Posted 30 March 2020 - 08:10 AM

@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



#8 SamES OFFLINE  

SamES

    Advanced Member

  • Members
  • 1275 posts
  • Local time: 04:51 PM

Posted 30 March 2020 - 08:11 AM

@SamES The Emby server reported "Direct streaming"

Correct.



#9 mbo OFFLINE  

mbo

    Advanced Member

  • Members
  • 71 posts
  • Local time: 08:51 AM

Posted 30 March 2020 - 03:52 PM

@SamES

 

I tried to collect all relevant logs and merge them into one file. UUIDs for log filenames are somehow not cool ;)

 

Thank you!

Attached Files



#10 SamES OFFLINE  

SamES

    Advanced Member

  • Members
  • 1275 posts
  • Local time: 04:51 PM

Posted 31 March 2020 - 07:53 AM

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?

 

Attached File  xx00.txt   541.86KB   1 downloads Attached File  xx01.txt   32.58KB   1 downloads


Edited by SamES, 31 March 2020 - 07:53 AM.


#11 mbo OFFLINE  

mbo

    Advanced Member

  • Members
  • 71 posts
  • Local time: 08:51 AM

Posted 31 March 2020 - 07:56 AM

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



#12 mbo OFFLINE  

mbo

    Advanced Member

  • Members
  • 71 posts
  • Local time: 08:51 AM

Posted 31 March 2020 - 12:50 PM

@SamES Fresh and full logs - only movie played. This should help and be much clearer.

 

Thank you!

Attached Files

  • Attached File  emby.zip   188.56KB   2 downloads

Edited by Luke, 31 March 2020 - 12:54 PM.


#13 softworkz OFFLINE  

softworkz

    Advanced Member

  • Developers
  • 2696 posts
  • Local time: 08:51 AM

Posted 01 April 2020 - 03:24 AM

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.



#14 SamES OFFLINE  

SamES

    Advanced Member

  • Members
  • 1275 posts
  • Local time: 04:51 PM

Posted 01 April 2020 - 06:39 AM

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.



#15 SamES OFFLINE  

SamES

    Advanced Member

  • Members
  • 1275 posts
  • Local time: 04:51 PM

Posted 01 April 2020 - 06:52 AM

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






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users