[gst-devel] Huffyuv encoding problems

Julien Isorce julien.isorce at gmail.com
Thu Aug 20 19:26:42 CEST 2009


2009/8/20 Greg Logan <greg.logan at usask.ca>

> Hi List,
>
> I'm having trouble getting valid encodes from the ffenc_huffyuv plugin
> for one of my two encoding devices.  The two devices are a Hauppauge PVR
> 500 card (which works fine) and an Epiphan VGA2USB capture device (which
> does not).
>
> The pipeline I'm using for the Epiphan card is the following:
>
> sudo gst-launch -e v4lsrc device=/dev/video2 ! ffmpegcolospace !
> ffenc_huffyuv ! avimux ! filesink location=test.avi
>
> which generates a file like http://aries.usask.ca/test.avi.  Note that
> I've been having trouble getting the files to play on linux, but the
> latest version of VLC on windows works.
>
> If you can't see the contents of that video it's looks like the bottom
> 1/3 of the video is pieces (~20 pixels high) of the top 2/3 repeated and
> color shifted.  The odd thing is the other encoders (x264enc,
> ffenc_mpeg2video) work fine with this device - it's just the Huffyuv
> plugins.
>
> Does anyone know what's causing this?  Or better yet, how to go about
> fixing it?


Hi,

I can see that the resolution is 1024*768

So try to increase buffer size:

ffenc_huffyuv buffer-size=2000000

(default is 524288 using gst-inspect-0.10 ffenc_huffyuv)

Note that normally, using ffenc_ljpeg the result file has a smaller size.
(then use ffedc_ljpeg to decode)


>
> Thanks,
> G
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090820/5c01bdee/attachment.htm>


More information about the gstreamer-devel mailing list