<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><br>//Can av_dump_format anwser your question? <br>thanks for your help. It's the function that i want.<br><br><br><div style="position:relative;zoom:1"></div><div id="divNeteaseMailCard"></div><br>At 2016-06-29 11:20:17, "Steven Liu" <lingjiujianke@gmail.com> wrote:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2016-06-29 10:58 GMT+08:00 qw <span dir="ltr"><<a href="mailto:applemax82@163.com" target="_blank">applemax82@163.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div class=""><div class="h5"><div style="line-height:1.7;color:rgb(0,0,0);font-size:14px;font-family:Arial">Hi,<br><br>FFmpeg has its native rtmp plugin, and also can use rtmpdump instead if enable-librtmp is chosen when building ffmpeg.<br><br>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.<br><br>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?<br><br>Thanks!<br><br>Regards<br><br>Andrew</div></div></div></blockquote><div><br></div><div>Can av_dump_format anwser your question? </div></div></div></div>
</blockquote></div><br><br><span title="neteasefooter"><p> </p></span>