omxh264enc

Hi all,

I’m doing test and I can’t understand the diference between this two pipelines:

This first, works perfectly, notice the x264enc.

gst-launch-1.0 multifilesrc location="/home/ubuntu/mario/Project/MarioApp/Images_app/images/Image_%d.png" ! queue !  pngdec ! videoconvert ! 'video/x-raw, format=(string)I420, width=(int)640, height=(int)512, pixel-aspect-ratio=1/1, interlace-mode=(string)progressive' ! x264enc ! fakesink

while this one dosn’t, notice the omxh264enc:

gst-launch-1.0 multifilesrc location="/home/ubuntu/mario/Project/MarioApp/Images_app/images/Image_%d.png" ! queue !  pngdec ! videoconvert ! 'video/x-raw, format=(string)I420, width=(int)640, height=(int)512, pixel-aspect-ratio=1/1, interlace-mode=(string)progressive' ! omxh264enc ! fakesink

That’s the warning that appears in the second pipeline:

0:00:00.083167916  4273   0x15bb60 WARN                     omx /dvs/git/dirty/git-master_linux/external/gstreamer/gst-omx/omx/gstomx.c:2814:plugin_init: Failed to load configuration file: Valid key file could not be found in search dirs (searched in: /home/ubuntu/.config:/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg as per GST_OMX_CONFIG_DIR environment variable, the xdg user config directory (or XDG_CONFIG_HOME) and the system config directory (or XDG_CONFIG_DIRS)
Setting pipeline to PAUSED ...
Inside NvxLiteH264DecoderLowLatencyInitNvxLiteH264DecoderLowLatencyInit set DPB and MjstreamingPipeline is PREROLLING ...
0:00:00.110708000  4273   0x154e00 FIXME                default gstutils.c:3648:gst_pad_create_stream_id_printf_valist:<multifilesrc0:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
0:00:00.111887916  4273   0x154db0 WARN            videodecoder gstvideodecoder.c:2026:gst_video_decoder_chain:<pngdec0> Received buffer without a new-segment. Assuming timestamps start from 0.
0:00:00.175255166  4273   0x154db0 FIXME           videoencoder gstvideoencoder.c:591:gst_video_encoder_setcaps:<omxh264enc-omxh264enc0> GstVideoEncoder::reset() is deprecated
Framerate set to : 0 at NvxVideoEncoderSetParameter0:00:00.180531416  4273   0x154db0 WARN              omxh264enc /dvs/git/dirty/git-master_linux/external/gstreamer/gst-omx/omx/gstomxh264enc.c:252:gst_omx_h264_enc_set_format:<omxh264enc-omxh264enc0> Setting profile/level not supported by component
NvMMLiteOpen : Block : BlockType = 4 
===== MSENC =====
NvMMLiteBlockCreate : Block : BlockType = 4 
Floating point exception

Can someone explain me where the floating point error might be coming from.? Because as far as I know, I have the omxh264enc hardware, I tested it.

Thanks in advance.

Hi,
Please add videoparse element.

$ gst-launch-1.0 multifilesrc location=snap_%05d.png ! pngdec ! videoconvert ! video/x-raw,format=I420 ! <b>videoparse format=2</b> ! omxh264enc ! fakesink