A simple library to extract video and audio frames from media containers (based on libav).
Fixed the error that occurred in the case of building a Docker image for the application that uses the library.
@keithgoldberg fixed crashes on uknown streams.
It's now possible to read network streams via RTMP, RTSP, etc. just like usual media files. See examples/rtmp. It's the same as examples/player, but the NetworkInitialize
function needs to be called before opening the network stream. The stream address (for example, rtmp://127.0.0.1/live/stream
) needs to be supplied for NewMedia
as a file name.
Fixed obtaining the number of streams in the media (it may not be present before finding the stream info).
Used the pkg-config
directive and the ffmpeg
package from brew
to make the library build on Mac OS. Thanks to @kibab and @daniel-orlov.
A critical audio frame decoding hotfix by @samhocevar
Missing BSF header file added. Fixed building process.
It's now possible to apply bitstream filters to streams. Bitstream filters serve to transform encoded packet data into a different form. New methods of the baseStream
struct are ApplyFilter
, RemoveFilter
and Filter
. See the player example for usage.
The full list of bitstream filters and their parameters is located here.
New features are available:
Rewind
method for streams;Please create an issue if you encounter an error (especially if the error is related to compatibility).
New features: