Archived:VLC-V4L: Difference between revisions

From LinuxTVWiki
Jump to navigation Jump to search
mNo edit summary
m (VLC-V4L moved to V4L:VLC-V4L: namespace)
 
(4 intermediate revisions by 2 users not shown)
Line 4: Line 4:
* [http://www.videolan.org/streaming/features.html Permitted combinations]
* [http://www.videolan.org/streaming/features.html Permitted combinations]
* [http://wiki.videolan.org/index.php/Codec Codec names]
* [http://wiki.videolan.org/index.php/Codec Codec names]
* [http://distributions.linux.com/howtos/VideoLAN-HOWTO/x988.shtml Some common parameters explained]


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


To record to x264 with VLC, use 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 \
vlc v4l:/dev/video0:norm=ntsc:frequency=77250:size=640x480:channel=5:\
adev=/dev/dsp1:samplerate=32000:audio=0:stop-time=60 \
--sout "#transcode{vcodec=h264,fps=29.97,acodec=mp3}\
--sout "#transcode{vcodec=h264,fps=29.97,acodec=mp3}\
:std{access=file,mux=ts,dst=$DIR/$FIL.mpg}" aspect-ratio "4:3" -I dummy
:std{access=file,mux=ts,dst=output.mpg}" aspect-ratio "4:3" -I dummy


Note that vlc uses alsactl to find sound devices, so oss devices may not work.
Note that vlc uses alsactl to find sound devices, so oss devices may not work.

Latest revision as of 20:12, 2 November 2008

Guides

Examples

To record to x264 with VLC, use something like this:

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

Note that vlc uses alsactl to find sound devices, so oss devices may not work.