FFmpeg Learning-Player decoding process (pre-editing)

Source: Internet
Author: User

Player decoding process

1, Demux: Media files Midrange video data is compressed together, the single compression algorithm is different, so it is necessary to decode the audio and video data before decoding, the audio and video data will be separated

2, decoding,ffmpeg in the decoding process corresponding to the API function

FFmpeg in Demux This step is through

Avformat_open_input (): Read the header information of the file and do Demux, then can read the audio and video stream in the media file

Av_read_frame (): Reads and removes basic data streams from audio and video streams packet

Avcodec_decode_video2 (): Read packet, decode with appropriate API

FFmpeg Learning-Player decoding process (pre-editing)

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.