Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

firmware bitrate header breaks gst use #86

Closed
cangaru opened this issue Jun 28, 2015 · 5 comments
Closed

firmware bitrate header breaks gst use #86

cangaru opened this issue Jun 28, 2015 · 5 comments

Comments

@cangaru
Copy link

cangaru commented Jun 28, 2015

I get this error using gstreamer in the latest firmware and it wasn't a problem in any firmware prior to that: 0x13b96c0 ERROR omxvideoenc gstomxvideoenc.c:296:gst_omx_video_enc_open: Failed to set bitrate parameters: Bad port index (0x8000101b)

@popcornmix
Copy link
Collaborator

@6by9 I assume this is caused by "[PATCH] video_encode: Initialise headers for video_bitrate"

@6by9
Copy link

6by9 commented Jun 28, 2015

Drat, noticed nSize and nVersion referenced in raspberrypi/firmware#163, but missed nPortIndex. Fixing the 2 probably bypasses any workaround that was added.
One extra line needed in the same place as the other two:
port->video_bitrate.nPortIndex = nPortIndex;

@6by9
Copy link

6by9 commented Jun 28, 2015

@cangaru Which version of Gstreamer is being run here, and where is the appropriate source? I'd ideally like to check for any workarounds- a quick search for gstomxvideoenc.c brings up multiple hits, but the ones I've checked don't have that error message on line 296.

@cangaru
Copy link
Author

cangaru commented Jun 28, 2015

it is gstreamer 1.2 as from the raspbian repository. To be more precise:
gst-inspect-1.0 version 1.2.0
GStreamer 1.2.0
http://packages.qa.debian.org/gstreamer1.0
I just installed the binary.

popcornmix added a commit to raspberrypi/firmware that referenced this issue Jun 30, 2015
kernel: BCM270X_DT: Change pio_limit of sdhost driver to 1

kernel: spi-bcm2708: Increase timeout from 150ms to 1s
kernel: i2c-bcm2708: Increase timeouts to allow larger transfers
See: raspberrypi/linux#260

kernel: spi-bcm2835: Support pin groups other than 7-11

kernel: bcm2835-sdhost: Further improve overclock back-off

kernel: bcm2708-vcio: Remove restriction of only a single instance being open

kernel: uart1: Only create /dev/ttyS0 when the overlay is applied

firmware: video_encode: Set nPortindex for BitRate too
See: Hexxeh/rpi-firmware#86

firmware: dispmanx: Allow exclusive elements like TAB/FP to share LBM

firmware: dispmanx: Early frame sequential 3d support

firmware: arm_loader: Distinguish parameter success/failure
popcornmix added a commit that referenced this issue Jun 30, 2015
kernel: BCM270X_DT: Change pio_limit of sdhost driver to 1

kernel: spi-bcm2708: Increase timeout from 150ms to 1s
kernel: i2c-bcm2708: Increase timeouts to allow larger transfers
See: raspberrypi/linux#260

kernel: spi-bcm2835: Support pin groups other than 7-11

kernel: bcm2835-sdhost: Further improve overclock back-off

kernel: bcm2708-vcio: Remove restriction of only a single instance being open

kernel: uart1: Only create /dev/ttyS0 when the overlay is applied

firmware: video_encode: Set nPortindex for BitRate too
See: #86

firmware: dispmanx: Allow exclusive elements like TAB/FP to share LBM

firmware: dispmanx: Early frame sequential 3d support

firmware: arm_loader: Distinguish parameter success/failure
@cangaru
Copy link
Author

cangaru commented Jul 1, 2015

Looks good. thanks.

neuschaefer pushed a commit to neuschaefer/raspi-binary-firmware that referenced this issue Feb 27, 2017
kernel: BCM270X_DT: Change pio_limit of sdhost driver to 1

kernel: spi-bcm2708: Increase timeout from 150ms to 1s
kernel: i2c-bcm2708: Increase timeouts to allow larger transfers
See: raspberrypi/linux#260

kernel: spi-bcm2835: Support pin groups other than 7-11

kernel: bcm2835-sdhost: Further improve overclock back-off

kernel: bcm2708-vcio: Remove restriction of only a single instance being open

kernel: uart1: Only create /dev/ttyS0 when the overlay is applied

firmware: video_encode: Set nPortindex for BitRate too
See: Hexxeh/rpi-firmware#86

firmware: dispmanx: Allow exclusive elements like TAB/FP to share LBM

firmware: dispmanx: Early frame sequential 3d support

firmware: arm_loader: Distinguish parameter success/failure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants