[gst-devel] DV capture saving problems

Gabriel Duarte confusosk8 at gmail.com
Fri Jan 8 19:00:48 CET 2010


How I could do that? Using capsfilters?

On Fri, Jan 8, 2010 at 3:38 PM, Wim Taymans <wim.taymans at gmail.com> wrote:

> 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
>
>
>
>
> ------------------------------------------------------------------------------
> 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
>



-- 
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------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100108/76cfffa4/attachment.htm>


More information about the gstreamer-devel mailing list