<div dir="ltr">On Thu, Jun 13, 2013 at 5:52 PM, Carl Eugen Hoyos <span dir="ltr"><<a href="mailto:cehoyos@ag.or.at" target="_blank">cehoyos@ag.or.at</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Dragos Iordache <dragoshiordache@...> writes:<br>
<div><br>
> On Thu, Jun 13, 2013 at 5:36 PM, Carl Eugen Hoyos wrote:<br>
> > Dragos Iordache <dragoshiordache <at> ...> writes:<br>
> > > The stream is not showing and the recorded video does not<br>
> > > allow seeking, it just freezes and cannot be played.<br>
> ><br>
> > Can you reproduce the problem with ffmpeg (the application)?<br>
><br>
</div><div>> No. I am using my own H264 encoder that produces<br>
> the correct output<br>
<br>
</div>Does that mean if you feed your encoders output into<br>
ffmpeg (the application), then everything works fine?<br>
<br>
Out of curiosity: Which h264 encoder works better for<br>
you than x264?<br>
<br>
Please do not top-post here, Carl Eugen<br>
<div><div><br>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org" target="_blank">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
</div></div></blockquote></div><br>Hi,</div><div class="gmail_extra"><br></div><div class="gmail_extra">I had some time to do some more tests. <br></div><div class="gmail_extra"><br></div><div class="gmail_extra">To answer your first question, I am using the ffmpeg on an Android and compress the frames with stagefright. </div>


<div class="gmail_extra"><br></div><div class="gmail_extra">If my output is a file ("test.h264") then everything works ok. I can play the video, seek to any point and it look ok. If I use a rtmp server as the output, then the live stream is black and if I record the stream, it cannot be played back. For the rtmp server I use <a href="http://justin.tv" target="_blank">justin.tv</a> servers. </div>


<div class="gmail_extra"><br></div><div class="gmail_extra">After I capture the frames that leave my device (Shark app for root) they look nothing as the data I pass to the AVPacket. I open them with wireshark on desktop and the rtmp body does not contain the data I hoped. So, my encoder generates the right output, but when they are written on the network the packet doen not contain the frame.</div>

<div class="gmail_extra"><br></div><div class="gmail_extra" style>I think it is a problem with rtmp + flv + h264 encoder in ffmpeg, because I create the codec too.</div><div class="gmail_extra" style><br></div><div class="gmail_extra" style>

Do you have any ideas?</div><div class="gmail_extra" style><br></div><div class="gmail_extra" style>Thanks,</div><div class="gmail_extra" style>Dragos</div><div class="gmail_extra"><div><br></div>-- <br><br><a href="mailto:dragoshiordache@gmail.com" target="_blank">dragoshiordache@gmail.com</a><br>


0726736376
</div></div>