Bug #357

omxplayer doesn't honor -p correctly

Added by Hammel about 3 years ago. Updated about 3 years ago.

Status:ClosedStart date:25 Jul 2014
Priority:ImmediateDue date:
Assignee:Hammel% Done:

100%

Category:Configuration
Target version:PiBox - 0.9.0
Severity:01 - Critical

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.

Associated revisions

Revision f2375c49
Added by Hammel about 3 years ago

RM #370: Updated the overscan settings. Added comments related to addressing audio output (RM #357).

Revision f06a64d9
Added by Hammel about 3 years ago

RM #357: Force audio out of the Pi port instead of the HDMI port (if supported) as the default for PiBox.

History

#1 Updated by Hammel about 3 years ago

  • Severity changed from 03 - Medium to 01 - Critical

#2 Updated by Hammel about 3 years ago

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

#3 Updated by Hammel about 3 years ago

No change. I'll have to test with -o hdmi back in and no -p along with other variations.

#4 Updated by Hammel about 3 years ago

  • % Done changed from 20 to 30
I added some commented out options to the config.txt which might address that. Specifically, try
  1. hdmi_drive=1
  2. hdmi_ignore_edid_audio=1

Still need to test with -o hdmi with current config.txt (re: without these options) too.

#5 Updated by Hammel about 3 years ago

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

#6 Updated by Hammel about 3 years ago

  • 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