<div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif">Hi guys,</div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">I'm now planning to add Youtube streaming feature into my program. It already has the ability to capture from a webcam and save to a MP4 file using ffmpeg.</div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">As we know ffmpeg command line tool can be used to stream to Youtube live directly, just replace the normal file name with an URL starting with rtmp://xxx in a normal convert command will do the work (assuming all encoding parms are correct).</div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">Below is the example code in muxing.c from doc/examples comes with ffmpeg sourcecode.</div><div class="gmail_default" style="font-family:georgia,serif">What I want to know is, if I supply a "rtmp://xxx" string as the filename, will the compiled program, like the ffmpeg command line tool, transparently do all those connecting, handshaking stuff  so I can do a rtmp streaming just like convert to a file?</div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">Thanks</div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif"><img src="cid:ii_i4kx2aj50_14abe00f43d2e510" width="544" height="388"><br>​<br></div><div class="gmail_default" style="font-family:georgia,serif">So my question is, </div></div>