Transcode: Difference between revisions
Jump to navigation
Jump to search
(A quick example) |
m (→Introduction) |
||
Line 1: | Line 1: | ||
== Introduction == |
== Introduction == |
||
* |
* [http://www.transcoding.org trancode project page] |
||
* [http://www.transcoding.org/cgi-bin/transcode?Video4linux_Examples v4l examples] |
* [http://www.transcoding.org/cgi-bin/transcode?Video4linux_Examples v4l examples] |
||
Revision as of 00:03, 30 March 2006
Introduction
The transcode program provides an integrated framework for encoding and transcoding, bringing together a large number of multimedia projects under one umbrella.
Recording from v4l
This example works on saa7134 cards, using the saa7134-alsa DMA module:
transcode -x v4l2,v4l2 -M 2 -i /dev/video$DEV -p /dev/dsp$DEV -y ffmpeg -F msmpeg4v2 \ -c $TIM -g 640x480 -f 29.970,4 -u 1024 -Q 5 -e 32000,16,2 --lame_preset medium \ -o $DIR/$FIL.avi
The trick here is to set the audio import to 32000,16,2 -- the parameters used by the DMA audio channel on the card, and thus by the 7134-alsa module.