Recording television with mplayer.

Record television with mplayer, with this simple script. This is very useful indeed. #!/bin/sh   mencoder tv:// -tv driver=v4l2:input=1:norm=pal:width=720:height=576: \ device=/dev/video0:forceaudio:audiorate=32000:alsa:adevice=hw.0 buffersize=64 -ovc lavc \ -lavcopts vcodec=mpeg4:vbitrate=1300:keyint=30 -oac mp3lame -lameopts \ br=96:cbr:mode=3 -ffourcc divx -endpos 04:00:00 -o ~/Videos/tv-`date +%y%m%d_%H%M`-m.avi > /dev/null#!/bin/sh mencoder tv:// -tv driver=v4l2:input=1:norm=pal:width=720:height=576: \ device=/dev/video0:forceaudio:audiorate=32000:alsa:adevice=hw.0 buffersize=64 -ovc lavc…

Read More

Play video with mplayer and scale the output.

To playback video in mplayer in different sizes, just use this command: 4.4 Fri Oct 05 jason@Yog-Sothoth 0: $ mplayer -vf scale=960:720 Listening\ to\ the\ radio\ in\ Syria.\ This\ guy\ is\ very\ chill.-ncMhr.mp44.4 Fri Oct 05 jason@Yog-Sothoth 0: $ mplayer -vf scale=960:720 Listening\ to\ the\ radio\ in\ Syria.\ This\ guy\…

Read More