

Please peg the version you use accordingly.
#FFMPEG BUILD FLAGS PATCH#
Since we can only freely bump the patch level, versioning of this crate differs from semver: minor versions may behave like semver major versions and introduce backward-incompatible changes patch versions may behave like semver minor versions and introduce new APIs. Patch level is reserved for changes to this crate and does not track FFmpeg patch versions.
#FFMPEG BUILD FLAGS SERIES#
4.2.x of this crate has been updated to support the 4.2.x series of FFmpeg. See CHANGELOG.md for other information on version upgrades.Ī word on versioning: major and minor versions of this crate track major and minor versions of FFmpeg, e.g. Deprecation plan: ffmpeg43 will be dropped from default features come 4.4, and all these features will be removed come 5.0. If you manually specify any of these features, now is the time to remove them if you use ffmpeg43 through the default feature, it's still on for backward-compatibility but it has turned into a no-op, and you don't need to do anything.

Note on upgrading to v4.3.4 or later: v4.3.4 introduced automatic FFmpeg version detection, obsoleting feature flags ffmpeg4, ffmpeg41, ffmpeg42 and ffmpeg43. This is a fork of the abandoned ffmpeg crate by meh.Ĭurrently supported FFmpeg versions: 3.4.x through 4.4.x.īuild instructions can be found on the wiki. srt-live-transmit srt://:?mode=rendezvous file://con >. srt-live-transmit udp://:5000 srt://:?mode=rendezvous Send to UDP localhost port 5000: ffmpeg -f lavfi -re -i smptebars=duration=60:size=1280x720:rate=30 -f lavfi -re \ Example with FFmpeg and srt-live-transmit test application preset veryfast -f mpegts "srt://127.0.0.1:4200?pkt_size=1316"įFmpeg example: RTSP to SRT ffmpeg -i rtsp:// -c copy -f mpegts srt:// Examples FFmpeg example: Grabbing X11 desktop screen and streaming to SRT ffmpeg -f x11grab -follow_mouse centered -r 25 -s cif -i :0.0 \įFmpeg example with SMPTE bars test video source ffmpeg -f lavfi -re -i smptebars=duration=60:size=1280x720:rate=30 -f lavfi -re \ This option will slow down the reading of the input(s) to the native frame rate of the input(s). By default ffmpeg attempts to read the input(s) as fast as possible.

live input streams (where it can cause packet loss). Mainly used to simulate a grab device, or live input stream (e.g. Using TShark & Wireshark to Analyse SRT Traffic Projects and Applications with SRT supportįFmpeg example: Grabbing X11 desktop screen and streaming to SRTįFmpeg example with SMPTE bars test video sourceĮxample with FFmpeg and srt-live-transmit test application
