Ffplay shortcut keys and options __ffplay

Source: Internet
Author: User

Ffplay is the FFmpeg project provides the player, the function is quite powerful, all ffmpeg supported the visual and audio format it basically supports. Even some streaming media not supported by VLC can be played (for example, rtmp), but its disadvantage is that it is not a graphical interface and must be operated by the keyboard. So this article describes its shortcut keys and options.

shortcut Keys

When playing video and audio files, you can control the playback of video and audio through the following keys

Keys

Role

Q, ESC

Exit

F

Fullscreen

P, Space

Time out

W

Show Audio waveforms

S

Display by frame

Left direction key/right ARROW key

Back 10s/forward 10s

Up ARROW/DOWN ARROW key

Back 1min/forward 1min

Page Down/page up

Back 10min/forward 10min

Mouse click Screen

Jumps to the specified position (based on the width of the mouse position relative to the screen)

Options

Before you play the video, you can preset some parameters.

In general, when playing video, use the command:

Ffplay "JJ Lin _ Jiangnan. flv"

If we want to automatically exit after the playback is complete, you can use the command:

Ffplay-autoexit "JJ Lin _ Jiangnan. flv";

All commands are shown in the following list.

Name

With parameters

Role

X

Y

Force screen width

Y

Y

Force screen Height

S

Y

Force Screen Size

Fs

N

Fullscreen

An

N

Turn off audio

Vn

N

Turn off video

Ast

Y

Set the audio stream you want to play (you need to specify the stream ID)

VSt

Y

Set the video stream you want to play (you need to specify the stream ID)

Sst

Y

Set the caption stream you want to play (you need to specify a stream ID)

Ss

Y

Play from a specified location, in seconds

T

Y

Play the specified length of video

Nodisp

N

No display screen

F

Y

Force Encapsulation Format

Pix_fmt

Y

Specify pixel format

Stats

N

Show statistic Information

iDCT

Y

IDCT algorithm

Ec

Y

Error Concealment method

Sync

Y

Video/audio sync mode (type=audio/video/ext)

AutoExit

N

Playback completes auto exit

Exitonkeydown

N

Press the key to exit

Exitonmousedown

N

Press the mouse to exit

Loop

Y

Specify the number of loops

Framedrop

N

Lose the frame when the CPU is not enough

Window_title

Y

Display the title of a window

Rdftspeed

Y

RDFT speed

Showmode

Y

Display Mode (0 = video, 1 = waves, 2 = rdft)

Codec

Y

Force decoder

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.