Setting Profile caps for omxh264enc
Michael Kerr
michael.kerr at rmit.edu.au
Mon Nov 2 14:30:07 PST 2015
Hi All,
I have written some plugins that perform best with minimal compression,
and so I am attempting to encode video from my Raspberry Pi camera at 4:4:4
colour space. The source code appears to support high-4:4:4 as a profile
option, but when I run this pipeline:
gst-launch-1.0 -e --gst-debug-level=4 v4l2src device=/dev/video0 !
"video/x-raw,width=640,height=480,framerate=30/1" ! videoconvert ! queue !
omxh264enc ! 'video/x-h264, profile=(string)high-4:4:4, level=(string)4' !
h264parse config-interval=1 ! mp4mux ! filesink
location=/home/pi/output.mp4
I see the following messages.
0:00:00.996912025 2397 0x9e6290 WARN omxh264enc
gstomxh264enc.c:409:gst_omx_h264_enc_set_format:<omxh264enc-omxh264enc0>
Setting profile/level not supported by component
0:00:00.997322499 2397 0x9e6290 INFO omx
gstomx.c:1852:gst_omx_port_set_enabled_unlocked:<omxh264enc-omxh264enc0>
Setting video_encode port 201 to disabled
0:00:00.998217615 2397 0x9e6290 INFO omx
gstomx.c:1893:gst_omx_port_set_enabled_unlocked:<omxh264enc-omxh264enc0>
Set video_encode port 201 to disabled: None (0x00000000)
0:00:00.998579286 2397 0x9e6290 INFO omx
gstomx.c:2107:gst_omx_port_wait_enabled_unlocked:<omxh264enc-omxh264enc0>
Waiting for video_encode port 201 to be disabled
0:00:00.999129762 2397 0x9e6290 INFO omx
gstomx.c:2158:gst_omx_port_wait_enabled_unlocked:<omxh264enc-omxh264enc0>
video_encode port 201 is disabled: None (0x00000000)
0:00:00.999291327 2397 0x9e6290 INFO omx
gstomx.c:801:gst_omx_component_set_state:<omxh264enc-omxh264enc0> Setting
video_encode state from Loaded to Idle
0:00:01.000713481 2397 0x9e6290 INFO omx
gstomx.c:1619:gst_omx_port_allocate_buffers_unlocked:<omxh264enc-omxh264enc0>
Allocating 1 buffers of size 460800 for video_encode port 200
0:00:01.001352812 2397 0x9e6290 INFO omx
gstomx.c:229:gst_omx_component_handle_messages:<omxh264enc-omxh264enc0>
video_encode state change to Idle finished
Setting the high and baseline profiles work, but not high-4:4:4.
Information on setting this option is scarce, so I am hoping someone can
let me know if I have missed a step.
Thanks.
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-openmax/attachments/20151103/409c2c05/attachment.html>
More information about the gstreamer-openmax
mailing list