gstreamer/subprojects/gst-libav
Jesper Jensen 83373f786b avprotocol: Return EOF when stream is out of data
According to the ffmpeg documentation[1] the read_packet function should never
return 0. ffmpegdata_peek returns 0 when the stream is EOF causing us to fail
detecting EOF and never close the pipeline, continually spinning on more data.
ffmpeg instead wants an AVERROR_EOF code for to signal EOF.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7299>
2024-08-05 12:24:52 +01:00
..
docs typefind: Add typefinders for formats that were previously available via ffmpeg 2024-07-08 16:25:32 +00:00
ext/libav avprotocol: Return EOF when stream is out of data 2024-08-05 12:24:52 +01:00
scripts
tests
.gitignore
AUTHORS
COPYING
gst-libav.doap Release 1.24.6 2024-07-29 16:41:37 +01:00
meson.build Back to development after 1.24.6 2024-07-29 16:48:02 +01:00
meson_options.txt
NEWS Release 1.24.6 2024-07-29 16:41:37 +01:00
README.md
RELEASE Release 1.24.6 2024-07-29 16:41:37 +01:00

gst-libav

This module contains a GStreamer plugin for using the encoders, decoders, muxers, and demuxers provided by FFmpeg. It is called gst-libav for historical reasons.

Plugin Dependencies and Licenses

GStreamer is developed under the terms of the LGPL-2.1 (see COPYING file for details), and that includes the code in this repository.

However, this repository depends on FFmpeg, which can be built in the following modes using various ./configure switches: LGPL-2.1, LGPL-3, GPL, or non-free.

This can mean, for example, that if you are distributing an application which has a non-GPL compatible license (like a closed-source application) with GStreamer, you have to make sure not to build FFmpeg with GPL code enabled.

Overall, when using plugins that link to GPL libraries, GStreamer is for all practical reasons under the GPL itself.

The above recommendations are not legal advice, and you are responsible for ensuring that you meet your licensing obligations.