Am Fri, 21 Nov 2008 22:16:39 +0100
schrieb Wasilios Goutas <[EMAIL PROTECTED]>:

> 
> Hi,
> 
> I created the file writing an application wich uses libavcap 
> http://sourceforge.net/projects/libavcap
> to read data from video devices.
> I use the linux dummy driver vivi wich creates test video output wich
> can be viewed e.g. with xawtv direct from device, but I was not able
> to record it as avi because xawt crashes.
> 
> I have written 1 sec of the data I got to a file. You can download it
> from www.goutas.de/v4l/v4l.out it has a size of 11MB
> a tgz Version can also downloaded 
> www.goutas.de/v4l/v4l.out.tgz  it's only 90kB 
> 

That file is in YUY2 format. Current transcode may not be able to
handle it without some changes.
If you could tell libavcap to output in YUV420P, YUV422P or RGB, or
convert it yourself you could use the raw input module.

For example this would work for YUV420P:
transcode -i v4l.out -o bla.avi -x raw -g 640x480 -V yuv420p -y ffmpeg
-F mpeg4

If you use transcode 1.0.x this might work for YUY2:
transcode -i v4l.out -o bla.avi -x raw -g 640x480 -uyvy -y ffmpeg
-F mpeg4
But the colors will probably be backwards.

stefan

Reply via email to