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