Audio delay with hdmi at start of playback (solved)

Have a MythTV related problem? Ask for help from other MythTV users here.

Moderator: Forum Moderators

Post Reply
mtrax
Junior
Posts: 30
Joined: Sat Aug 16, 2014 6:44 am
Australia

Audio delay with hdmi at start of playback (solved)

Post by mtrax » Wed Apr 03, 2019 10:56 am

I was originally using digital spdif output but switched to HDMI, which I gt an 2 seconds or so delay before audio starts.
other than that it works OK.
is this normal for hdmi audio?
Last edited by Steve Goodey on Mon Jul 01, 2019 7:54 am, edited 2 times in total.
Reason: Added (solved) to title of first post in topic.

User avatar
paulh
Developer
Posts: 436
Joined: Thu Feb 06, 2014 6:09 pm
Great Britain

Re: Audio delay with hdmi at start of playback

Post by paulh » Wed Apr 03, 2019 11:16 am

I don't see a 2 second delay so I would say not normal. Could it be a delay introduced by your TV? Some can take a while to sort themselves out when the HDMI format changes?

mtrax
Junior
Posts: 30
Joined: Sat Aug 16, 2014 6:44 am
Australia

Re: Audio delay with hdmi at start of playback

Post by mtrax » Sat May 25, 2019 1:36 am

note I don't get delay with and Ubuntu sounds just mythTV

mtrax
Junior
Posts: 30
Joined: Sat Aug 16, 2014 6:44 am
Australia

Re: Audio delay with hdmi at start of playback

Post by mtrax » Fri Jun 14, 2019 9:30 pm

Note that the the delay seems to be only start of playback, not when I pause /play.
Is there any logging I can look at which will help determine root cause?

User avatar
paulh
Developer
Posts: 436
Joined: Thu Feb 06, 2014 6:09 pm
Great Britain

Re: Audio delay with hdmi at start of playback

Post by paulh » Sat Jun 15, 2019 12:26 pm

You can try increasing the log verbosity

Code: Select all

mythfrontend --verbose help
will show you the options available. Adding audio or audio:debug seem like the most obvious options to try. Don't really know what to suggest you look for though. You could try other audio options in the audio setup to see if anything makes a difference. If you have the option 'Seperate video modes for GUI and TV Playback' turned on try turning it off it could cause your TV to switch HDMI modes which can cause a delay on some TV's it's under the 'Appearence' settings.

mtrax
Junior
Posts: 30
Joined: Sat Aug 16, 2014 6:44 am
Australia

Re: Audio delay with hdmi at start of playback

Post by mtrax » Sun Jun 30, 2019 11:25 am

I've worked out it's a actually ubuntu issue, so I guess I need to try figure out what is going on

yawlhoo
Junior
Posts: 70
Joined: Wed Apr 15, 2015 4:18 pm
United States of America

Re: Audio delay with hdmi at start of playback

Post by yawlhoo » Sun Jun 30, 2019 2:52 pm

Years ago I had this problem, thought it was a malfunction of my HDHomerun tuner. I filed a ticket with Silicon Dust, they had me run some tests, then they told me they thought it was a pre-failure problem with my recordings hard drive.

I replaced the drive, and lo and behold: the problem went away.

FWIW.

mtrax
Junior
Posts: 30
Joined: Sat Aug 16, 2014 6:44 am
Australia

Re: Audio delay with hdmi at start of playback (solved)

Post by mtrax » Mon Jul 01, 2019 7:39 am

update:

I added the load of loopback module to my pulseaudio config file and problem solved.
/etc/pulse/default.pa :

load-module module-loopback

Post Reply