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 300305 - videobox in YUV adds green instead of black if right=(odd number)
videobox in YUV adds green instead of black if right=(odd number)
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.8.8
Other Linux
: Normal normal
: 0.8.10
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-04-12 10:35 UTC by Thomas Vander Stichele
Modified: 2005-06-30 11:06 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Thomas Vander Stichele 2005-04-12 10:35:10 UTC
this launch line shows a green line being added:

gst-launch -v videotestsrc !
video/x-raw-yuv,width=720,height=576,format=\(fourcc\)YUY2,framerate=25.0 !
videoscale ! video/x-raw-yuv,width=263,height=192 ! ffmpegcolorspace ! videobox
right=-1 ! xvimagesink

this one shows a black border being added
gst-launch -v videotestsrc !
video/x-raw-yuv,width=720,height=576,format=\(fourcc\)YUY2,framerate=25.0 !
videoscale ! video/x-raw-yuv,width=263,height=192 ! ffmpegcolorspace ! videobox
right=-2 ! xvimagesink
Comment 1 Thomas Vander Stichele 2005-04-13 10:27:07 UTC
some more pipelines, this time for I420:

gst-launch -v videotestsrc !
video/x-raw-yuv,format=\(fourcc\)I420,width=324,height=240,framerate=5.0 !
videobox right=-2 ! xvimagesink

is ok

gst-launch -v videotestsrc !
video/x-raw-yuv,format=\(fourcc\)I420,width=324,height=240,framerate=5.0 !
videobox right=-1 ! xvimagesink

is ok too.

gst-launch -v videotestsrc !
video/x-raw-yuv,format=\(fourcc\)I420,width=323,height=240,framerate=5.0 !
videobox right=-1 ! xvimagesink

adds a green line.

gst-launch -v videotestsrc !
video/x-raw-yuv,format=\(fourcc\)I420,width=323,height=240,framerate=5.0 !
videobox right=-2 ! xvimagesink

is fine too.  So problem is when both width and correction are odd.



Comment 2 Tim-Philipp Müller 2005-04-14 20:08:14 UTC
Are you sure it's videobox?

gst-launch -v videotestsrc !
video/x-raw-yuv,width=263,height=192,format=\(fourcc\)I420,framerate=25.0 !
xvimagesink

or

gst-launch -v videotestsrc !
video/x-raw-yuv,width=720,height=576,format=\(fourcc\)YUY2,framerate=\(double\)25.0
! videoscale ! video/x-raw-yuv,width=263,height=192 ! xvimagesink

by itself adds a one pixel green line to the right as well here.

Cheers
 -Tim
Comment 3 Ronald Bultje 2005-06-30 11:06:49 UTC
Dave already fixed videotestsrc, so considering fixed.