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?
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.
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
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With