[Libav-user] how to send new metadata to rtmp stream by flv muxer

Steven Liu lingjiujianke at gmail.com
Mon Nov 14 14:02:48 EET 2016


2016-11-12 17:18 GMT+08:00 qw <applemax82 at 163.com>:

> Hi,
>
> I have one question about ffmpeg lib usage. If rtmp url link is used as
> input and ouput address, then flv muxer/demuxer and rtmp plugin will be
> chosen to process av stream. At the beginning, one onMetaData message will
> be sent to output rtmp stream. But in the middle of time, I want to update
> av information, such as bitrate and frame rate. How to send another new
> onMetaData message to output rtmp stream? and What ffmpeg functions can be
> used to send the message?
>

This is decided by rtmp server, it can seek if the rtmp server support seek,
but some live streaming media server dosen't support seek, for example,
SRS(SImple RTMP Server), so if you want to update your metadata, perhaps
resend all of the metadata is a better way!

>
> Thanks!
>
> Regards
>
> Andrew
>
>
>
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20161114/e8600be9/attachment.html>


More information about the Libav-user mailing list