Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

FFmpeg API books, tutorial, etc [duplicate]

Tags:

c++

ffmpeg

Possible Duplicate:
ffmpeg C API documentation/tutorial

Hi! A have a task to write on-line screen recording using FFmpeg library with C++, but I can't find some documentation, manual, textbook etc. I didn't work with audio-video before at all, I don't know how to start, and can't find where to learn it. Can you help me with that?

like image 605
Alecs Avatar asked Jun 03 '11 15:06

Alecs


People also ask

What output files does FFmpeg support?

There are three output files specified, and for the first two, no -map options are set, so ffmpeg will select streams for these two files automatically. out1.mkv is a Matroska container file and accepts video, audio and subtitle streams, so ffmpeg will try to select one of each type.

How much does FFmpeg cost?

FFmpeg Basics Multimedia handling with a fastaudio and video encoder PDF VersionPrice: $9.50 The book will try to make you familiar with FFmpeg tools that are used by Facebook, Google and many other companies. You will learn how to: scale, pad, crop, flip, rotate, blur, sharpen and denoise video speed up or slow down audio and video

How does FFmpeg select audio and video streams in Matroska?

out1.mkv is a Matroska container file and accepts video, audio and subtitle streams, so ffmpeg will try to select one of each type. For video, it will select stream 0 from B.mp4, which has the highest resolution among all the input video streams. For audio, it will select stream 3 from B.mp4, since it has the greatest number of channels.

How to use ffmpeg to search for preset files?

For example, if the argument is libvpx-1080p, it will search for the file libvpx-1080p.ffpreset . If no such file is found, then ffmpeg will search for a file named codec_name - arg .ffpreset in the above-mentioned directories, where codec_name is the name of the codec to which the preset file options will be applied.


1 Answers

In that case, you should check these ffmpeg tutorials.

They show how to open a video file, read/write frames, sync audio and video and a lot more.

like image 54
karlphillip Avatar answered Oct 11 '22 12:10

karlphillip