Mplayer / mencoder

dump a:

dvd

mplayer -dumpstream -dumpfile filename.dump dvd://1 (or 2, or3, or...)

only a chapter

mplayer -dumpstream -dumpfile chapter1.dump VTS_03_1.VOB

real stream

mplayer -dumpstream -dumpfile xxx.rm rtsp://where/the/stream/is

 

cat avi’s

cat 1.avi 2.avi | mencoder -noidx -ovc copy -oac copy -o output.avi -

 

wmv2avi (multible)

mencoder lola_* -oac pcm -ovc copy -cache 8192 -ofps 100.0 -o lola_final.avi

 

wma2wav

mplayer file.wma -ao pcm -aofile file.wav

 

export audio from a video

if you wan to export the audio stream from a video use:

mplayer -ao pcm:file=dump.wav -vo null video.video

this will give you a nice “wav” from the whole video without any picture.

-ao  pcm:file=dump.wav : tells mplayer to use the standard pcm output and give him the name "dump.wav".
-vo null               : tells mplayer to use no video output.

 

export single key frames from a video note: this will require a lot of disk space if you don’t use compression

mplayer -nosound -vo png video.video
-nosound : tells mplayer that only video will be used.
-vo png  : tells mplayer to use the png image output format.
z=<0-9>  : specifies the compression level. 0 is no compression, 9 is maximum

 

this are old ones. playing videos in a given geometry with stopping xscreensaver

mplayer -geometry -0:0 -screenh 480 -screenw 640 -fs -stop-xscreensaver
mplayer -geometry -0:0 -screenh 480 -screenw 640 -fs # for DPMS without screensaver

About missing_link

Nietzsche is dead.
This entry was posted in Linux, Mplayer, Software and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.