OMX H264 encoder error with Gstreamer RTSP Server

Vincent BENOIT sinseman44 at gmail.com
Tue Dec 24 01:12:01 PST 2013


I resolved my problem thanks to another gstreamer encoder error thread :
http://gstreamer-devel.966125.n4.nabble.com/android-h264-hardware-encoding-td4662522i40.html
I must specify a video profile and level for my omx encoder in
gst_rtsp_media_factory_set_launch() function :

gst_rtsp_media_factory_set_launch (factory, "( videotestsrc ! video/x-raw,
width=320, height=240 ! omxh264enc ! video/x-h264, profile=(string)high,
level=(string)4 ! rtph264pay name=pay0 pt=96 )");

and it's works.

I think it's a bug in gst_omx_gstomxh264enc.c source file ->
h264_enc_set_format() function :

 s = gst_caps_get_structure (peercaps, 0);
 profile_string = gst_structure_get_string (s, "profile");
 if (profile_string) {
     if (g_str_equal (profile_string, "baseline")) {
         param.eProfile = OMX_VIDEO_AVCProfileBaseline;
     } else if (g_str_equal (profile_string, "main")) {
         param.eProfile = OMX_VIDEO_AVCProfileMain;
     } else if (g_str_equal (profile_string, "extended")) {
         param.eProfile = OMX_VIDEO_AVCProfileExtended;
     } else if (g_str_equal (profile_string, "high")) {
         param.eProfile = OMX_VIDEO_AVCProfileHigh;
     } else if (g_str_equal (profile_string, "high-10")) {
         param.eProfile = OMX_VIDEO_AVCProfileHigh10;
     } else if (g_str_equal (profile_string, "high-4:2:2")) {
         param.eProfile = OMX_VIDEO_AVCProfileHigh422;
     } else if (g_str_equal (profile_string, "high-4:4:4")) {
         param.eProfile = OMX_VIDEO_AVCProfileHigh444;
     } else {
         goto unsupported_profile;
     }
 }

profile_string is equal to "constrained-baseline" and not exactly
"baseline", so it goes to unsupported_profile goto.
all profiles in standard x264 encoder found in Gstreamer ugly plugins are
not defined in this omx h264 encoder like "constrained-baseline".





2013/12/23 Vincent BENOIT <sinseman44 at gmail.com>

> Hi all,
>
> I try to use the omx h264 encoder with the library gst-rtsp-server and I
> have an error.
> I launch the test_readme binary example from gst-rtsp-server package
> modified to include omxh264enc.
>
> The modification is on gst_rtsp_media_factory_set_launch() function to
> replace the encoder :
> gst_rtsp_media_factory_set_launch (factory,
>                                                           "( videotestsrc
> is-live=1 ! video/x-raw, width=320, height=240 ! omxh264enc ! rtph264pay
> name=pay0 pt=96 )");
>
> some traces when a RTSP client try to connect to the server :
>
> # GST_DEBUG="omx*:7, rtsp*:7, videotestsrc:7" ./test-readme
> [...]
> 0:00:02.895539000   915  0x1410690 LOG             videotestsrc
> gstvideotestsrc.c:866:gst_video_test_src_fill:<videotestsrc0> creating
> buffer from pool for frame 0
> 0:00:02.903235000   915  0x1410690 DEBUG           videotestsrc
> gstvideotestsrc.c:890:gst_video_test_src_fill:<videotestsrc0> Timestamp:
> 0:00:00.000000000 = accumulated 0:00:00.000000000 + offset:
> 0:00:00.000000000 + running time: 0:00:00.000000000
> 0:00:02.905971000   915  0x1410690 DEBUG            omxvideoenc
> gstomxvideoenc.c:1336:gst_omx_video_enc_reset:<omxh264enc-omxh264enc0>
> Resetting encoder
> 0:00:02.907165000   915  0x1410690 DEBUG                    omx
> gstomx.c:1436:gst_omx_port_set_flushing:<omxh264enc-omxh264enc0> Setting
> video_encode port 200 to flushing
> 0:00:02.908313000   915  0x1410690 DEBUG                    omx
> gstomx.c:1442:gst_omx_port_set_flushing:<omxh264enc-omxh264enc0>
> video_encode port 200 was flushing already
> 0:00:02.909795000   915  0x1410690 DEBUG                    omx
> gstomx.c:997:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0>
> Getting video_encode parameter at index 0x02000001
> 0:00:02.911759000   915  0x1410690 DEBUG                    omx
> gstomx.c:1000:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> Got
> video_encode parameter at index 0x02000001: None (0x00000000)
> 0:00:02.912971000   915  0x1410690 DEBUG                    omx
> gstomx.c:1191:gst_omx_port_update_port_definition:<omxh264enc-omxh264enc0>
> Updated video_encode port 200 definition: None (0x00000000)
> 0:00:02.914103000   915  0x1410690 DEBUG                    omx
> gstomx.c:1561:gst_omx_port_set_flushing:<omxh264enc-omxh264enc0> Set
> video_encode port 200 to flushing: None (0x00000000)
> 0:00:02.915504000   915  0x1410690 DEBUG                    omx
> gstomx.c:1436:gst_omx_port_set_flushing:<omxh264enc-omxh264enc0> Setting
> video_encode port 201 to flushing
> 0:00:02.916628000   915  0x1410690 DEBUG                    omx
> gstomx.c:1442:gst_omx_port_set_flushing:<omxh264enc-omxh264enc0>
> video_encode port 201 was flushing already
> 0:00:02.917968000   915  0x1410690 DEBUG                    omx
> gstomx.c:997:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0>
> Getting video_encode parameter at index 0x02000001
> 0:00:02.919974000   915  0x1410690 DEBUG                    omx
> gstomx.c:1000:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> Got
> video_encode parameter at index 0x02000001: None (0x00000000)
> 0:00:02.921357000   915  0x1410690 DEBUG                    omx
> gstomx.c:1191:gst_omx_port_update_port_definition:<omxh264enc-omxh264enc0>
> Updated video_encode port 201 definition: None (0x00000000)
> 0:00:02.922475000   915  0x1410690 DEBUG                    omx
> gstomx.c:1561:gst_omx_port_set_flushing:<omxh264enc-omxh264enc0> Set
> video_encode port 201 to flushing: None (0x00000000)
> 0:00:02.923873000   915  0x1410690 DEBUG                    omx
> gstomx.c:1436:gst_omx_port_set_flushing:<omxh264enc-omxh264enc0> Setting
> video_encode port 200 to not flushing
> 0:00:02.925069000   915  0x1410690 DEBUG                    omx
> gstomx.c:997:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0>
> Getting video_encode parameter at index 0x02000001
> 0:00:02.927772000   915  0x1410690 DEBUG                    omx
> gstomx.c:1000:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> Got
> video_encode parameter at index 0x02000001: None (0x00000000)
> 0:00:02.928981000   915  0x1410690 DEBUG                    omx
> gstomx.c:1191:gst_omx_port_update_port_definition:<omxh264enc-omxh264enc0>
> Updated video_encode port 200 definition: None (0x00000000)
> 0:00:02.930258000   915  0x1410690 DEBUG                    omx
> gstomx.c:1561:gst_omx_port_set_flushing:<omxh264enc-omxh264enc0> Set
> video_encode port 200 to not flushing: None (0x00000000)
> 0:00:02.932196000   915  0x1410690 DEBUG                    omx
> gstomx.c:1436:gst_omx_port_set_flushing:<omxh264enc-omxh264enc0> Setting
> video_encode port 201 to not flushing
> 0:00:02.933590000   915  0x1410690 DEBUG                    omx
> gstomx.c:997:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0>
> Getting video_encode parameter at index 0x02000001
> 0:00:02.935552000   915  0x1410690 DEBUG                    omx
> gstomx.c:1000:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> Got
> video_encode parameter at index 0x02000001: None (0x00000000)
> 0:00:02.936772000   915  0x1410690 DEBUG                    omx
> gstomx.c:1191:gst_omx_port_update_port_definition:<omxh264enc-omxh264enc0>
> Updated video_encode port 201 definition: None (0x00000000)
> 0:00:02.937900000   915  0x1410690 DEBUG                    omx
> gstomx.c:1561:gst_omx_port_set_flushing:<omxh264enc-omxh264enc0> Set
> video_encode port 201 to not flushing: None (0x00000000)
> 0:00:02.939352000   915  0x1410690 DEBUG                    omx
> gstomx.c:2053:gst_omx_port_populate_unlocked:<omxh264enc-omxh264enc0>
> Populating video_encode port 201
> 0:00:02.940461000   915  0x1410690 DEBUG                    omx
> gstomx.c:997:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0>
> Getting video_encode parameter at index 0x02000001
> 0:00:02.942307000   915  0x1410690 DEBUG                    omx
> gstomx.c:1000:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> Got
> video_encode parameter at index 0x02000001: None (0x00000000)
> 0:00:02.943506000   915  0x1410690 DEBUG                    omx
> gstomx.c:1191:gst_omx_port_update_port_definition:<omxh264enc-omxh264enc0>
> Updated video_encode port 201 definition: None (0x00000000)
> 0:00:02.944905000   915  0x1410690 DEBUG                    omx
> gstomx.c:2102:gst_omx_port_populate_unlocked:<omxh264enc-omxh264enc0>
> Populated video_encode port 201: None (0x00000000)
> 0:00:02.947627000   915  0x1410690 DEBUG            omxvideoenc
> gstomxvideoenc.c:1117:gst_omx_video_enc_set_format:<omxh264enc-omxh264enc0>
> Setting new format I420
> 0:00:02.948834000   915  0x1410690 DEBUG                    omx
> gstomx.c:997:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0>
> Getting video_encode parameter at index 0x02000001
> 0:00:02.950820000   915  0x1410690 DEBUG                    omx
> gstomx.c:1000:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> Got
> video_encode parameter at index 0x02000001: None (0x00000000)
> 0:00:02.952055000   915  0x1410690 DEBUG                    omx
> gstomx.c:807:gst_omx_component_get_state:<omxh264enc-omxh264enc0> Getting
> state of video_encode
> 0:00:02.953277000   915  0x1410690 DEBUG                    omx
> gstomx.c:884:gst_omx_component_get_state:<omxh264enc-omxh264enc0>
> video_encode returning state Loaded
> 0:00:02.954659000   915  0x1410690 DEBUG                    omx
> gstomx.c:997:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0>
> Getting video_encode parameter at index 0x06000001
> 0:00:02.956498000   915  0x1410690 DEBUG                    omx
> gstomx.c:1000:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> Got
> video_encode parameter at index 0x06000001: None (0x00000000)
> 0:00:02.957709000   915  0x1410690 DEBUG            omxvideoenc
> gstomxvideoenc.c:1079:gst_omx_video_enc_get_supported_colorformats:<omxh264enc-omxh264enc0>
> Component supports I420 (20) at index 0
> 0:00:02.958841000   915  0x1410690 DEBUG                    omx
> gstomx.c:997:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0>
> Getting video_encode parameter at index 0x06000001
> 0:00:02.961419000   915  0x1410690 DEBUG                    omx
> gstomx.c:1000:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> Got
> video_encode parameter at index 0x06000001: None (0x00000000)
> 0:00:02.963242000   915  0x1410690 DEBUG            omxvideoenc
> gstomxvideoenc.c:1092:gst_omx_video_enc_get_supported_colorformats:<omxh264enc-omxh264enc0>
> Component supports unsupported color format 39 at index 1
> 0:00:02.964455000   915  0x1410690 DEBUG                    omx
> gstomx.c:997:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0>
> Getting video_encode parameter at index 0x06000001
> 0:00:02.962689000   915  0x143f180 DEBUG                    omx
> gstomx.c:1215:gst_omx_port_acquire_buffer:<omxh264enc-omxh264enc0>
> Acquiring video_encode buffer from port 201
> 0:00:02.965980000   915  0x143f180 DEBUG                    omx
> gstomx.c:1313:gst_omx_port_acquire_buffer:<omxh264enc-omxh264enc0> Queue of
> video_encode port 201 is empty
> 0:00:02.967687000   915  0x1410690 DEBUG                    omx
> gstomx.c:1000:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> Got
> video_encode parameter at index 0x06000001: None (0x00000000)
> 0:00:02.968890000   915  0x1410690 DEBUG            omxvideoenc
> gstomxvideoenc.c:1092:gst_omx_video_enc_get_supported_colorformats:<omxh264enc-omxh264enc0>
> Component supports unsupported color format 6 at index 2
> 0:00:02.970377000   915  0x1410690 DEBUG                    omx
> gstomx.c:997:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0>
> Getting video_encode parameter at index 0x06000001
> 0:00:02.972221000   915  0x1410690 DEBUG                    omx
> gstomx.c:1000:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> Got
> video_encode parameter at index 0x06000001: None (0x00000000)
> 0:00:02.973440000   915  0x1410690 DEBUG            omxvideoenc
> gstomxvideoenc.c:1092:gst_omx_video_enc_get_supported_colorformats:<omxh264enc-omxh264enc0>
> Component supports unsupported color format 12 at index 3
> 0:00:02.974594000   915  0x1410690 DEBUG                    omx
> gstomx.c:997:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0>
> Getting video_encode parameter at index 0x06000001
> 0:00:02.976420000   915  0x1410690 DEBUG                    omx
> gstomx.c:1000:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> Got
> video_encode parameter at index 0x06000001: None (0x00000000)
> 0:00:02.977614000   915  0x1410690 DEBUG            omxvideoenc
> gstomxvideoenc.c:1092:gst_omx_video_enc_get_supported_colorformats:<omxh264enc-omxh264enc0>
> Component supports unsupported color format 2130706433 at index 4
> 0:00:02.978913000   915  0x1410690 DEBUG                    omx
> gstomx.c:997:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0>
> Getting video_encode parameter at index 0x06000001
> 0:00:02.980821000   915  0x1410690 DEBUG                    omx
> gstomx.c:1000:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> Got
> video_encode parameter at index 0x06000001: None (0x00000000)
> 0:00:02.981967000   915  0x1410690 DEBUG            omxvideoenc
> gstomxvideoenc.c:1092:gst_omx_video_enc_get_supported_colorformats:<omxh264enc-omxh264enc0>
> Component supports unsupported color format 2130706437 at index 5
> 0:00:02.982243000   915  0x1410690 DEBUG                    omx
> gstomx.c:997:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0>
> Getting video_encode parameter at index 0x06000001
> 0:00:02.984239000   915  0x1410690 DEBUG                    omx
> gstomx.c:1000:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> Got
> video_encode parameter at index 0x06000001: No more (0x8000100e)
> 0:00:02.985463000   915  0x1410690 DEBUG            omxvideoenc
> gstomxvideoenc.c:1092:gst_omx_video_enc_get_supported_colorformats:<omxh264enc-omxh264enc0>
> Component supports unsupported color format 2130706437 at index 6
> 0:00:02.986634000   915  0x1410690 DEBUG            omxvideoenc
> gstomxvideoenc.c:1233:gst_omx_video_enc_set_format:<omxh264enc-omxh264enc0>
> Setting inport port definition
> 0:00:02.987960000   915  0x1410690 DEBUG                    omx
> gstomx.c:1016:gst_omx_component_set_parameter:<omxh264enc-omxh264enc0>
> Setting video_encode parameter at index 0x02000001
> 0:00:02.989941000   915  0x1410690 DEBUG                    omx
> gstomx.c:1019:gst_omx_component_set_parameter:<omxh264enc-omxh264enc0> Set
> video_encode parameter at index 0x02000001: None (0x00000000)
> 0:00:02.991264000   915  0x1410690 DEBUG                    omx
> gstomx.c:997:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0>
> Getting video_encode parameter at index 0x02000001
> 0:00:02.993117000   915  0x1410690 DEBUG                    omx
> gstomx.c:1000:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> Got
> video_encode parameter at index 0x02000001: None (0x00000000)
> 0:00:02.994325000   915  0x1410690 DEBUG                    omx
> gstomx.c:1191:gst_omx_port_update_port_definition:<omxh264enc-omxh264enc0>
> Updated video_encode port 200 definition: None (0x00000000)
> 0:00:02.995462000   915  0x1410690 DEBUG                    omx
> gstomx.c:997:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0>
> Getting video_encode parameter at index 0x02000001
> 0:00:02.997269000   915  0x1410690 DEBUG                    omx
> gstomx.c:1000:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> Got
> video_encode parameter at index 0x02000001: None (0x00000000)
> 0:00:02.998456000   915  0x1410690 DEBUG                    omx
> gstomx.c:1016:gst_omx_component_set_parameter:<omxh264enc-omxh264enc0>
> Setting video_encode parameter at index 0x02000001
> 0:00:03.000319000   915  0x1410690 DEBUG                    omx
> gstomx.c:1019:gst_omx_component_set_parameter:<omxh264enc-omxh264enc0> Set
> video_encode parameter at index 0x02000001: None (0x00000000)
> 0:00:03.001467000   915  0x1410690 DEBUG                    omx
> gstomx.c:997:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0>
> Getting video_encode parameter at index 0x02000001
> 0:00:03.003279000   915  0x1410690 DEBUG                    omx
> gstomx.c:1000:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> Got
> video_encode parameter at index 0x02000001: None (0x00000000)
> 0:00:03.004480000   915  0x1410690 DEBUG                    omx
> gstomx.c:1191:gst_omx_port_update_port_definition:<omxh264enc-omxh264enc0>
> Updated video_encode port 201 definition: None (0x00000000)
> 0:00:03.005920000   915  0x1410690 DEBUG                    omx
> gstomx.c:997:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0>
> Getting video_encode parameter at index 0x06000010
> 0:00:03.007850000   915  0x1410690 DEBUG                    omx
> gstomx.c:1000:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> Got
> video_encode parameter at index 0x06000010: None (0x00000000)
> 0:00:03.010358000   915  0x1410690 ERROR             omxh264enc
> gstomxh264enc.c:204:gst_omx_h264_enc_set_format:<omxh264enc-omxh264enc0>
> Unsupported profile constrained-baseline
> 0:00:03.011662000   915  0x1410690 ERROR            omxvideoenc
> gstomxvideoenc.c:1240:gst_omx_video_enc_set_format:<omxh264enc-omxh264enc0>
> Subclass failed to set the new format
> 0:00:03.013830000   915  0x13caaf0 WARN               rtspmedia
> rtsp-media.c:1645:default_handle_message: 0x13e41e8: got error GStreamer
> error: negotiation problem. (gstvideoencoder.c(1366):
> gst_video_encoder_chain ():
> /GstPipeline:media-pipeline/GstBin:bin0/GstOMXH264Enc-omxh264enc:omxh264enc-omxh264enc0:
> encoder not initialized)
> [ ... ]
>
> Next, I try gst-launch command directly to push rtp packet and it works
> with this command :
> # GST_DEBUG="omx*:7, rtsp*:7, videotestsrc:7" gst-launch-1.0 -v
> videotestsrc is-live=1 ! 'video/x-raw, width=320, height=240' ! omxh264enc
> ! rtph264pay name=pay0 pt=96 ! udpsink host=10.33.229.8 port=5000
>
> 0:00:00.534502000   968  0x17e13b0 LOG             videotestsrc
> gstvideotestsrc.c:866:gst_video_test_src_fill:<videotestsrc0> creating
> buffer from pool for frame 0
> 0:00:00.543617000   968  0x17e13b0 DEBUG           videotestsrc
> gstvideotestsrc.c:890:gst_video_test_src_fill:<videotestsrc0> Timestamp:
> 0:00:00.000000000 = accumulated 0:00:00.000000000 + offset:
> 0:00:00.000000000 + running time: 0:00:00.000000000
> 0:00:00.545946000   968  0x17e13b0 DEBUG            omxvideoenc
> gstomxvideoenc.c:1336:gst_omx_video_enc_reset:<omxh264enc-omxh264enc0>
> Resetting encoder
> 0:00:00.547098000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1436:gst_omx_port_set_flushing:<omxh264enc-omxh264enc0> Setting
> video_encode port 200 to flushing
> 0:00:00.548484000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1442:gst_omx_port_set_flushing:<omxh264enc-omxh264enc0>
> video_encode port 200 was flushing already
> 0:00:00.549830000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:997:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0>
> Getting video_encode parameter at index 0x02000001
> 0:00:00.551953000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1000:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> Got
> video_encode parameter at index 0x02000001: None (0x00000000)
> 0:00:00.553314000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1191:gst_omx_port_update_port_definition:<omxh264enc-omxh264enc0>
> Updated video_encode port 200 definition: None (0x00000000)
> 0:00:00.554753000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1561:gst_omx_port_set_flushing:<omxh264enc-omxh264enc0> Set
> video_encode port 200 to flushing: None (0x00000000)
> 0:00:00.556153000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1436:gst_omx_port_set_flushing:<omxh264enc-omxh264enc0> Setting
> video_encode port 201 to flushing
> 0:00:00.557684000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1442:gst_omx_port_set_flushing:<omxh264enc-omxh264enc0>
> video_encode port 201 was flushing already
> 0:00:00.559036000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:997:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0>
> Getting video_encode parameter at index 0x02000001
> 0:00:00.561094000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1000:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> Got
> video_encode parameter at index 0x02000001: None (0x00000000)
> 0:00:00.563251000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1191:gst_omx_port_update_port_definition:<omxh264enc-omxh264enc0>
> Updated video_encode port 201 definition: None (0x00000000)
> 0:00:00.564377000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1561:gst_omx_port_set_flushing:<omxh264enc-omxh264enc0> Set
> video_encode port 201 to flushing: None (0x00000000)
> 0:00:00.565686000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1436:gst_omx_port_set_flushing:<omxh264enc-omxh264enc0> Setting
> video_encode port 200 to not flushing
> 0:00:00.567146000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:997:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0>
> Getting video_encode parameter at index 0x02000001
> 0:00:00.569318000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1000:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> Got
> video_encode parameter at index 0x02000001: None (0x00000000)
> 0:00:00.570768000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1191:gst_omx_port_update_port_definition:<omxh264enc-omxh264enc0>
> Updated video_encode port 200 definition: None (0x00000000)
> 0:00:00.572148000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1561:gst_omx_port_set_flushing:<omxh264enc-omxh264enc0> Set
> video_encode port 200 to not flushing: None (0x00000000)
> 0:00:00.573677000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1436:gst_omx_port_set_flushing:<omxh264enc-omxh264enc0> Setting
> video_encode port 201 to not flushing
> 0:00:00.575080000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:997:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0>
> Getting video_encode parameter at index 0x02000001
> 0:00:00.577200000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1000:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> Got
> video_encode parameter at index 0x02000001: None (0x00000000)
> 0:00:00.578482000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1191:gst_omx_port_update_port_definition:<omxh264enc-omxh264enc0>
> Updated video_encode port 201 definition: None (0x00000000)
> 0:00:00.579919000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1561:gst_omx_port_set_flushing:<omxh264enc-omxh264enc0> Set
> video_encode port 201 to not flushing: None (0x00000000)
> 0:00:00.581345000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:2053:gst_omx_port_populate_unlocked:<omxh264enc-omxh264enc0>
> Populating video_encode port 201
> 0:00:00.582736000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:997:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0>
> Getting video_encode parameter at index 0x02000001
> 0:00:00.584808000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1000:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> Got
> video_encode parameter at index 0x02000001: None (0x00000000)
> 0:00:00.586010000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1191:gst_omx_port_update_port_definition:<omxh264enc-omxh264enc0>
> Updated video_encode port 201 definition: None (0x00000000)
> 0:00:00.587368000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:2102:gst_omx_port_populate_unlocked:<omxh264enc-omxh264enc0>
> Populated video_encode port 201: None (0x00000000)
> 0:00:00.590603000   968  0x17e13b0 DEBUG            omxvideoenc
> gstomxvideoenc.c:1117:gst_omx_video_enc_set_format:<omxh264enc-omxh264enc0>
> Setting new format I420
> 0:00:00.591807000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:997:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0>
> Getting video_encode parameter at index 0x02000001
> 0:00:00.594069000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1000:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> Got
> video_encode parameter at index 0x02000001: None (0x00000000)
> 0:00:00.595287000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:807:gst_omx_component_get_state:<omxh264enc-omxh264enc0> Getting
> state of video_encode
> 0:00:00.596619000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:884:gst_omx_component_get_state:<omxh264enc-omxh264enc0>
> video_encode returning state Loaded
> 0:00:00.597959000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:997:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0>
> Getting video_encode parameter at index 0x06000001
> 0:00:00.600046000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1000:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> Got
> video_encode parameter at index 0x06000001: None (0x00000000)
> 0:00:00.601255000   968  0x17e13b0 DEBUG            omxvideoenc
> gstomxvideoenc.c:1079:gst_omx_video_enc_get_supported_colorformats:<omxh264enc-omxh264enc0>
> Component supports I420 (20) at index 0
> 0:00:00.602814000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:997:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0>
> Getting video_encode parameter at index 0x06000001
> 0:00:00.605860000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1000:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> Got
> video_encode parameter at index 0x06000001: None (0x00000000)
> 0:00:00.607070000   968  0x17e13b0 DEBUG            omxvideoenc
> gstomxvideoenc.c:1092:gst_omx_video_enc_get_supported_colorformats:<omxh264enc-omxh264enc0>
> Component supports unsupported color format 39 at index 1
> 0:00:00.609142000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:997:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0>
> Getting video_encode parameter at index 0x06000001
> 0:00:00.610589000   968  0x17fef20 DEBUG                    omx
> gstomx.c:1215:gst_omx_port_acquire_buffer:<omxh264enc-omxh264enc0>
> Acquiring video_encode buffer from port 201
> 0:00:00.612219000   968  0x17fef20 DEBUG                    omx
> gstomx.c:1313:gst_omx_port_acquire_buffer:<omxh264enc-omxh264enc0> Queue of
> video_encode port 201 is empty
> 0:00:00.614423000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1000:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> Got
> video_encode parameter at index 0x06000001: None (0x00000000)
> 0:00:00.615643000   968  0x17e13b0 DEBUG            omxvideoenc
> gstomxvideoenc.c:1092:gst_omx_video_enc_get_supported_colorformats:<omxh264enc-omxh264enc0>
> Component supports unsupported color format 6 at index 2
> 0:00:00.616995000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:997:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0>
> Getting video_encode parameter at index 0x06000001
> 0:00:00.619071000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1000:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> Got
> video_encode parameter at index 0x06000001: None (0x00000000)
> 0:00:00.620289000   968  0x17e13b0 DEBUG            omxvideoenc
> gstomxvideoenc.c:1092:gst_omx_video_enc_get_supported_colorformats:<omxh264enc-omxh264enc0>
> Component supports unsupported color format 12 at index 3
> 0:00:00.622655000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:997:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0>
> Getting video_encode parameter at index 0x06000001
> 0:00:00.624453000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1000:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> Got
> video_encode parameter at index 0x06000001: None (0x00000000)
> 0:00:00.625650000   968  0x17e13b0 DEBUG            omxvideoenc
> gstomxvideoenc.c:1092:gst_omx_video_enc_get_supported_colorformats:<omxh264enc-omxh264enc0>
> Component supports unsupported color format 2130706433 at index 4
> 0:00:00.626994000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:997:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0>
> Getting video_encode parameter at index 0x06000001
> 0:00:00.629050000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1000:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> Got
> video_encode parameter at index 0x06000001: None (0x00000000)
> 0:00:00.630254000   968  0x17e13b0 DEBUG            omxvideoenc
> gstomxvideoenc.c:1092:gst_omx_video_enc_get_supported_colorformats:<omxh264enc-omxh264enc0>
> Component supports unsupported color format 2130706437 at index 5
> 0:00:00.631618000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:997:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0>
> Getting video_encode parameter at index 0x06000001
> 0:00:00.633879000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1000:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> Got
> video_encode parameter at index 0x06000001: No more (0x8000100e)
> 0:00:00.635108000   968  0x17e13b0 DEBUG            omxvideoenc
> gstomxvideoenc.c:1092:gst_omx_video_enc_get_supported_colorformats:<omxh264enc-omxh264enc0>
> Component supports unsupported color format 2130706437 at index 6
> 0:00:00.636518000   968  0x17e13b0 DEBUG            omxvideoenc
> gstomxvideoenc.c:1233:gst_omx_video_enc_set_format:<omxh264enc-omxh264enc0>
> Setting inport port definition
> 0:00:00.637943000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1016:gst_omx_component_set_parameter:<omxh264enc-omxh264enc0>
> Setting video_encode parameter at index 0x02000001
> 0:00:00.640071000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1019:gst_omx_component_set_parameter:<omxh264enc-omxh264enc0> Set
> video_encode parameter at index 0x02000001: None (0x00000000)
> 0:00:00.641281000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:997:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0>
> Getting video_encode parameter at index 0x02000001
> 0:00:00.643503000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1000:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> Got
> video_encode parameter at index 0x02000001: None (0x00000000)
> 0:00:00.644667000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1191:gst_omx_port_update_port_definition:<omxh264enc-omxh264enc0>
> Updated video_encode port 200 definition: None (0x00000000)
> 0:00:00.645999000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:997:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0>
> Getting video_encode parameter at index 0x02000001
> 0:00:00.648026000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1000:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> Got
> video_encode parameter at index 0x02000001: None (0x00000000)
> 0:00:00.649233000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1016:gst_omx_component_set_parameter:<omxh264enc-omxh264enc0>
> Setting video_encode parameter at index 0x02000001
> 0:00:00.651407000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1019:gst_omx_component_set_parameter:<omxh264enc-omxh264enc0> Set
> video_encode parameter at index 0x02000001: None (0x00000000)
> 0:00:00.652699000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:997:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0>
> Getting video_encode parameter at index 0x02000001
> 0:00:00.654839000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1000:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> Got
> video_encode parameter at index 0x02000001: None (0x00000000)
> 0:00:00.656077000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1191:gst_omx_port_update_port_definition:<omxh264enc-omxh264enc0>
> Updated video_encode port 201 definition: None (0x00000000)
> 0:00:00.657520000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:997:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0>
> Getting video_encode parameter at index 0x06000010
> 0:00:00.659600000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1000:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> Got
> video_encode parameter at index 0x06000010: None (0x00000000)
> 0:00:00.661362000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1016:gst_omx_component_set_parameter:<omxh264enc-omxh264enc0>
> Setting video_encode parameter at index 0x06000010
> 0:00:00.663280000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1019:gst_omx_component_set_parameter:<omxh264enc-omxh264enc0> Set
> video_encode parameter at index 0x06000010: None (0x00000000)
> 0:00:00.664470000   968  0x17e13b0 DEBUG            omxvideoenc
> gstomxvideoenc.c:1245:gst_omx_video_enc_set_format:<omxh264enc-omxh264enc0>
> Updating outport port definition
> 0:00:00.665728000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:997:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0>
> Getting video_encode parameter at index 0x02000001
> 0:00:00.667774000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1000:gst_omx_component_get_parameter:<omxh264enc-omxh264enc0> Got
> video_encode parameter at index 0x02000001: None (0x00000000)
> 0:00:00.668978000   968  0x17e13b0 DEBUG                    omx
> gstomx.c:1191:gst_omx_port_update_port_definition:<omxh264enc-omxh264enc0>
> Updated video_encode port 201 definition: None (0x00000000)
> 0:00:00.670376000   968  0x17e13b0 DEBUG            omxvideoenc
> gstomxvideoenc.c:1265:gst_omx_video_enc_set_format:<omxh264enc-omxh264enc0>
> Enabling component
> 0:00:00.671770000   968  0x17e13b0 INFO                     omx
> gstomx.c:1866:gst_omx_port_set_enabled_unlocked:<omxh264enc-omxh264enc0>
> Setting video_encode port 201 to disabled
>
> thanks for your help
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-openmax/attachments/20131224/855849c6/attachment-0001.html>


More information about the gstreamer-openmax mailing list