Jump to content

NOT playing till the end of file


Recommended Posts

Masterz
Posted (edited)

Last approx.month noticed one new issue (at least for me).

~90% of files playback stopping some minute(s) before the actual end of file.

 

F.e. at the end of attached log can see error about starting ffmpeg.

As well as playback stopped on 48:31 from 49:59.

After that episode appears as watched in list.

 

Google Chrome used for playback.

embyserver.txt

ffmpeg-transcode-cdd4952f-9afd-476f-8af9-783881ba16b7_1.txt

ffmpeg-transcode-b9571785-da8f-4a66-8dc6-26a73c2f7f09_1.txt

Edited by Masterz
Posted

Playback stops as 'preload/cache' progress bar reaches the end - see picture.

 

post-215087-0-09618000-1557820166_thumb.jpg

Posted

Hope my observation is correct - happens very rare if playing in local network, using same PC, same browser...

Happens often if playing through Internet, through port mapping.

  • 3 weeks later...
Posted

@@Masterz, thanks for reporting. We're looking into it.

  • 2 weeks later...
Posted

Still experiencing - frequently on Chrome, no one time using Emby Android APP.

Playback stops some minutes before end, episode become marked as 'played'.

Posted

Can you provide a copy of that avi file for testing? thanks.

  • 2 weeks later...
Posted

Just have an a good example.

embyserver.txt log file attached, look at 2019-07-05 13:18:22.

On browser side it looks like on capture.jpg

Media file is here.

 

 

Playback stopped with following:

 

2019-07-05 13:18:23.618 Info HttpServer: HTTP GET http://masterz.sytes.net:8096/emby/videos/51830/hls1/main/924.ts?DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgNi4xOyBXaW42NDsgeDY0KSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWUvNzQuMC4zNzI5LjE1NyBTYWZhcmkvNTM3LjM2fDE1NTgwNjk2MzQzNDg1&MediaSourceId=ad7d8d1c7bebb2b1e283542a3b0f33f8&PlaySessionId=d4d00acaf0054a7db4fa23ce9945dce1&VideoCodec=h264&AudioCodec=mp3,aac&VideoBitrate=3616000&AudioBitrate=384000&AudioStreamIndex=1&TranscodingMaxAudioChannels=2&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline,high10&h264-level=51&TranscodeReasons=ContainerNotSupported. Host=masterz.sytes.net, Connection=keep-alive, Origin=http://app.emby.media, User-Agent=Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36, Accept=*/*, Referer=http://app.emby.media/, Accept-Encoding=gzip, deflate, Accept-Language=en-GB,en;q=0.9,ru-RU;q=0.8,ru;q=0.7,lv-LV;q=0.6,lv;q=0.5,en-US;q=0.4
2019-07-05 13:18:23.619 Debug App: Starting transcoding because currentTranscodingIndex=null
2019-07-05 13:18:23.619 Debug App: KillTranscodingJob - JobId 7bb14f44-c1cd-43d7-b423-bbb1820b9e33 PlaySessionId d4d00acaf0054a7db4fa23ce9945dce1. Killing transcoding
2019-07-05 13:18:23.621 Debug App: CodecValidation: FindVideoDecoder - MediaType: mpeg4, Mode: 0
2019-07-05 13:18:23.621 Debug App: CodecValidation: FindVideoDecoder - Checking: 'Automatic software decoder' (Priority: 0)
2019-07-05 13:18:23.621 Debug App: CodecValidation: FindVideoDecoder - Check successful - selecting 'Automatic software decoder'
2019-07-05 13:18:23.621 Debug App: CodecValidation: FindVideoEncoder - Media: h264, UseHardwareCodecs: True, Mode: 0
2019-07-05 13:18:23.621 Debug App: CodecValidation: FindVideoEncoder - Checking: 'libx264 Software Encoder' (Priority: 0)
2019-07-05 13:18:23.621 Debug App: CodecValidation: Encoder supports input stream
2019-07-05 13:18:23.621 Debug App: CodecValidation: FindVideoEncoder - Check successful - selecting 'libx264 Software Encoder'
2019-07-05 13:18:23.630 Info App: ProcessRun 'StreamTranscode 554c88' Execute: C:\Users\IgMi\AppData\Roaming\Emby-Server\system\ffmpeg.exe -ss 00:46:12.000  -f avi -i file:"\\192.168.1.250\Torrents\The.Hot.Zone.S01.400p.WEB-DLRip.AMS\The.Hot.Zone.S01E01.400p.WEB-DLRip.AMS.avi" -threads 0 -map 0:0 -map 0:1 -map -0:s -c:v:0 libx264 -pix_fmt yuv420p  -maxrate 3616000 -bufsize 7232000 -preset veryfast -profile:v:0 high -level:v:0 4.1 -crf 23 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -g:v:0 72 -keyint_min:v:0 72 -sc_threshold:v:0 0  -copyts -vsync -1 -codec:a:0 libmp3lame -disposition:a:0 default -ac:a:0 2 -ab:a:0 192000 -af:a:0 "volume=2" -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_write_temp 1 -segment_list_type m3u8 -segment_start_number 924 -segment_list "H:\TEMP\Emby-Server\transcoding-temp\14099159b4145103e24b8efde47dec25.m3u8" -y "H:\TEMP\Emby-Server\transcoding-temp\14099159b4145103e24b8efde47dec25%d.ts"
2019-07-05 13:18:23.823 Info App: ProcessRun 'StreamTranscode 554c88' Started.
2019-07-05 13:18:24.756 Info App: ProcessRun 'StreamTranscode 554c88' Process exited with code 0
2019-07-05 13:18:24.811 Error HttpServer: Error processing request
*** Error Report ***
Version: 4.1.1.0
Command line: C:\Users\IgMi\AppData\Roaming\Emby-Server\system\EmbyServer.dll
Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
64-Bit OS: True
64-Bit Process: True
User Interactive: True
Runtime: file:///C:/Users/IgMi/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
Processor count: 4
Program data path: C:\Users\IgMi\AppData\Roaming\Emby-Server
Application directory: C:\Users\IgMi\AppData\Roaming\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.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()
 
 

embyserver.txt

post-215087-0-75651800-1562322428_thumb.jpg

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