ah I guess I know the issue,<br>most probably v4l2src is not copying the captured video in dm365 dmai buffer, and that could be an issue. I dont recall it immediately, but just a clue ?<br><br>Best Luck<br>Kapil<br><br><div class="gmail_quote">
On Wed, Sep 14, 2011 at 11:00 PM, Paul Stuart <span dir="ltr"><<a href="mailto:paul_stuart@seektech.com">paul_stuart@seektech.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<u></u>
<div bgcolor="#ffffff" text="#000000">
Hello Kapil,<br>
Right you are!<br>
<br>
But...still doesn't work. I'm strongly suspecting TI's <font face="Times New Roman" size="3"><span style="font-size:12pt">TIImgenc1
implementation at this point. Looking at the source code for it, it
looks like it *should* work, as they've implemented a circular buffer
system to buffer incoming and outgoing buffers. When I turn logging on,
I see the following snippet:<br>
<br>
GST_ERROR_SYSTEM
gstelement.c:1761:gst_element_message_full:<tiimgenc10> posting
message: Failed to queue input buffer into circular buffer<br>
<br>
0:06:58.383303446 2220 0xfabc0 INFO GST_ERROR_SYSTEM
gstelement.c:1784:gst_element_message_full:<tiimgenc10> posted
error message: Failed to queue input buffer into <br>
</span></font><font face="Times New Roman" size="3"><span style="font-size:12pt">circular buffer</span></font><br>
<font face="Times New Roman" size="3"><span style="font-size:12pt"><br>
<br>
So...digging deeper into </span></font><font face="Times New Roman" size="3"><span style="font-size:12pt">TIImgenc1<br>
<br>
Thanks!<br><font color="#888888">
Paul<br>
</font></span></font><div><div></div><div class="h5"><font face="Times New Roman" size="3"><span style="font-size:12pt"><br>
</span></font>Kapil Agrawal wrote:
<blockquote type="cite">Hello Paul,<br>
<br>
I think your pipeline should look like, added a queue after tee<br>
<br>
<font face="Times New Roman" size="3"><span style="font-size:12pt">gst-launch
-v v4l2src always-copy=FALSE input-src=composite \<br>
! tee name= t \<br>
! queue<br>
! 'video/x-raw-yuv,width=(int)736,height=(int)480' \<br>
! tidisplaysink2 video-standard=vga display-output=lcd
mmap-buffer=FALSE
dma-copy=TRUE \<br>
t. \<br>
! queue \<br>
! 'video/x-raw-yuv,width=(int)736,height=(int)480' \<br>
! videorate \<br>
! TIImgenc1 iColorSpace=UYVY oColorSpace=YUV420P qValue=75
engineName=codecServer \<br>
! filesink location=output.jpg</span></font><br>
<br>
Regards<br>
Kapil<br>
<br>
-- <br>
<a href="http://www.mediamagictechnologies.com" target="_blank">www.mediamagictechnologies.com</a>
(Gstreamer, ffmpeg, Red5, Streaming)<br>
twitter handle: @gst_kaps<br>
<a href="http://www.linkedin.com/in/kapilagrawal" target="_blank">http://www.linkedin.com/in/kapilagrawal</a><br>
</blockquote>
<br>
</div></div></div>
<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>
<br></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.linkedin.com/in/kapilagrawal" target="_blank">http://www.linkedin.com/in/kapilagrawal</a><br><a href="http://www.mediamagictechnologies.com" target="_blank">www.mediamagictechnologies.com</a> <br>
(Consultancy - Multimedia, Gstreamer, ffmpeg, Streaming for platforms- linux, windows, TI, android)<br><br><br>