GNOME Bugzilla – Bug 550949
a question use videoflip
Last modified: 2009-12-21 12:07:35 UTC
I build such a pipe line play a avi file. play_bin = gst_parse_launch("filesrc name=filesrc ! ffdemux_avi name=demux demux.audio_00 ! queue \ name=a_queue ! decodebin ! \ audioconvert ! audioresample ! volume name=volume ! autoaudiosink name=a_sink demux.video_00 ! queue name=v_queue ! \ decodebin ! videoflip method=0 name=v_flip ! ffvideoscale name=v_scale ! ffmpegcolorspace ! dfbvideosink name=v_sink", &error); It work good at most time . but if my video source caps is video/x-raw-yuv, width=(int)208, height=(int)156 ... when i set v_flip method as 1, the pipeline go error. I found in fusnc gst/videofilter/gstvideoflip.c:gst_video_flip_transform() GST_BUFFER_SIZE(in) value is 48048 , but the GST_BUFFER_SIZE(out) value 49088. they are not same. so I add GST_BUFFER_SIZE(out) = GST_BUFFER_SIZE(in); befour return. and it could work good. but I dont know if this could course some ohter question. thanks.
I can't seem to reproduce it but I also can't use the dfbvideosink. what versions of core and good are you using?
Thanks you attention. I user gstreamer-0.10.20 gst-plugins-base-0.10.20 and gst-plugins-good-0.10.5 dfbvideosink: I had create a dfb surface and set it to dfbvideosink. But I think the question is not here . So no refer to it more.