GNOME Bugzilla – Bug 735655
h264parse: weird parsing behavior after aspect ratio change
Last modified: 2018-11-03 13:26:21 UTC
observed in this bug report https://bugzilla.gnome.org/show_bug.cgi?id=732533 I still have problem with this http://pastebin.com/UDcxixUa after aspect ratio change h264 parser generate many gst_h264_parse_reset_frame If I add h264parse disable-passthrought=true all works fine GST_DEBUG="*:3,aacparse:3,tsmux:0,mpegtsmux:4,omx*:1,omxvideoenc:1,omxh264enc:1,h264parse:5" \ gst-launch-1.0 uridecodebin uri="file:///home/pi/test13_aspect_ratio_change/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 ! tee name="decdata"\ ! omxh264enc target-bitrate=1000000 control-rate=1 periodicty-idr=50 interval-intraframes=50 inline-header=true ! 'video/x-h264, profile=high' \ ! h264parse disable-passthrough=false\ ! fakesink \ demux. ! 'audio/x-raw' \ ! fakesink \ 2>&1 http://pastebin.com/wPdRhezj 0:00:09.248553095 29707 0xb06cc780 INFO baseparse gstbaseparse.c:3583:gst_base_parse_set_passthrough:<h264parse0> passthrough: yes and whole parsing process stoped I don't think that this is expected behavior.
test file http://www.mdragon.org/test_ar_problem2.ts
Can you provide the output of omxh264enc so it can be reproduced without having access to a RPi?
If I do simple omxh264enc ! filesink we will miss all buffers flags. right? gst-launch-1.0 uridecodebin uri="file:///home/pi/test13_aspect_ratio_change/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 ! tee name="decdata"\ ! omxh264enc target-bitrate=1000000 control-rate=1 periodicty-idr=50 interval-intraframes=50 inline-header=true ! 'video/x-h264, profile=high' \ ! filesink location="omxh264enc_src.dump" sync=true \ demux. ! 'audio/x-raw' \ ! fakesink \ 2>&1 dump: http://www.mdragon.org/omxh264enc_src.dump
Use ... ! gdppay ! filesink location=dump.gdp
http://www.mdragon.org/omxh264enc_src.gdp
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/172.