[gst-devel] DV capture saving problems

Wim Taymans wim.taymans at gmail.com
Fri Jan 8 18:38:05 CET 2010


On Fri, 2010-01-08 at 15:24 -0200, Gabriel Duarte wrote:
> Heyy guys!
> I'm having a problem with a program I've built. It is used to capture
> from DV cameras. Currently, I can capture , but I'd like to save the
> buffers into a file, using my own functions. When i do it, I get a
> distorced image, and I don't know what to do anymore...
> I'll attach the C program and the result to show you all what's
> happening!

Your application is assuming that the gstreamer buffers contain RGB
video data, which is most likely not the case. In this particular case
you are handling YUV video as if it were RGB and then you get this
messed up png. Maybe you can save YUV or use gstreamer to convert to
RGB.

Wim


> Thanks!
> 
> 
> 
> 
> 
> -- 
> Gabriel Duarte
> Linux User #471185
> Rio de Janeiro - RJ
> http://kinuxlinux.org/gabriel_duarte
> 
> Phones:
> (55) (21) 9463-7760 /*Mobile*/
> (55) (21) 2464-9302 /*Home*/
> (55) (21) 2529-5080 /*Work*/
> 
> 
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.12
> GCS d- s: a--- C++ UL+++ P L++++ E- W+ N++ o++ K++ w--- 
> O- M- V- PS++ PE++ Y PGP- t++ 5-- X+++ R tv++ b++ DI+ D++ 
> G++ e+ h* r+ y++++ 
> ------END GEEK CODE BLOCK------
> 
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev 
> _______________________________________________ gstreamer-devel mailing list gstreamer-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gstreamer-devel






More information about the gstreamer-devel mailing list