After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 550949 - a question use videoflip
a question use videoflip
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.x
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-09-05 06:35 UTC by Yan Chang
Modified: 2009-12-21 12:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Yan Chang 2008-09-05 06:35:28 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.
Comment 1 Wim Taymans 2008-10-03 14:55:46 UTC
I can't seem to reproduce it but I also can't use the dfbvideosink. what versions of core and good are you using?
Comment 2 Yan Chang 2008-10-07 05:43:24 UTC
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.