Jump to content
chrismallia

Resuming playback for some media results in a crash

Recommended Posts

chrismallia

I have ran into this with several media files, the playback plays fine but if I stop playing then try resuming  from where I left of then the  media does not start,   all it does is crash  the  player, till I close the browser, resuming from beginning then plays fine, skipping seens  also works fine, its just the resume  function.

 

example file

General
Unique ID                                : 110718013528066903303817037335651382891 (0x534B83860430C92CC8C7FD6B6777766B)
Complete name                            : \\192.168.1.2\storage\Media\Series & TV Shows\Homeland\Homeland Season 8\Homeland - 8x01 - Deception Indicated.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 300 MiB
Duration                                 : 59 min 22 s
Overall bit rate                         : 706 kb/s
Movie name                               : MiNX - Homeland.S08E01.720p.WEB.x265-MiNX
Writing application                      : Lavf58.20.100
Writing library                          : Lavf58.20.100
Comment                                  : MiNX - Small HD episodes
ErrorDetectionType                       : Per level 1

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main@L3.1@[member="Main"]
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 59 min 22 s
Bit rate                                 : 1 730 kb/s
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Bits/(Pixel*Frame)                       : 0.078
Stream size                              : 735 MiB
Title                                    : MiNX - Small HD episodes
Writing library                          : x265 3.1.2+1-76650bab70f9:[Linux][GCC 8.3.0][64 bit] 8bit+10bit+12bit
Encoding settings                        : cpuid=1049583 / frame-threads=3 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=1280x720 / interlace=0 / total-frames=0 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=2 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=23 / keyint=250 / gop-lookahead=0 / bframes=4 / b-adapt=0 / b-pyramid / bframe-bias=0 / rc-lookahead=15 / lookahead-slices=4 / scenecut=40 / radl=0 / no-splice / no-intra-refresh / ctu=64 / min-cu-size=8 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=0 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=2 / limit-refs=3 / no-limit-modes / me=1 / subme=2 / merange=57 / temporal-mvp / weightp / no-weightb / no-analyze-src-pics / deblock=0:0 / sao / no-sao-non-deblock / rd=2 / early-skip / rskip / fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=0.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=24.1 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / ipratio=1.40 / pbratio=1.30 / aq-mode=2 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=1 / overscan=0 / videoformat=5 / range=0 / colorprim=2 / transfer=2 / colormatrix=2 / chromaloc=0 / display-window=0cll=0,0 / min-luma=0 / max-luma=255 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / no-opt-cu-delta-qp / no-aq-motion / no-hdr / no-hdr-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=5 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=0 / refine-ctu-distortion=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-analysis-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei / no-hevc-aq / no-svt / no-field / qp-adaptation-range=1.00
Default                                  : Yes
Forced                                   : No

Audio
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : A_AAC-2
Duration                                 : 59 min 22 s
Bit rate                                 : 256 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 109 MiB (36%)
Title                                    : MiNX - Small HD episodes
Writing library                          : Lavc58.35.100 aac
Default                                  : Yes
Forced                                   : No


I could also send the file if requested.

 

Thanks

Share this post


Link to post
Share on other sites
Luke

Hi there, can you please attach the emby server and ffmpeg log? thanks !

Share this post


Link to post
Share on other sites
chrismallia

Hi Luke,

Thanks for replying.

Here are the Logs .

 

logs.zip

Share this post


Link to post
Share on other sites
chrismallia

Anything  please?

Thanks

Share this post


Link to post
Share on other sites
chrismallia

I managed to narrow down to what triggers the problem, Its files that are HEVC, all files that are HEVC do not resume playback .  Please have a look at this as its really annoying. 

Share this post


Link to post
Share on other sites
Luke

I noticed you customized some server transcoding settings. In situations like these, the first thing i would do is try setting them back to default:

>>>>>  Non-Default Encoder Parameters
Warning EncoderParametersH264LibX.Preset: Original: veryfast Actual: ultrafast

Please let us know if this helps. Thanks.

Share this post


Link to post
Share on other sites
chrismallia

Thanks Luke.

I reset but still same problem but I also found that this only happens in chrome(with HEVC), in Microsoft Edge it plays from where I left it fine.

Logs.

 

Thanks 

emby server.txt

ffmpeg.txt

Share this post


Link to post
Share on other sites
Luke

Ok thanks. @@softworkz will be looking at this.

Share this post


Link to post
Share on other sites
softworkz

Thanks Luke.

I reset but still same problem but I also found that this only happens in chrome(with HEVC), in Microsoft Edge it plays from where I left it fine.

Logs.

 

Thanks 

 

@chrismallia  - Could you please press F12 in Chrome before starting playback. There, go to "Console" clear the log "the circle with a diagnoal line", start playback and see if any errors are logged there.

 

Thanks

Share this post


Link to post
Share on other sites
chrismallia
Posted (edited)

@softworkz

Thanks for the reply. Here is the output, it says video codec not supported 

playing url: https://emby.mydomain/videos/9081/master.m3u8?DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzgwLjAuMzk4Ny4xMzIgU2FmYXJpLzUzNy4zNnwxNTgzOTEyMzIwOTQ5&MediaSourceId=1bbae78c90136a229222fbe134bb1886&StartTimeTicks=4198406719&PlaySessionId=842d5f06c5e64d7bb4ca1cf0cea098a8&api_key=e567462063514ba484fd0334bbd28491&VideoCodec=h264&AudioCodec=mp3,aac&VideoBitrate=139808000&AudioBitrate=192000&AudioStreamIndex=1&TranscodingMaxAudioChannels=2&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline,high10&h264-level=52&TranscodeReasons=VideoCodecNotSupported
Edited by chrismallia

Share this post


Link to post
Share on other sites
Luke

 

@softworkz

Thanks for the reply. Here is the output, it says video codec not supported 

playing url: https://emby.mydomain/videos/9081/master.m3u8?DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzgwLjAuMzk4Ny4xMzIgU2FmYXJpLzUzNy4zNnwxNTgzOTEyMzIwOTQ5&MediaSourceId=1bbae78c90136a229222fbe134bb1886&StartTimeTicks=4198406719&PlaySessionId=842d5f06c5e64d7bb4ca1cf0cea098a8&api_key=e567462063514ba484fd0334bbd28491&VideoCodec=h264&AudioCodec=mp3,aac&VideoBitrate=139808000&AudioBitrate=192000&AudioStreamIndex=1&TranscodingMaxAudioChannels=2&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline,high10&h264-level=52&TranscodeReasons=VideoCodecNotSupported

 

That's not an error. He's asking for actual console errors. Can you supply the complete console contents? Thanks.

Share this post


Link to post
Share on other sites
chrismallia
Posted (edited)

Sorry Luke,  that is all the console put out, thats where everything crashes.

 

Tried again now I got the errir

 

DevTools failed to load SourceMap: Could not load content for https://mydomain/web/bower_components/hlsjs/dist/hls.min.js.map:HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

Edited by chrismallia

Share this post


Link to post
Share on other sites
Luke

Please attach the complete console contents from the time you loaded the web app until the time you encountered the problem. There will be much more than that. Thanks.

Share this post


Link to post
Share on other sites
chrismallia

Sorry.

Here it is, I replaced my actual domain with (mydomain), if needed otherwise I would send it to you by a  PM.

 

Thanks for all your support.

 

emby-1590474184905.log

Share this post


Link to post
Share on other sites
Luke

We'll look into this. Thanks for the feedback.

  • Like 1

Share this post


Link to post
Share on other sites
Luke

@chrismallia are you still having an issue with this?

Share this post


Link to post
Share on other sites
chrismallia
6 minutes ago, Luke said:

@chrismallia are you still having an issue with this?

Hi Luke,

Yes still having the same issue .

Thank 

Share this post


Link to post
Share on other sites
m1stertim

I am having what I believe is the same error.  Chrome hangs on resume playback until I restart the browser.  I have to play back the episode from the beginning and manually go to the correct time.  However, it is not only HEVC for me.  

Chrome 83.0.4103.116 (Official Build) (64-bit), Emby 4.4.3.0

 

chrome dev log.txt embyserver.txt

Share this post


Link to post
Share on other sites
Luke

As a test, can you try our online web app?

http://app.emby.media

Thanks.

Share this post


Link to post
Share on other sites
m1stertim

Web app is 10/10 for me so far; i haven't been able to get it to fail.  

Share this post


Link to post
Share on other sites
Luke

Thanks for the feedback. That's a good sign because your built-in web app will have all of the changes with the next release of the server.

Share this post


Link to post
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...