Mplayer character interface Operation Method

Source: Internet
Author: User

I. Parameters for starting playback:

On the terminal, enter./mplayer to prompt for various help information.

-Vo <DRV [: Dev]> select the video output mode and device (use '-vo help' to view the list)
-AO <DRV [: Dev]> select the audio output mode and device (use '-ao help' to view the list)
-SS <timepos> searches for the specified location (How many seconds or hh: mm: SS)
-Nosound
-FS-VM-zoom full screen playback option (fullscr, vidmode chg, softw. Scale)
-X <x>-Y <Y> sets the playback resolution (used to change vidmode or software scaling)
-Sub <File> specifies the subtitle file used (see-subfps,-subdelay)
-Playlist <File> specifies to use a playlist file.
-Vid X-aid Y: select the video (X) and audio (y) streams used for playback.
-Fps x-srate Y: changes the video (x FPS) and audio (Y Hz) rates.
-PP <quality> Use post-processing filters (for details, see manpage/docs)
-Frameddrop uses frame-dropping (for slow machines)

Ii. control keys during playback
Basic control key: (for the complete list, see manpage and check the input. conf)
<-Or-> Search backward/forward for 10 seconds
Up or down search backward/forward for 1 minute
Pgup or pgdown backward/forward search for 10 minutes
<Or> jump to the first or next one in the playlist.
P or space pause (press any key to continue)
Q or ESC stops playing and releases
+ Or-adjust the audio latency +/-0.1 seconds
O-loop OSD mode: NONE/seekbar + Timer
* Or/increase or decrease the PCM volume

Z or X adjust subtitle latency +/-0.1 seconds

R or t to adjust the subtitle position. For details, see-VF expand!


Iii. mplayer instance:

# Mplayer filename (PC Edition)

#./Mplayer-AC mad filename (arm Version)

// You can play the audio. You have tested the audio and video formats such as. MP3. wmv. MGP. MP4.

#./Mplayer-ss 10

// Start playing from 10s

#./Mplayer-SS 00:01:00

// Start playing from 1st minutes

#./Mplayer-FS-zoom-x 160-y 120

// Play the video in the center of 160*120

//-Fs works with-zoom for center playback.-Zoom-x Width-y height specifies the width and height of the playback window.

# Mplayer filename-caceh 8192

//-Caceh 8192 sets the cache to 8 m

#./Mplayer-loop 5 File

//-Loop 5: this file is played cyclically for five times. If it is set to 0, it indicates that the video is not played continuously.

# Ls/Video/Tom/*. Avi> Tom. lst

// Create a file playback list

# Mplayer-playerlist Tom. lst-shuffle

//-Playerlist specifies the playlist and-shuffle specifies random playback.

#./Mplayer-AC mad-VOP rotate = 1 matrix. mpg rotation 90 degrees

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.