Write the video and audio frame data and calculate pts according to the timebase

69 thousand Unauthorized reproduction is prohibited Understanding the course
Course Introduction
discuss {{interaction.discussNum ? '(' + interaction.discussNum + ')' : ''}}
Suitable for people
Students who have some C or C++foundation, want to improve their practical ability, want to learn ffmpeg and qt, and want to learn live broadcast technology
You will learn
This course is based on the popular live broadcast technology FFMpeg3.3 audio and video processing framework, and widely used c++cross platform
Course Introduction


This course explains the audio and video processing framework based on the live broadcast technology FFMpeg3.3, and the widely used C++cross platform QT5 library (mainly used as the interface). A complete screen recorder project developed, including desktop recording (based on QT (cross platform), directx (efficient)), (based on QT5) microphone recording, audio and video h264 encoding, MP4 packaging. QT rounded border interface.

The development tool is based on vs2013, but also applies to higher versions of vs.


Lecturer: [Xia Caojun]

Code download method
The course provides all source code and project files, which can be downloaded from the learning materials on the course introduction page


Interface

 Interface.png

Course outline



 FFmpeg Audio and Video Coding Practical Screen Recorder.png



Expand more
release
 head portrait

{{ item.user.nick_name }} {{ EROLE_NAME[item.user.identity] }}

Topping note
 Discussion Chart
{{ item.create_time }} reply
  • delete

    Are you sure to delete?

    confirm
    cancel
  • {{item. is_top==1? 'Cancel topping': 'topping'}}

    The discussion that has been set to the top, do you want to replace the existing one?

    confirm
    cancel
{{ tag.text}}
 head portrait
{{ subitem.user.nick_name }} {{ EROLE_NAME[subitem.user.identity] }}
{{ subitem.create_time }} reply
delete

Are you sure to delete?

confirm
cancel
release
{{pageType==='video '?' The discussion area grabs the sofa, and you can get double credits': 'The discussion area is empty, please say two sentences~'}}
release
{{tips.text}}
{{ noteHeaderTitle }} note {{hasMyNote? 'My notes':' Take notes'}}
{{hasMyNote? 'My notes':' Take notes'}}
Quality Notes
Updated on: {{$dayjs. format ('YYYY-MM-DD HH: mm: ss', item.last_uptime*1000) }}
 head portrait
{{ detail.username }}

Public notes are visible to others and have the opportunity to be rated as "high-quality notes" by the administrator

{{ noteEditor.content.length }}/2000

Public Notes
preservation
put questions to

The lecturer will answer your questions as soon as possible. If you choose to ask questions in public, you can get more help from students.

Record time point
Record the time when the video is played when asking questions, so as to facilitate subsequent viewing
Open questions
Submit