From: GStreamer (bugzilla.gnome.org) <bug...@bu...> - 2008-09-05 06:35:19
|
If you have any questions why you received this email, please see the text at the end of this email. Replies to this email are NOT read, please see the text at the end of this email. You can add comments to this bug at: http://bugzilla.gnome.org/show_bug.cgi?id=550949 GStreamer | gst-plugins-good | Ver: 0.10.x Summary: a question use videoflip Product: GStreamer Version: 0.10.x Platform: Other OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: gst-plugins-good AssignedTo: gst...@li... ReportedBy: dy...@12... QAContact: gst...@li... GNOME version: Unspecified GNOME milestone: Unspecified 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. -- See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received this email, why you can't respond via email, how to stop receiving emails (or reduce the number you receive), and how to contact someone if you are having problems with the system. You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=550949. |