Bug #357
closed
omxplayer doesn't honor -p correctly
Added by Hammel over 10 years ago.
Updated over 10 years ago.
Description
I changed from "-o hdmi" to "-p" but that doesn't always work. I plugged in a projector via HDMI that supported HDMI audio and the audio went there instead of the Pi audio port. I plugged in a projector that didn't support HDMI audio and got audio on the Pi audio port. If I then switched the HDMI to the original projector without rebooting the audio remained on the Pi audio port.
So something is routing the audio to the HDMI port if the connected device supports audio. Not sure if that's the kernel or omxplayer.
- Severity changed from 03 - Medium to 01 - Critical
- Status changed from New to In Progress
- % Done changed from 0 to 20
omxplayer from popcornmix now in use and -p seems to disable any audio. I have no audio from the Pi port and none over hdmi when connected to an HDMI TV.
I'll try with the Beats Pill plugged into the audio port and see if that changes anything.
No change. I'll have to test with -o hdmi back in and no -p along with other variations.
- % Done changed from 20 to 30
I added some commented out options to the config.txt which might address that. Specifically, try
- hdmi_drive=1
- hdmi_ignore_edid_audio=1
Still need to test with -o hdmi with current config.txt (re: without these options) too.
- % Done changed from 30 to 70
Turns out the hdmi_ignore_edid_audio=1 setting was enough to force of the audio out of the Pi audio port. I've updated config.txt to make this the default.
I need to verify this works with the projectors. If so, I can close this issue.
- Status changed from In Progress to Closed
- % Done changed from 70 to 100
Tested both projectors. Both work without modification - just plug them in and start up PiBox.
Closing issue.
Also available in: Atom
PDF