LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   record from v4l to mpeg2 avi (https://www.linuxquestions.org/questions/linux-software-2/record-from-v4l-to-mpeg2-avi-476136/)

Goofy180173 08-22-2006 02:43 AM

record from v4l to mpeg2 avi
 
I´m using transcode to record from my tv-card but I only can record to mjpeg format. This I have to convert to a mpeg2 format to burn it on DVD to watch it on my DVD-Player. To convert I´m using avidemux. If I´m converting a 1 hour avi I get a 2,8 GB mpeg2 file. So I think the resolution should be good enougth to get a good video.
Also I get a bad video quality.
I´m using this command to record.

transcode \
-x v4l2=resync_margin=1:resync_interval=250,v4l2 \
-g 720x576 \
-i /dev/video0 \
-p /dev/dsp \
-e 32000,16,2 \
-N 0x1 \
-c 01:00:00 \
-J levels,smartyuv \
-w 4500 \
-y ffmpeg \
-F mjpeg \
-o tvrecord.avi

Isn´t it possible to record direct to mpeg2 avi? With memcoder i got a bad AV syncornisation.

If I´m using Windows to record it works fine. There i can record direkt to an mpeg2 file and i get a good viedeo with correct AV syncronisation.

It can´t be possible that it isn´t possible to do the same in linux.

Pleas help?


All times are GMT -5. The time now is 07:57 PM.