How to change omxh264enc level, please help

gmilan milangansi at gmail.com
Tue Nov 24 06:43:24 PST 2015


I cannot change the omxh264enc level. It is always level 4. But when I change
the caps by providing caps for omxh264 as you can see below, the pipeline
does not work. I get error.

My pipeline is:

gst-launch-1.0 -v v4l2src device=/dev/video0 \
! video/x-raw, width=320,height=240,framerate=5/1 \
! queue \
! omxh264enc inline-header=true  \
! video/x-h264, profile=baseline, level=1 \
! h264parse \
! queue \
! tcpserversink host=192.168.10.1 port=5000 sync-method=2
recover-policy=keyframe
 
The error is

ERROR: from element
/GstPipeline:pipeline0/GstOMXH264Enc-omxh264enc:omxh264enc-omxh264enc0:
Internal data stream error.
Additional debug info:
gstomxvideoenc.c(830): gst_omx_video_enc_loop ():
/GstPipeline:pipeline0/GstOMXH264Enc-omxh264enc:omxh264enc-omxh264enc0:
stream stopped, reason not-negotiated

Please help. I need to change the omxh264enc level.




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-change-omxh264enc-level-please-help-tp4674629.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list