]> code.delx.au - transcoding/blob - v4l-rip
rip-dvd: don't extract iso to directory
[transcoding] / v4l-rip
1 #!/bin/bash
2
3 if [ -z "$1" ]; then
4 echo "Usage: $0 output.avi"
5 exit 1
6 fi
7
8 mencoder \
9 tv:// \
10 -tv \
11 driver=v4l2:\
12 width=720:height=576:\
13 norm=pal:fps=25:\
14 device=/dev/video0:input=0:\
15 alsa:forceaudio:adevice=hw.0,0:immediatemode=0:\
16 amode=0:forcechan=1:audiorate=48000 \
17 \
18 -force-avi-aspect 4/3 \
19 \
20 -vf \
21 harddup \
22 \
23 -af \
24 channels=1 \
25 \
26 -ovc lavc \
27 -lavcopts vcodec=ffv1:ilme:ildct \
28 -oac pcm \
29 -o "$1"
30
31
32 # width=720:height=480:
33 # norm=pal-60:fps=30000/1001: