<div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif"><div class="gmail_default">Hi, I'm trying to use ffmpeg to stream rtmp streams to Youtube. Youtube recommends below settings for x264 encoder:</div><div class="gmail_default"><br></div><div class="gmail_default"><table style="margin:0px;padding:0px;border:0px;outline:0px;font-size:13px;font-family:'Helvetica Neue',HelveticaNeue,Helvetica,sans-serif;vertical-align:baseline;border-collapse:collapse;border-spacing:0px;color:rgb(68,68,68);line-height:22px"><tbody style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:inherit;font-family:inherit;vertical-align:baseline"><tr style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:inherit;font-family:inherit;vertical-align:baseline"><td style="font-family:inherit;padding:5px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:inherit;vertical-align:top">Frame types:</td><td style="font-family:inherit;padding:5px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:inherit;vertical-align:top">Progressive Scan, <font color="#ff0000">2 B-Frames, 1 Reference Frame</font></td></tr></tbody></table>I'm not sure what the "2 B-Frames, 1 Reference Frame" mean.</div><div class="gmail_default"><br></div><div class="gmail_default">Could anyone let me know their meaning and how to set them in ffmpeg? Thanks</div></div></div>