![]() ![]() libavfilter provides a filter graph for A/V data (think ffmpeg -filter / -filter_complex options).libavdevice is for working with devices such as audio capture and playback devices.libavutil is a general utility library containing some math functions and other common stuff.The other libraries perform various related functions: These are the only two libraries which you absolutely need to deal with directly when working with common video files. Accordingly, the main libraries to use when working with video files using FFmpeg are libavcodec and libavformat, which deal with those two parts, respectively. In general, video files are made up of two main parts: 1) the actual audio and video data, which is encoded through through the use of codecs (most commonly H.264, VP8/VP9, Theora, AAC, Vorbis, Opus, I think) and 2) some „packaging” called container format, which is generally responsible for organising both video and audio into a single file as well as providing some meta data (common examples: MP4, AVI, WebM, Matroska). The exact details of this depend on the operating system, but it always involves downloading an ffmpeg binary from an online source and then copying or moving it to the plugins folder. As far as I know, the ffmpeg binary is not added by our build process, it must either be added manually, or added during the deploy process, which you can find in the. Frames can be fed in through stdin or saved to files and added as arguments (this is how we used to do it). Then we use that path to run ffmpeg with the desired arguments using QProcess. In particular we get the location with ffmpegLocation(), which returns a result depending on the operating system, but is usually in a plugins folder somewhere in or around the executable. If you insist on the binary approach however, you should look at core_lib/movieexporter.cpp, that is where you will find most of the exporting work we do. You can look at our incomplete implemenation of this for reference here. FFmpeg has a c library (libav) which should be used instead. I would actually not recommend using ffmpeg in the way that we do. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |