Hi Maciek,<div><br></div><div>Have you checked freescale's forum? you might find some useful info.</div><div><a href="https://community.freescale.com/message/265984#265984">https://community.freescale.com/message/265984#265984</a></div>
<div><br></div><div>For me I'm not using ffmpg from gstreamer. I'm using a locally modified version from <a href="http://libav.org">libav.org</a> </div><div>To connect to a camera simply I'm calling:</div><div>
av_open_input_file(filename,NULL,0,NULL) </div><div>Filename =<a href="http://192.168.113.119/ad_display_pic.cgi?txmode=mime&format=jfif&res=hi&cam=1">http://192.168.113.119/ad_display_pic.cgi?txmode=mime&format=jfif&res=hi&cam=1</a></div>
<div><br></div><div>I tried to use VPU libs but there were so many errors like delay's and disconnections.</div><div>Gstreamer is more reliable for some reason.</div><div><br></div><div>The main gstreamer config:</div>
<div><div><span class="" style="white-space:pre"> </span>g_object_set(G_OBJECT(ctx->appsrc), "is-live", TRUE, "block", FALSE,"do-timestamp", TRUE, </div><div><span class="" style="white-space:pre"> </span> "format",GST_FORMAT_TIME,NULL);</div>
</div><div><br></div><div>That works with mfw_v4lsink but is not really what I want.</div><div><br></div><div>I still need to figure out how to use mfw_isink to utilise scaling and overlay features.</div><div>If you you have more info on this that will be great.</div>
<div><br></div><div>Thanks,</div><div>Tarek</div><div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Dec 13, 2012 at 10:00 AM, bamboosso <span dir="ltr"><<a href="mailto:laski.maciej@gmail.com" target="_blank">laski.maciej@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Tarek,<br>
<br>
Well, freescale also provide codeck pack with driverd to their VPU, which<br>
are then used in gstreamer plugin. But gstreamer is ok tu use I think.<br>
My problem is that when I record video from rtsp camera no frames are<br>
dropped. And when I use VPU, vpu drops a lot of frames according to<br>
timestams problems so I have a lot of artefacts on playback and I don't know<br>
why because timestamps that outs from rtph264depay are set.<br>
<br>
Do you use ffmpeg provided with gstreamer?<br>
Do you have to set proper caps od srcpad for your appsink?<br>
Maybe you can share some sample code how to use ffmpeg to grab data from<br>
camera?<br>
<br>
This issue id driving me crazy.<br>
<br>
Thanks<br>
Maciek<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Video-stream-timestamps-problem-tp4657379p4657405.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/Video-stream-timestamps-problem-tp4657379p4657405.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div><br></div>