<div dir="ltr">Hello,<div><br></div><div>A little bit info about my application:</div><div>I have created H264 RTP Multicast application, based on <strong style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium">testH264VideoStreamer</strong><span style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium"> application. Instead from a file, I'm interested in streaming H264 from Microsoft Media Foundation H264 Video Encoder (</span><font color="#000000" face="Times New Roman" size="3"><a href="http://msdn.microsoft.com/en-us/library/windows/desktop/dd797816(v=vs.85).aspx">http://msdn.microsoft.com/en-us/library/windows/desktop/dd797816(v=vs.85).aspx</a>)</font></div>
<div><font color="#000000" face="Times New Roman" size="3"><br></font></div><div><font color="#000000" face="Times New Roman" size="3">So, I've sub classed FramedSource and created my own H264FramedSource which feeds the H264VideoStreamDiscreteFramer.</font></div>
<div><font color="#000000" face="Times New Roman" size="3"><br></font></div><div>So far so good: I've tested with VLC and openRTSP and my server is streaming packets to them.</div><div><br></div><div>Now the problem is that the picture is all scrambled. I know that it got something to do with how I deliver/handle NAL Units and this is my question to this forum.</div>
<div><br></div><div>From the encoder, I get buffers with multiple NAL Units. NAL Units are all with 0x00000001 start codes. I strip this codes from the buffers, break the buffer and send the packets as separate NAL units.</div>
<div><br></div><div>Also, I get NAL Units with fragments. As much as I understand, live555 lib can handle NAL Units with fragments. But anyway, I've tried it both ways:</div><div>1. send NAL Units as single packet or</div>
<div>2. divide fragments and send them separately.</div><div>If 1, I get a scrambled picture in VLC, if 2 I get no picture at all.</div><div><br></div><div>Can somebody point to me where I should be looking next, and where might the problem be? What should I be looking on?</div>
<div><br></div><div>Thanks,</div><div>Goran.</div></div>