[Libav-user] how to parse audio/video information for rtmp protocal

qw applemax82 at 163.com
Wed Jun 29 09:07:41 CEST 2016

//Can av_dump_format anwser your question?
thanks for your help. It's the function that i want.

At 2016-06-29 11:20:17, "Steven Liu" <lingjiujianke at gmail.com> wrote:

2016-06-29 10:58 GMT+08:00 qw <applemax82 at 163.com>:


FFmpeg has its native rtmp plugin, and also can use rtmpdump instead if enable-librtmp is chosen when building ffmpeg.

I have reviewed rtmp specification, where client and server can notify its peer of audio/video information via metadata message, and of audio/video codec via connect command.

For live-streamming application, what is the common way to get audio/video information, such as bit rate, audio channel number, sample rate, and frame rate? Are there some ffmpeg functions to get those information?




Can av_dump_format anwser your question? 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20160629/d6d4063f/attachment.html>

More information about the Libav-user mailing list