libav: add avsrc
@drakkan
Submitted by Nicola Link to original bug (#788583)
Description
Created attachment 361025
add avsrc
This patch add an avsrc element. I use it to receive rtmp streams.
I think the patch should be improved in several ways to be accepted upstream, anyway it works fine for my use case as is and for now I have no more time to work on it.
I think this patch can help other people that have to deal with rtmp in gstreamer to save time.
rtmp support in ffmpeg seems quite good and well supported, it works perfectly with the stream I have to receive, for example rtmp2 element is unable to receive them.
To enable avsrc element you need to enable network protocols in libav for example configuring it this way:
./configure --with-libav-extra-configure="--enable-network --enable-openssl --enable-protocol=rtmp --enable-protocol=rtmpe --enable-protocol=rtmps --enable-protocol=rtmpt --enable-protocol=rtmpte --enable-protocol=rtmpts --enable-protocol=tls_openssl"
Patch 361025, "add avsrc":
0001-add-avsrc-element.patch
Version: 1.x