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: 51
Joined: Sat Aug 16, 2014 6:44 am
Australia

Audio delay with hdmi at start of playback (solved)

Post by mtrax »

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: 909
Joined: Thu Feb 06, 2014 6:09 pm
Great Britain

Re: Audio delay with hdmi at start of playback

Post by paulh »

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: 51
Joined: Sat Aug 16, 2014 6:44 am
Australia

Re: Audio delay with hdmi at start of playback

Post by mtrax »

note I don't get delay with and Ubuntu sounds just mythTV
mtrax
Junior
Posts: 51
Joined: Sat Aug 16, 2014 6:44 am
Australia

Re: Audio delay with hdmi at start of playback

Post by mtrax »

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: 909
Joined: Thu Feb 06, 2014 6:09 pm
Great Britain

Re: Audio delay with hdmi at start of playback

Post by paulh »

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: 51
Joined: Sat Aug 16, 2014 6:44 am
Australia

Re: Audio delay with hdmi at start of playback

Post by mtrax »

I've worked out it's a actually ubuntu issue, so I guess I need to try figure out what is going on
yawlhoo
Senior
Posts: 120
Joined: Wed Apr 15, 2015 4:18 pm
United States of America

Re: Audio delay with hdmi at start of playback

Post by yawlhoo »

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: 51
Joined: Sat Aug 16, 2014 6:44 am
Australia

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

Post by mtrax »

update:

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

load-module module-loopback
mtrax
Junior
Posts: 51
Joined: Sat Aug 16, 2014 6:44 am
Australia

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

Post by mtrax »

FYI or comment out this configuration

#load-module module-suspend-on-idle
Post Reply