Archived:VLC-V4L: Difference between revisions

From LinuxTVWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
:std{access=file,mux=ts,dst=$DIR/$FIL.mpg}" aspect-ratio "4:3" -I dummy
:std{access=file,mux=ts,dst=$DIR/$FIL.mpg}" aspect-ratio "4:3" -I dummy


This should work -- though on my machines I don't get sound from vlc or ffmpeg.
This should work -- though note that vlc uses alsactl to find sound devices, so oss devices may not work.

Revision as of 04:32, 29 March 2006

Cf. VLC's How to Create a DVD.

It is also possible to record to x264 with VLC, using something like this:

vlc v4l:/dev/video$DEV:norm=ntsc:frequency=77250:size=640x480:channel=5:\
adev=/dev/dsp$DEV:samplerate=32000:audio=0:stop-time=$TIM \
--sout "#transcode{vcodec=h264,fps=29.97,acodec=mp3}\
:std{access=file,mux=ts,dst=$DIR/$FIL.mpg}" aspect-ratio "4:3" -I dummy

This should work -- though note that vlc uses alsactl to find sound devices, so oss devices may not work.