h264parse: weird parsing behavior after aspect ratio change
Submitted by m][sko
Link to original bug (#735655)
Description
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.
Version: 1.4.0