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 bye wasili Am Donnerstag 20 November 2008 22:51:02 schrieb Carl Karsten: > Wasilios Goutas wrote: > > Hi, > > > > tcprobe returns > > [tcprobe] unknown file type > > [tcprobe] filetype/codec not yet supported by 'transcode' > > > > Am Montag 17 November 2008 02:56:46 schrieb Carl Karsten: > >> Wasilios Goutas wrote: > >>> Hi, > >>> > >>> I wrote an smal progam which reads video from a linux v4l2 device and > >>> want to convert this file to an viewable format. > >>> Can you please tell me which parameter I have to use to convert such > >>> file to e.g. avi or mp4 files? > >> > >> Here is what I use to read from a v4l device and write to .avi > >> > >> transcode -x v4l,null -V rgb24 -i /dev/video1 -y ffmpeg -F h263p -g > >> 1024x768 -o test.avi > >> > >> -x v4l,null defines the input video and audio format. > >> -i is the input. > >> > >> Change the -x v4l to v4l2, and you might be able to read right from the > >> driver. > > > > but, I want to read a file :( > > > > Any Ideas, how I can get the file converted to avi, pm4 ore whatever? > > > > > > bye > > wasili > > > >> "viewable format" is kinda vague, but try removing the -x option and > >> maybe it will guess right. > >> > >> to see what format a file is: > >> tcprobe -k filename > >> > >> Carl K > > convert requires decoding/understanding the source, which currently we > don't. > > How did you create the file? > > Does anything currently play the file? > > Carl K