OMX Encoding fails with "Bad parameter" even for simple pipeline

Dominik Röttsches d-r at roettsches.de
Mon Oct 1 19:27:59 UTC 2018


Hi,

I managed to build gstreamer tip of tree including the OMX plugin for 
the Rasperry Pi and copied the gstomx.conf configuration file to the 
device.

However, even for a simple gst-launch invocation like:

$ gst-launch-1.0 -v videotestsrc  !  omxh264enc  ! fakesink

I do not get a working pipeline. The OMX decoder will always fail with 
"Bad parameter", log below: [1]

The gstomx.conf contains:

[omxh264enc]
type-name=GstOMXH264Enc
core-name=/opt/vc/lib/libopenmaxil.so
component-name=OMX.broadcom.video_encode
rank=257
in-port-index=200
out-port-index=201
hacks=no-component-role;no-component-reconfigure

Does anyone have pointers on what might be going wrong here?

Thank you very much in advance!

Dominik


[1] Log from running:

$ GST_DEBUG=*omx*:5,3 GST_OMX_CONFIG_DIR=~/dev/webrtc-cam 
/opt/gstreamer-custom/bin/gst-launch-1.0 -v videotestsrc  !  omxh264enc  
! fakesink
0:00:00.410833270  9813   0xbc45c0 DEBUG                    omx 
gstomx.c:3267:plugin_init: Registering element 'omxmpeg2videodec'
0:00:00.412247261  9813   0xbc45c0 DEBUG                    omx 
gstomx.c:3267:plugin_init: Registering element 'omxmpeg4videodec'
0:00:00.413104255  9813   0xbc45c0 DEBUG                    omx 
gstomx.c:3267:plugin_init: Registering element 'omxh263dec'
0:00:00.413921249  9813   0xbc45c0 DEBUG                    omx 
gstomx.c:3267:plugin_init: Registering element 'omxh264dec'
0:00:00.415281240  9813   0xbc45c0 DEBUG                    omx 
gstomx.c:3267:plugin_init: Registering element 'omxtheoradec'
0:00:00.416645231  9813   0xbc45c0 DEBUG                    omx 
gstomx.c:3267:plugin_init: Registering element 'omxvp8dec'
0:00:00.418918216  9813   0xbc45c0 DEBUG                    omx 
gstomx.c:3267:plugin_init: Registering element 'omxmjpegdec'
0:00:00.422504192  9813   0xbc45c0 DEBUG                    omx 
gstomx.c:3267:plugin_init: Registering element 'omxvc1dec'
0:00:00.423883183  9813   0xbc45c0 DEBUG                    omx 
gstomx.c:3267:plugin_init: Registering element 'omxh264enc'
0:00:00.426736164  9813   0xbc45c0 DEBUG                    omx 
gstomx.c:3267:plugin_init: Registering element 'omxanalogaudiosink'
0:00:00.428161155  9813   0xbc45c0 DEBUG                    omx 
gstomx.c:3267:plugin_init: Registering element 'omxhdmiaudiosink'
0:00:00.432027129  9813   0xbc45c0 DEBUG                    omx 
gstomx.c:3130:_class_init: No sink template caps specified for element 
'omxh264enc', using default 'video/x-raw, width = (int) [ 1, max ], 
height = (int) [ 1, max ], framerate = (fraction) [ 0, max ]'
0:00:00.433787117  9813   0xbc45c0 DEBUG                    omx 
gstomx.c:3158:_class_init: No src template caps specified for element 
'omxh264enc', using default 'video/x-h264, width=(int) [ 16, 4096 ], 
height=(int) [ 16, 4096 ]'
0:00:00.436952096  9813   0xbc45c0 DEBUG                    omx 
gstomx.c:3185:_class_init: Using hack: no-component-role
0:00:00.438212088  9813   0xbc45c0 DEBUG                    omx 
gstomx.c:3185:_class_init: Using hack: no-component-reconfigure
Setting pipeline to PAUSED ...
0:00:00.460456940  9813   0xbc45c0 DEBUG                    omx 
gstomx.c:154:gst_omx_core_acquire: Successfully loaded core 
'/opt/vc/lib/libopenmaxil.so'
0:00:00.464655912  9813   0xbc45c0 DEBUG                    omx 
gstomx.c:169:gst_omx_core_acquire: Successfully initialized core 
'/opt/vc/lib/libopenmaxil.so'
0:00:00.467953890  9813   0xbc45c0 DEBUG                    omx 
gstomx.c:826:gst_omx_component_new:<omxh264enc-omxh264enc0> Successfully 
got component handle 0xbf5988 (OMX.broadcom.video_encode) from core 
'/opt/vc/lib/libopenmaxil.so'
0:00:00.469495880  9813   0xbc45c0 DEBUG                    omx 
gstomx.c:1005:gst_omx_component_get_state:<omxh264enc-omxh264enc0> 
Getting state of video_encode
0:00:00.472118863  9813   0xbc45c0 DEBUG                    omx 
gstomx.c:1055:gst_omx_component_get_state:<omxh264enc-omxh264enc0> 
video_encode returning state Loaded
0:00:00.473345855  9813   0xbc45c0 DEBUG                    omx 
gstomx.c:1077:gst_omx_component_add_port:<omxh264enc-omxh264enc0> 
video_encode adding port 200
0:00:00.474534847  9813   0xbc45c0 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x02000001
0:00:00.476167836  9813   0xbc45c0 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x02000001: None (0x00000000)
0:00:00.478664819  9813   0xbc45c0 DEBUG                    omx 
gstomx.c:1077:gst_omx_component_add_port:<omxh264enc-omxh264enc0> 
video_encode adding port 201
0:00:00.479865811  9813   0xbc45c0 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x02000001
0:00:00.482953791  9813   0xbc45c0 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x02000001: None (0x00000000)
0:00:00.484341781  9813   0xbc45c0 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000004
0:00:00.486006770  9813   0xbc45c0 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000004: None (0x00000000)
0:00:00.487289762  9813   0xbc45c0 DEBUG                    omx 
gstomx.c:1188:gst_omx_component_set_parameter:<omxh264enc-omxh264enc0> 
Setting video_encode parameter at index 0x06000004
0:00:00.488936751  9813   0xbc45c0 DEBUG                    omx 
gstomx.c:1191:gst_omx_component_set_parameter:<omxh264enc-omxh264enc0> 
Set video_encode parameter at index 0x06000004: None (0x00000000)
Pipeline is PREROLLING ...
0:00:00.498071690  9813   0xbd5150 FIXME                default 
gstutils.c:3981:gst_pad_create_stream_id_internal:<videotestsrc0:src> 
Creating random stream-id, consider implementing a deterministic way of 
creating a stream-id
0:00:00.500566674  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.502392662  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.504219649  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:146:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports I420 (20) at index 0
0:00:00.505426641  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.508337622  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.510108610  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:150:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports unsupported color format 2130706439 at index 
1
0:00:00.512574594  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.515082577  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.516416568  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:146:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports NV12 (39) at index 2
0:00:00.517645560  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.519735546  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.522354529  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:150:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports unsupported color format 2130706440 at index 
3
0:00:00.522547528  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.523784519  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.526519501  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:146:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports RGB16 (6) at index 4
0:00:00.526710500  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.528445488  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.528664487  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:146:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports BGR (12) at index 5
0:00:00.528795486  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.530062478  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.531896466  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:150:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports unsupported color format 11 at index 6
0:00:00.533691454  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.534831446  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.536600434  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:150:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports unsupported color format 2130706433 at index 
7
0:00:00.536790433  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.538048425  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.538920419  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:146:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports ABGR (16) at index 8
0:00:00.540110411  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.541904399  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.542789393  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:146:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports YUY2 (25) at index 9
0:00:00.544373383  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.546514368  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.547325363  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:146:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports YVYU (26) at index 10
0:00:00.547483362  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.549250350  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.550484342  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:146:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports UYVY (27) at index 11
0:00:00.552195331  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.553366323  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.554260317  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:150:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports unsupported color format 28 at index 12
0:00:00.555021312  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.557058298  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.558296290  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:150:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports unsupported color format 2130706435 at index 
13
0:00:00.559106285  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.560804273  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.561636268  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:150:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports unsupported color format 23 at index 14
0:00:00.562838260  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.564656248  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.565640241  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:150:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports unsupported color format 2130706437 at index 
15
0:00:00.566387236  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.569307217  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: No more (0x8000100e)
0:00:00.569511216  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:150:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports unsupported color format 2130706437 at index 
16
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = 
video/x-raw, width=(int)320, height=(int)240, framerate=(fraction)30/1, 
format=(string)I420, multiview-mode=(string)mono, 
pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
0:00:00.574936180  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.577142165  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.578986153  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:146:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports I420 (20) at index 0
0:00:00.580693141  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.582918127  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.584718115  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:150:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports unsupported color format 2130706439 at index 
1
0:00:00.586366104  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.588476090  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.589957080  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:146:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports NV12 (39) at index 2
0:00:00.590577076  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.592635062  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.593460056  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:150:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports unsupported color format 2130706440 at index 
3
0:00:00.594691048  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.596841034  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.597704028  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:146:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports RGB16 (6) at index 4
0:00:00.597938027  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.599584016  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.600406010  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:146:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports BGR (12) at index 5
0:00:00.601251005  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.602409997  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.603310991  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:150:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports unsupported color format 11 at index 6
0:00:00.604075986  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.605486977  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.609352951  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:150:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports unsupported color format 2130706433 at index 
7
0:00:00.609540950  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.610664942  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.612345931  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:146:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports ABGR (16) at index 8
0:00:00.612507930  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.614717915  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.614924914  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:146:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports YUY2 (25) at index 9
0:00:00.615050913  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.616875901  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.618142892  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:146:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports YVYU (26) at index 10
0:00:00.619354884  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.621619869  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.623451857  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:146:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports UYVY (27) at index 11
0:00:00.623608856  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.625009847  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.627464831  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:150:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports unsupported color format 28 at index 12
0:00:00.628124826  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.629258819  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.630582810  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:150:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports unsupported color format 2130706435 at index 
13
0:00:00.630767809  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.632545797  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.634296785  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:150:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports unsupported color format 23 at index 14
0:00:00.635095780  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.637109766  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.638862755  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:150:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports unsupported color format 2130706437 at index 
15
0:00:00.639054754  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.640549744  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: No more (0x8000100e)
0:00:00.641876735  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:150:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports unsupported color format 2130706437 at index 
16
0:00:00.642904728  9813   0xbd5150 DEBUG            omxvideoenc 
gstomxvideoenc.c:2165:gst_omx_video_enc_set_format:<omxh264enc-omxh264enc0> 
Setting new format I420
0:00:00.643065727  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x02000001
0:00:00.644399718  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x02000001: None (0x00000000)
0:00:00.646124707  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1005:gst_omx_component_get_state:<omxh264enc-omxh264enc0> 
Getting state of video_encode
0:00:00.648699689  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1055:gst_omx_component_get_state:<omxh264enc-omxh264enc0> 
video_encode returning state Loaded
0:00:00.649917681  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.652986661  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.654255653  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:146:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports I420 (20) at index 0
0:00:00.655055647  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.656209640  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.658620624  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:150:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports unsupported color format 2130706439 at index 
1
0:00:00.659738616  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.660851609  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.663150593  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:146:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports NV12 (39) at index 2
0:00:00.663336592  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.664555584  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.665760576  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:150:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports unsupported color format 2130706440 at index 
3
0:00:00.667415565  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.668564557  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.669486551  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:146:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports RGB16 (6) at index 4
0:00:00.669640550  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.671443538  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.672756530  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:146:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports BGR (12) at index 5
0:00:00.672915529  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.674603517  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.675894509  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:150:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports unsupported color format 11 at index 6
0:00:00.676057508  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.677748496  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.679539485  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:150:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports unsupported color format 2130706433 at index 
7
0:00:00.681810469  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.683489458  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.683739457  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:146:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports ABGR (16) at index 8
0:00:00.683871456  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.685591444  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.688175427  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:146:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports YUY2 (25) at index 9
0:00:00.688376426  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.689508418  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.690875409  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:146:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports YVYU (26) at index 10
0:00:00.692174401  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.694654384  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.694868383  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:146:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports UYVY (27) at index 11
0:00:00.695006382  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.696767370  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.698507358  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:150:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports unsupported color format 28 at index 12
0:00:00.700215347  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.701944336  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.703202327  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:150:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports unsupported color format 2130706435 at index 
13
0:00:00.704397319  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.705804310  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.706361306  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:150:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports unsupported color format 23 at index 14
0:00:00.706866303  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.708889290  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: None (0x00000000)
0:00:00.709743284  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:150:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports unsupported color format 2130706437 at index 
15
0:00:00.710952276  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x06000001
0:00:00.713544259  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x06000001: No more (0x8000100e)
0:00:00.715011249  9813   0xbd5150 DEBUG               omxvideo 
gstomxvideo.c:150:gst_omx_video_get_supported_colorformats:<omxh264enc-omxh264enc0> 
Component port 200 supports unsupported color format 2130706437 at index 
16
0:00:00.715157248  9813   0xbd5150 DEBUG            omxvideoenc 
gstomxvideoenc.c:2236:gst_omx_video_enc_set_format:<omxh264enc-omxh264enc0> 
Setting inport port definition
0:00:00.715280247  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1188:gst_omx_component_set_parameter:<omxh264enc-omxh264enc0> 
Setting video_encode parameter at index 0x02000001
0:00:00.716792237  9813   0xbd5150 ERROR                    omx 
gstomx.c:1191:gst_omx_component_set_parameter:<omxh264enc-omxh264enc0> 
Set video_encode parameter at index 0x02000001: Bad parameter 
(0x80001005)
0:00:00.718528225  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1169:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Getting video_encode parameter at index 0x02000001
0:00:00.720132215  9813   0xbd5150 DEBUG                    omx 
gstomx.c:1172:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> 
Got video_encode parameter at index 0x02000001: None (0x00000000)
0:00:00.721435206  9813   0xbd5150 ERROR                    omx 
gstomx.c:1370:gst_omx_port_update_port_definition:<omxh264enc-omxh264enc0> 
Updated video_encode port 200 definition: Bad parameter (0x80001005)
0:00:00.722397200  9813   0xbd5150 WARN            videoencoder 
gstvideoencoder.c:685:gst_video_encoder_setcaps:<omxh264enc-omxh264enc0> 
rejected caps video/x-raw, width=(int)320, height=(int)240, 
framerate=(fraction)30/1, format=(string)I420, 
multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, 
interlace-mode=(string)progressive


More information about the gstreamer-devel mailing list