Jump to content
Ghostsailor

No audio in browser, only when restarting the episode

Recommended Posts

Ghostsailor

Hey guys,

 

I am currently having an issue with audio playback while streaming over an internet browser. I tested it on Opera, Chrome, Firefox and Edge, it is all the same. My problem is that I get no audio in some episodes of a show e.g. The Mandalorian season 1 episode 4-8. When I start watching these I have absolutely no audio, but when I exit the playback and again start it at a different point in the episode the audio works fine. The strange thing is that this does not happen for episodes 1-3. They just work fine. Also this issue does not occur when I download the episodes and watch them with e.g. VLC player, neither do they make any problems with the Emby app for Android or iOS. I saw a thread where the same problem was solved with disabling Intel QuickSync but as this issue also occurs on AMD machines I do not assume it is the same solution for me aswell. I rotated the server logs, watched an episode that works fine and then watched an episode that has these issues. The files are attached. Thank you for your support.

FFMPEG Log.txt

Emby Log.txt

Share this post


Link to post
Share on other sites
Luke

Hi, so you're saying it's fine when you resume, but not when playing from the beginning?

Share this post


Link to post
Share on other sites
Ghostsailor

Yes, thats right.

- Start an episode -> no audio

- Exit the playback

- Resume playback -> audio works fine

Share this post


Link to post
Share on other sites
Luke

Is this only with certain files?

Share this post


Link to post
Share on other sites
Ghostsailor

Yes, thats why I attached a logfile when I watched a working and then a not wirking episode.I can hand you information about the files if you tell me what you need.

Share this post


Link to post
Share on other sites
Luke

Can you use this tool to get media info:

https://mediaarea.net/en/MediaInfo

 

And find out, do these audio tracks have a large audio delay set in the video container?

Share this post


Link to post
Share on other sites
Ghostsailor

I attached the screenshot of a working and a non working file. The mediainfo tool states that there is a delay of 21ms in both files.

post-551820-0-95025000-1581543895_thumb.png

post-551820-0-93257900-1581543905_thumb.png

Share this post


Link to post
Share on other sites
Luke

Can you provide a sample file for testing? Thanks.

Share this post


Link to post
Share on other sites
arrbee99

Both play fine in VLC.

 

Bit inconsistent really. Tried in Firefox and Chrome. Both episodes play fine from the start, but both have trouble resuming play from further in. They might resume the first time you try, but after that they don't, just get spinning circle.

 

Whenever they played they always had sound though.

 

Could send logs, though there's lots of starting and stopping of the episodes in there.

Edited by arrbee99

Share this post


Link to post
Share on other sites
Luke

Interesting, thanks for the info.

Share this post


Link to post
Share on other sites
Happy2Play

@@arrbee99

@@Happy2Play

 

Are you able to reproduce with this file?

The delay shows different for me.

 

S01E01 -21 ms

S01E04 2 s 982 ms

 

But yes I have issues on S01E04 with no audio.

Share this post


Link to post
Share on other sites
Luke

So the tracks do have an audio delay?

Share this post


Link to post
Share on other sites
Happy2Play

So the tracks do have an audio delay?

it does for me

General
Unique ID                                : 284491779877356237241198393349641189758 (0xD6071FB00824A512306D09DC666DB97E)
Complete name                            : C:\Users\Media\Desktop\Videos\TV Shows - nfo\The Mandalorian (2019)\Season 1\TheMandalorian S01E01.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 374 MiB
Duration                                 : 38 min 46 s
Overall bit rate                         : 1 348 kb/s
Encoded date                             : UTC 2019-12-05 09:33:12
Writing application                      : HandBrake 1.2.2 2019022300
Writing library                          : Lavf58.20.100
ErrorDetectionType                       : Per level 1

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main@L4@Main
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 38 min 46 s
Width                                    : 1 920 pixels
Height                                   : 804 pixels
Display aspect ratio                     : 2.40:1
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Writing library                          : x265 2.9:[Windows][GCC 8.2.0][64 bit] 8bit+10bit+12bit
Encoding settings                        : cpuid=1111039 / frame-threads=2 / numa-pools=4 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=1920x804 / interlace=0 / total-frames=0 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=4 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=24 / keyint=240 / gop-lookahead=0 / bframes=4 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=25 / lookahead-slices=4 / scenecut=40 / radl=0 / 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=2 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / no-strong-intra-smoothing / max-merge=3 / limit-refs=3 / limit-modes / me=3 / subme=3 / merange=57 / temporal-mvp / weightp / no-weightb / no-analyze-src-pics / deblock=0:0 / sao / no-sao-non-deblock / rd=4 / no-early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=1.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=22.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / ipratio=1.40 / pbratio=1.30 / aq-mode=1 / 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=1 / transfer=1 / colormatrix=1 / chromaloc=0 / display-window=0 / max-cll=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 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-mv-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : A_AAC-2
Duration                                 : 38 min 46 s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Delay relative to video                  : -21 ms
Title                                    : Stereo
Language                                 : German
Default                                  : Yes
Forced                                   : No


General
Unique ID                                : 259409909687134715327483844664357925375 (0xC3288802DD91AE79A96D3E0C5921B1FF)
Complete name                            : C:\Users\Media\Desktop\TheMandalorian S01E04.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 483 MiB
Duration                                 : 41 min 14 s
Overall bit rate                         : 1 637 kb/s
Encoded date                             : UTC 2019-12-05 16:52:38
Writing application                      : HandBrake 1.2.2 2019022300
Writing library                          : Lavf58.20.100
ErrorDetectionType                       : Per level 1

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main@L4@Main
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 41 min 14 s
Width                                    : 1 920 pixels
Height                                   : 804 pixels
Display aspect ratio                     : 2.40:1
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Writing library                          : x265 2.9:[Windows][GCC 8.2.0][64 bit] 8bit+10bit+12bit
Encoding settings                        : cpuid=1111039 / frame-threads=2 / numa-pools=4 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=1920x804 / interlace=0 / total-frames=0 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=4 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=24 / keyint=240 / gop-lookahead=0 / bframes=4 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=25 / lookahead-slices=4 / scenecut=40 / radl=0 / 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=2 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / no-strong-intra-smoothing / max-merge=3 / limit-refs=3 / limit-modes / me=3 / subme=3 / merange=57 / temporal-mvp / weightp / no-weightb / no-analyze-src-pics / deblock=0:0 / sao / no-sao-non-deblock / rd=4 / no-early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=1.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=22.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / ipratio=1.40 / pbratio=1.30 / aq-mode=1 / 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=1 / transfer=1 / colormatrix=1 / chromaloc=0 / display-window=0 / max-cll=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 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-mv-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : A_AAC-2
Duration                                 : 38 min 59 s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Delay relative to video                  : 2 s 982 ms
Title                                    : Stereo
Language                                 : German
Default                                  : Yes
Forced                                   : No


Edited by Happy2Play

Share this post


Link to post
Share on other sites
Luke

@ghostsailer can you remux the file to remove the audio delay?

Share this post


Link to post
Share on other sites
Ghostsailor

If you tell me how to, I am very happy to do so :) I just downloaded them a while ago and rendered them to x265 with Handbrake.

Share this post


Link to post
Share on other sites
Luke

I think that would be the best course of action. Thanks.

Share this post


Link to post
Share on other sites
Ghostsailor

I think you missunderstood me  :) That is what i originally did with the files. What do you mean by "remux"? I am not really into this scene and also not a native english speaker. Thank you for your help.

Share this post


Link to post
Share on other sites
Luke

Meaning are you able to convert them to strip out the audio delay?

Share this post


Link to post
Share on other sites
Ghostsailor

I will try with Handbrake and report the outcome. :)

Share this post


Link to post
Share on other sites
arrbee99

Might be worth trying with mkvtoolnix. Probably better. You load in the file, highlight the audio track (in blue), set the delay (negative value), set the destination folder and click Start Multiplexing.

 

5e561eae85ad1_Embymkvtoolnixaudiodelay.j

 

Seems to work, though if it doesn't that means I don't know what I'm doing (again).

Share this post


Link to post
Share on other sites
Happy2Play

It may confirm the issue but will make the file useless do to audio and video tracks being misaligned by that amount of time.

Share this post


Link to post
Share on other sites
arrbee99

Well I tried the above mkvtoolnix on S01E04 and it plays in vlc with out of sync audio and video, though Mediainfo doesn't mention 'Delay relative to video' at all.

 

So the original has audio and video in sync even though Mediainfo says its 2.982s out and reducing that value to zero (as above) puts it out of sync.

 

I guess that means something to someone. Or maybe not.

Share this post


Link to post
Share on other sites
Happy2Play

This is issue has been around awhile for delayed audio tracks.  I would have to look up if there was a threshold ever mentioned though.  

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