Mercurial > mplayer.hg
changeset 17331:7a718d3fd1fd
Reformat examples to prevent linebreaks and hyphenation. When occurring
at the wrong spot they can be extremely confusing for novices.
author | diego |
---|---|
date | Fri, 06 Jan 2006 14:03:51 +0000 |
parents | a31be8f40fc2 |
children | 88adbc28f60b |
files | DOCS/man/en/mplayer.1 |
diffstat | 1 files changed, 99 insertions(+), 56 deletions(-) [+] |
line wrap: on
line diff
--- a/DOCS/man/en/mplayer.1 Fri Jan 06 13:51:36 2006 +0000 +++ b/DOCS/man/en/mplayer.1 Fri Jan 06 14:03:51 2006 +0000 @@ -9438,111 +9438,154 @@ . .SH EXAMPLES OF MPLAYER USAGE . -.TP +.PP .B Quickstart DVD playing: +.nf mplayer dvd://1 -. -.TP +.fi +. +.PP .B Play in Japanese with English subtitles: +.nf mplayer dvd://1 \-alang ja \-slang en -. -.TP +.fi +. +.PP .B Play only chapters 5, 6, 7: +.nf mplayer dvd://1 \-chapter 5-7 -. -.TP +.fi +. +.PP .B Play only titles 5, 6, 7: +.nf mplayer dvd://5-7 -. -.TP +.fi +. +.PP .B Play a multiangle DVD: +.nf mplayer dvd://1 \-dvdangle 2 -. -.TP +.fi +. +.PP .B Play from a different DVD device: +.nf mplayer dvd://1 \-dvd-device /dev/\:dvd2 -. -.TP +.fi +. +.PP .B Play DVD video from a directory with VOB files: +.nf mplayer dvd://1 \-dvd-device /path/\:to/\:directory/ -. -.TP +.fi +. +.PP .B Copy a DVD title to hard disk, saving to file "title1.vob": +.nf mplayer dvd://1 \-dumpstream \-dumpfile title1.vob -. -.TP +.fi +. +.PP .B Stream from HTTP: +.nf mplayer http://mplayer.hq/\:example.avi -. -.TP +.fi +. +.PP .B Stream using RTSP: +.nf mplayer rtsp://server.example.com/\:streamName -. -.TP +.fi +. +.PP .B Convert subtitles to MPsub format: +.nf mplayer dummy.avi \-sub source.sub \-dumpmpsub -. -.TP +.fi +. +.PP .B Convert subtitles to MPsub format without watching the movie: -mplayer /dev/\:zero \-rawvideo pal:fps=xx -demuxer rawvideo \-vc null \-vo null \-noframedrop -\-benchmark \-sub source.sub \-dumpmpsub -. -.TP +.nf +mplayer /dev/\:zero \-rawvideo pal:fps=xx -demuxer rawvideo \-vc null \-vo null \-noframedrop \-benchmark \-sub source.sub \-dumpmpsub +.fi +. +.PP .B input from standard V4L: -mplayer tv:// \-tv driver=v4l:width=640:height=480:outfmt=i420 \-vc rawi420 -\-vo xv -. -.TP +.nf +mplayer tv:// \-tv driver=v4l:width=640:height=480:outfmt=i420 \-vc rawi420 \-vo xv +.fi +. +.PP .B Playback on Zoran cards (old style, deprecated): +.nf mplayer \-vo zr \-vf scale=352:288 file.avi -. -.TP +.fi +. +.PP .B Playback on Zoran cards (new style): +.nf mplayer \-vo zr2 \-vf scale=352:288,zrmjpeg file.avi -. -.TP +.fi +. +.PP .B Play a 6-channel AAC file with only two speakers: +.nf mplayer \-rawaudio format=0xff \-demuxer rawaudio \-af pan=2:.32:.32:.39:.06:.06:.39:.17:-.17:-.17:.17:.33:.33 adts_he-aac160_51.aac +.fi .br You might want to play a bit with the pan values (e.g multiply with a value) to increase volume or avoid clipping. . .SH EXAMPLES OF MENCODER USAGE . -.TP +.PP .B Encode DVD title #2, only selected chapters: +.nf mencoder dvd://2 \-chapter 10-15 \-o title2.avi \-oac copy \-ovc lavc \-lavcopts vcodec=mpeg4 -. -.TP +.fi +. +.PP .B Encode DVD title #2, resizing to 640x480: +.nf mencoder dvd://2 \-vf scale=640:480 \-o title2.avi \-oac copy \-ovc lavc \-lavcopts vcodec=mpeg4 -. -.TP +.fi +. +.PP .B Encode DVD title #2, resizing to 512xHHH (keep aspect ratio): -mencoder dvd://2 \-vf scale \-zoom \-xy 512 \-o title2.avi \-oac copy -\-ovc lavc \-lavcopts vcodec=mpeg4 -. -.TP +.nf +mencoder dvd://2 \-vf scale \-zoom \-xy 512 \-o title2.avi \-oac copy \-ovc lavc \-lavcopts vcodec=mpeg4 +.fi +. +.PP .B The same, but with bitrate set to 1800kbit and optimized macroblocks: -mencoder dvd://2 \-o title2.avi \-oac copy \-ovc lavc -\-lavcopts vcodec=mpeg4:mbd=1:vbitrate=1800 -. -.TP +.nf +mencoder dvd://2 \-o title2.avi \-oac copy \-ovc lavc \-lavcopts vcodec=mpeg4:mbd=1:vbitrate=1800 +.fi +. +.PP .B The same, but with MJPEG compression: -mencoder dvd://2 \-o title2.avi \-oac copy \-ovc lavc -\-lavcopts vcodec=mjpeg:mbd=1:vbitrate=1800 -. -.TP +.nf +mencoder dvd://2 \-o title2.avi \-oac copy \-ovc lavc \-lavcopts vcodec=mjpeg:mbd=1:vbitrate=1800 +.fi +. +.PP .B Encode all *.jpg files in the current directory: +.nf mencoder "mf://*.jpg" \-mf fps=25 \-o output.avi \-ovc lavc \-lavcopts vcodec=mpeg4 -. -.TP +.fi +. +.PP .B Encode from a tuner (specify a format with \-vf format): +.nf mencoder \-tv driver=v4l:width=640:height=480 tv:// \-o tv.avi \-ovc raw -. -.TP +.fi +. +.PP .B Encode from a pipe: +.nf rar p test-SVCD.rar | mencoder \-ovc lavc \-lavcopts vcodec=mpeg4:vbitrate=800 \-ofps 24 \- +.fi . . .\" --------------------------------------------------------------------------