[EMAIL PROTECTED] wrote: > Thanks, > > But I need to read from a file instead of a device.
-i filename > The file I created contains 5sec vifeo stream but when I try to convert it > using transcode it continues to process data until i terminate it manually. post the output of tcprobe -i filename > > Bye > Wasili > ------Originalnachricht------ > Von: Carl Karsten > Absender: [EMAIL PROTECTED] > An: transcode Users Mailing List > Antwort an: transcode Users Mailing List > Gesendet: 17 Nov 2008 02:56 > Betreff: Re: [transcode-users] v4l video strem decoding > > 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. > > "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 > > > > Sent via BlackBerry from E-Plus > >