<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt"><div>Greetings everyone,</div><div><span style="font-size: 10pt;"> </span></div><div style="color: rgb(0, 0, 0); font-size: 10pt; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"><span style="font-size: 10pt;"> In the past, I had asked about problems using Adobe flashplayer connected to a stream which uses</span></div><div style="color: rgb(0, 0, 0); font-size: 10pt; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"><span style="font-size: 10pt;">intra-refresh and the zerolatency options. IT works fine without the intra-refresh, and didnt work</span></div><div style="color: rgb(0, 0, 0); font-size: 10pt; font-family: 'Courier New', courier, monaco, monospace,
sans-serif; background-color: transparent; font-style: normal;"><span style="font-size: 10pt;">with the intra-refresh.</span></div><div style="color: rgb(0, 0, 0); font-size: 10pt; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"><span style="font-size: 10pt;"><br></span></div><div style="color: rgb(0, 0, 0); font-size: 13.333333969116211px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"><span style="font-size: 10pt;"> With some experimentation, </span><span style="font-size: 10pt; background-color: transparent;">I've come to believe that flashplayer needs to see the first full IDR frame </span></div><div style="color: rgb(0, 0, 0); font-size: 10pt; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"><span style="font-size: 10pt;
background-color: transparent;">(the first frame in intra </span><span style="font-size: 10pt; background-color: transparent;">refresh is a full I-frame). In other words, if flashplayer sees the first frame </span></div><div style="color: rgb(0, 0, 0); font-size: 10pt; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"><span style="font-size: 10pt; background-color: transparent;">then the stream is fine, if not, it doesnt play. Connecting to an already present stream didnt play.</span></div><div style="color: rgb(0, 0, 0); font-size: 10pt; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"><span style="font-size: 10pt; background-color: transparent;">Connecting to a server before the stream has started and waiting for the stream to start plays fine.</span></div><div style="color: rgb(0, 0, 0); font-size:
10pt; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"><span style="font-size: 10pt; background-color: transparent;">Other players like mplayer, avconv etc., work fine to connect to the stream after it has started, which leads</span></div><div style="color: rgb(0, 0, 0); font-size: 10pt; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"><span style="font-size: 10pt; background-color: transparent;">me to believe it is an issue with flashplayer. </span></div><div style="color: rgb(0, 0, 0); font-size: 13.333333969116211px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"> Really appreciate the community's advice on whether this <span style="background-color: transparent;">is this a known issue with flashplayer.</span></div><div
style="color: rgb(0, 0, 0); font-size: 13.333333969116211px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"><span style="background-color: transparent;"> If so, how to get around it ? I am using the latest and greatest</span><span style="background-color: transparent;"> version of flashplayer on different platforms.</span></div><div style="color: rgb(0, 0, 0); font-size: 13.333333969116211px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"><span style="background-color: transparent;"> It seems like a problem which makes the intra-refresh mode unusable for my configuration.</span></div><div style="color: rgb(0, 0, 0); font-size: 10pt; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0);
font-size: 13.333333969116211px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"> Additional info:</div><div style="color: rgb(0, 0, 0); font-size: 13.333333969116211px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"> The toolchain I am using is:</div><div style="color: rgb(0, 0, 0); font-size: 13.333333969116211px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"> gstreamer for encoding, crtmpserver as rtmp server, flashplayer as the viewer in a browser.</div><div style="color: rgb(0, 0, 0); font-size: 13.333333969116211px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="font-family: 'Courier New', courier, monaco, monospace,
sans-serif; font-size: 10pt;"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><div class="y_msg_container"><div id="yiv8771358237"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt;"><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"> A sample pipeline is:</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"> % gst-launch videotestsrc is-live=true ! video/x-raw-yuv,framerate=20/1,width=480,height=320 \</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color:
transparent; font-style: normal;"> ffmpegcolorspace ! x264enc tune=zerolatency speed-preset=veryfast profile=baseline \</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"> intra-refresh=true pass=qual quantizer=23
\</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"> ! flvmux ! tcpclientsink port=6666</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"> This is sent to crtmpserver which publishes the stream at (say)</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"> rtmp://<hostname>/live/streamFlv</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family:
'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"> </div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"> I am able to read the output using rtmpdump to a file, or to view it on the command line using avplay. But flash doesnt show anything (just the rotating arrow / blank screen) if it connects to the stream after it starts. </div><div style="color:rgb(0, 0, 0);font-size:13px;font-family:'Courier New', courier, monaco, monospace, sans-serif;background-color:transparent;font-style:normal;" class="yui_3_7_2_353_1373699978997_82">This works fine if flashplayer connects to the server before the stream starts. It does not work if the</div><div style="color:rgb(0, 0, 0);font-size:13px;font-family:'Courier New', courier, monaco, monospace,
sans-serif;background-color:transparent;font-style:normal;" class="yui_3_7_2_353_1373699978997_82">flashplayer connects to an existing stream.</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"> </div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"> </div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;">thanks,</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;">bgpl</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Courier New', courier,
monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"> </div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"> </div></div></div></div><br><br></div> </div> </div> </div></body></html>