[Bug 720031] omxh264enc key frame interval missing

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Mar 15 14:36:53 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=720031
  GStreamer | gst-omx | 1.2.1

--- Comment #7 from m][sko <xlazom00 at gmail.com> 2014-03-15 22:00:54 UTC ---
I clean up code with gst tool
OMX_IndexParamBrcmVideoAVCInlineHeaderEnable
is from OMX_Index.h
but from Broadcom version

I removed problem with level in caps.
But it is still there
level_string = gst_structure_get_string (s, "level");

gst_structure_get_string simply don't work on strings like "4.1", "1.1", ...
but works fine for "4"
I don't understand as it shouldn't be LOCALES related

And If you really add level="4" all go wrong 
look for this problem in log file in attachments
I added string "all done" 
at the end of 
gst_omx_h264_enc_set_format 
return TRUE;

it looks like problem is related to error
"pushing all sticky events"

this is example how I start my pipeline

GST_DEBUG="*:3,queue2:0,GST_REGISTRY:0,audiodecoder:0,mpegaudioparse:0,audioencoder:0,GST_MEMORY:0,libav:0"
\
gst-launch-1.0  uridecodebin uri="file:///home/pi/test2/test_ar_problem2.ts"
use-buffering=false name=demux caps="video/mpeg, parsed=true; audio/x-raw;
text/x-raw" \
 ! video/mpeg, parsed=true \
 ! omxmpeg2videodec \
 ! omxh264enc target-bitrate=2000000 control-rate=1 inline-header=true
periodicty-idr=250 interval-intraframes=250 ! video/x-h264, profile="high",
level="4" \
 ! h264parse \
 ! mpegtsmux name=mux0 \
 ! multifilesink next-file="key-frame" location="/dev/shm/l%010d.ts" sync=true
\
 demux. ! audio/x-raw \
 ! avenc_libfdk_aac bitrate=65536 ! aacparse ! audio/mpeg, stream-format="adts"
! queue2 ! mux0. \
 2>&1

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list