Releases: zergon321/reisen
Fixed the Docker build
Testing v0.1.9
v0.1.9-test pkg-config directives added to the dependent files.
Unknown stream type added
@keithgoldberg fixed crashes on uknown streams.
Network streams reading added
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).
Mac OS build fixed
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.
Fixed memory corruption on audio decoding
A critical audio frame decoding hotfix by @samhocevar
BSF header hotfix
Missing BSF header file added. Fixed building process.
Bitstream filtering added
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.
Rewind and access to the packet contents
New features are available:
- bundling on Windows added;
- fixed Mac OS compatibility for some functions (thanks to @andydotxyz );
- added the
Rewind
method for streams; - added methods to access the contents of the packet.
Please create an issue if you encounter an error (especially if the error is related to compatibility).
Video scaling added
New features:
- helper functions to get only video streams of the media or only audio streams of the media;
- scaling - an opportunity to receive video frames in a resolution different from the original one;
- interpolation algorithms enumeration; it's now possible to choose an interpolation algorithm for video frames scaling.