Where can I find the extensive C / C ++ FFmpeg tutorial?

I want to use ffmpeg (in its library form) to split the video into several parts, correct them and encode the final result. Something basic. But it’s very difficult to find documentation or hints of it. Where should I seek / ask for advice?

+8
c ++ c ffmpeg video-editing
source share
2 answers

You can learn a lot from the source of the command line utilities supported by the FFmpeg project.

In ffplay.c, main () will show you how to initialize the library. stream_component_open () shows the matching codecs with the streams on the media, and get_video_frame () shows how to decode the packet and receive its PTS (presentation timestamp). You will need time to get your cleavage right.

This should help you get started with decoding. On the encoding side, see ffmpeg.c . It's bigger and more complicated than ffplay, but the frame encoding process almost reflects the decoding process, so when you work with decoding, it should make more sense.

+5
source share

I was looking for the FFmpeg and php tutorial, but I found the following places to study it in any language book, I think this is the only book about FFmpeg FFmpeg basics: multimedia processing with fast audio and video encoder

http://www.amazon.com/FFmpeg-Basics-Multimedia-handling-encoder/dp/1479327832/ref=sr_1_12?ie=UTF8& QID = 1357356672 & cf = 8-12 & keywords = FFmpeg

enter image description here

and place scond http://ffmpeg.org/documentation.html

+3
source share

All Articles