Jump to content

Audio de-sync after pausing


Recommended Posts

Posted

After pausing a video in Theater, the sound is often out of sync by up to a second or two.

 

This is not a problem with the source files -- playing (and pausing) the same video -- in the web interface, or VLC, or Windows 10's player -- has no sound sync issues.  The problem does show up quite often, but not every time.  Sometime manually fast-forwarding or rewinding with get the sound back in sync, but not always.

 

I've been seeing this issue on and off for months, but it's been pretty consistent lately, and it's getting frustrating.  Is there some setting I should be looking at or is this a know issue with Theater?

 

  • Like 1
Guest asrequested
Posted

What is your GPU and what are your settings in ET for audio and video?

  • Like 1
Posted

What is your GPU and what are your settings in ET for audio and video?

 

Intel HD 4400.  Sound output to the TV through HDMI.

 

Right now I've got ET audio set to Reclock and video set to default, though I've tried several permutations over the past few months.

Guest asrequested
Posted (edited)

Intel HD 4400.  Sound output to the TV through HDMI.

 

Right now I've got ET audio set to Reclock and video set to default, though I've tried several permutations over the past few months.

 

Why use Reclock? It's a tough one to configure, well.

Edited by Doofus
Posted

Why use Reclock? It's a tough one to configure, well.

 

Like I said, I've tried a few combinations to see if any made a difference.  I've set audio back to default -- but both audio and video on default is where they were set when the issue first started up.

Guest asrequested
Posted

Like I said, I've tried a few combinations to see if any made a difference.  I've set audio back to default -- but both audio and video on default is where they were set when the issue first started up.

 

I'm willing to bet that the issue lies with video rendering and/or frame dropping. Can you post a screenshot or list all of your video settings? And what do you have your GPU refresh rate set to?

Posted

Display adapter is set to 60hz.

 

58a29f2bce863_et.png

Guest asrequested
Posted

Try setting your hardware acceleration to none, video renderer to EVR+, and filter set to edge. And set your GPU refresh to 59Hz

Posted

Settings all changed, and the problem appears to still be there.

Guest asrequested
Posted

Only with pausing and resuming?

Posted

As far as I've noticed, yes.  Watching shows or longer movies don't lead to a sync issue unless it gets paused.

Guest asrequested
Posted

Are they direct playing? And try again, with DXVA2copyback hardware acceleration enabled.

Posted

DXVA2copyback seemed like it might have been worse (sound was out of sync right from the start, though fine in another player), though I didn't go back to compare it to the same video I was before with the other settings.

 

Everything is direct playing as far as I can tell.

  • 2 weeks later...
Robert X. Gonzalez
Posted

I am experiencing the same thing.  It happens infrequently, but when the audio-Desync occurs, usually after a pause and desync usually after about 50 minutes into the movie or program.  I have turned off the Intel HW acceleration and back on to no avail.  I generally keep all setting at the defaults.  Only solution I have now is to wait for the program to re-air and rerecord.  I generally do not have an issue after that.

Guest asrequested
Posted

I am experiencing the same thing.  It happens infrequently, but when the audio-Desync occurs, usually after a pause and desync usually after about 50 minutes into the movie or program.  I have turned off the Intel HW acceleration and back on to no avail.  I generally keep all setting at the defaults.  Only solution I have now is to wait for the program to re-air and rerecord.  I generally do not have an issue after that.

 

Can you describe with more detail? What GPU? What are your ET settings (audio and video)? Is this with specific files/types? etc

Robert X. Gonzalez
Posted (edited)

I have the following:

Emby Version 3.2.5.0

Intel® HD Graphics 4000

Intel® Core i7-3700 CPU @3.40GHZ

 

Happens sporadically with no indication of an issue until I play a movie and happens in Direct Play mode or through Emby Theater or if I decide to play directly at the server. Attached are screen shots of Transcoder windows, A/V window and Live TV window in my Emby Server.  I have seen this occurring for several months, late summer I think.  Once the audio sync is off, the movie is not worth watching as it is off like I said for maybe 7 seconds rendering it a little challenging to follow.  I can usually rerecord without any issues assuming there is a rebroadcast. Please advise if you need anything else!

Robert

 

Oh forgot to add, use ROKU and happens when I use the Beta and standard Emby apps to watch TV.  The last movie that this this was recorded on 4 MAR 17 - attach log file detailing this event.

EMBYRXGaudioSync.rtf

National Security.txt

Edited by rxgonz
Guest asrequested
Posted (edited)

That looks like a recording transcode log, not a playback

Input #0, mpegts, from 'http://127.0.0.1:8096/LiveTv/LiveStreamFiles/420c7cf2aeb443909ea1baec2cd3da47/stream.ts':
  Duration: N/A, start: 18740.442122, bitrate: 3305 kb/s
  Program 4 
    Stream #0:0[0x41]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, smpte170m), 704x480 [SAR 10:11 DAR 4:3], Closed Captions, 2921 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x44](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 192 kb/s
    Stream #0:2[0x45](spa): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 192 kb/s
-async is forwarded to lavfi similarly to -af aresample=async=1:min_hard_comp=0.100000:first_pts=0.
[libx264 @ 0000000002ee2880] using SAR=10/11
[libx264 @ 0000000002ee2880] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0000000002ee2880] profile High, level 4.1
[libx264 @ 0000000002ee2880] 264 - core 148 r2665 a01e339 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x3:0x3 me=dia subme=1 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=0 rc=crf mbtree=0 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=25000 vbv_bufsize=50000 crf_max=0.0 nal_hrd=none filler=0 ip_ratio=1.40 pb_ratio=1.30 aq=1:1.00
Output #0, mp4, to 'M:\Movies\National Security\National Security 2017-03-04 69ea56f5202e43a984dd3493f0e4aa81.mp4':
  Metadata:
    encoder         : Lavf57.32.100
    Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 704x480 [SAR 10:11 DAR 4:3], q=-1--1, 25000 kb/s, 29.97 fps, 30k tbn, 29.97 tbc
    Metadata:
      encoder         : Lavc57.34.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 25000000/0/25000000 buffer size: 50000000 vbv_delay: -1
    Stream #0:1: Audio: aac (LC) ([64][0][0][0] / 0x0040), 48000 Hz, stereo, fltp, 320 kb/s
    Metadata:
      encoder         : Lavc57.34.100 aac
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (ac3 (native) -> aac (native))
Edited by Doofus
Robert X. Gonzalez
Posted

Forgive, not sure what to look for in the logs.  I see the following type of logs:

 

record-transcode...xxxxxxx.txt

server-.......txt

ffmpeg.transcode......xxxxxx.txt

 

I use direct play for 95% of the time or more and do not see any logs that may start with play or live etc.  The movie National Security I played yesterday in the early afternoon and no other logs that detail this name.  I can play directly via the server or emby web interface and scroll to the point where the audio de-syncs, but I do not see logs there.  What else can I provide or where else can I look to provide evidence you need?

Guest asrequested
Posted

Forgive, not sure what to look for in the logs. I see the following type of logs:

 

record-transcode...xxxxxxx.txt

server-.......txt

ffmpeg.transcode......xxxxxx.txt

 

I use direct play for 95% of the time or more and do not see any logs that may start with play or live etc. The movie National Security I played yesterday in the early afternoon and no other logs that detail this name. I can play directly via the server or emby web interface and scroll to the point where the audio de-syncs, but I do not see logs there. What else can I provide or where else can I look to provide evidence you need?

Direct playing won't create logs. Do you have the issue when direct playing?

Robert X. Gonzalez
Posted

I only use direct playing to watch videos of any sort to fully enjoy the program as meant by the director and also to utilize capabilties of Emby.  I only utilize the theater and emby on the server directly when I am checking the system, otherwise, only use direct play.  That said, When I go back to the server and attempt to watch the move at approximate time that the de-sync occurrs, the de-sync occurs at the same time as when I direct play.  I also use two different NAS to record and happens on both; a couple of 4TB and 6TB Seagate 2 bay Personal Cloud and a 2 bay 16TB WDMyCloudMirror. 

Guest asrequested
Posted

I only use direct playing to watch videos of any sort to fully enjoy the program as meant by the director and also to utilize capabilties of Emby. I only utilize the theater and emby on the server directly when I am checking the system, otherwise, only use direct play. That said, When I go back to the server and attempt to watch the move at approximate time that the de-sync occurrs, the de-sync occurs at the same time as when I direct play. I also use two different NAS to record and happens on both; a couple of 4TB and 6TB Seagate 2 bay Personal Cloud and a 2 bay 16TB WDMyCloudMirror.

Direct play is determined by the server. It's automatic. This group is for Emby Theater. If you are having issues in all apps, you should probably repost to the server area.

Guest asrequested
Posted

Something I'm not clear on. Are you having this issue with multiple types of media playback on multiple apps, or is it certain types of media playback on just one app?

Robert X. Gonzalez
Posted

I rerecorded the movie today.  Plays without further issue, paused stop etc.  Both on the Emby web and using Direct Play.  Do not understand what causes this occasional hiccup in audio sync.

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