RE: DMAI Based GStreamer Audio Video Synchronisation?

2009-03-01 Thread Nitin Mahajan


HI!

--- On Sat, 28/2/09, Singh, Brijesh  wrote:

> From: Singh, Brijesh 
> Subject: RE: DMAI Based GStreamer Audio Video Synchronisation?
> To: "nitin...@yahoo.com" , 
> "davinci-linux-open-source@linux.davincidsp.com" 
> 
> Date: Saturday, 28 February, 2009, 10:37 PM
> Hello,
> 
> 1) Ah, then you are using v4l source. Well you need to
> browse v4l plugin and patch accordingly.   
>     Check my wiki page on how i got my webcam
> working http://wiki.davincidsp.com/index.php?title=USB_Webcam 
> on DM6446. 
>     This will give you
> some   starting point then patch v4l source
> (if needed). 
> 
> 2) Not sure why you are using UI on vid window. You should
> be using fb0 for UI, which support RGB565 or RGB888. You can
> control the attribute of video and graphics window (like
> transperancy etc) with fb1. Check the DVSDK demo source,
> which uses  both graphics and video windows and
> controls the transparency via fb1. 

If there are some imgaes in the GUI, they would not come properly on OSD 
windows, since it can at the most take RGB565 (dm6443). The same images would 
come very nice, when rendered in RGB88 mode on VIDWIN0.

Do you have any comments or suggessions in this regard.

regards

-Nitin

> 
> Thanks
> -Brijesh Singh
> 
> 
> From: Nitin Mahajan [nitin...@yahoo.com]
> Sent: Saturday, February 28, 2009 2:58 AM
> To: davinci-linux-open-source@linux.davincidsp.com;
> Singh, Brijesh
> Subject: RE: DMAI Based GStreamer Audio Video
> Synchronisation?
> 
> HI!
> 
> Thanks again for your inputs.
> 
> --- On Wed, 25/2/09, Singh, Brijesh 
> wrote:
> 
> > From: Singh, Brijesh 
> > Subject: RE: DMAI Based GStreamer Audio Video
> Synchronisation?
> > To: "nitin...@yahoo.com"
> ,
> "davinci-linux-open-source@linux.davincidsp.com"
> 
> > Date: Wednesday, 25 February, 2009, 9:55 PM
> > Nitin -
> >
> > 1) In normal mode of operation, the most AV sync part
> is
> > handled by the demuxer. Decoder element normally gets
> the
> > buffer from demuxer then decodes it and adds timestamp
> and
> > push to display sink. You will see AV sync from
> decoder only
> > when the decoder thread is not able to process fast
> enough
> > to keep-up with demuxer. I would suggest you to
> enable
> > displayBuffer=TRUE property in decoder elements which
> will
> > print you the read/write pointer location in circular
> buffer
> > and will give u some clue.  In addition to that,
> I
> > would suggest  modifying the number of maximum
> buffer
> > queued in queue element after the demuxer. See
> decode_qt.sh
> > for sample examples.
> >
> > 2) I think video encoder is almost 70% done, during
> > development I tried testing all dvsdk's but will wait
> for
> > validating result before concluding completed. You can
> find
> > pretty much the same wording on omapzoom webstie,
> where the
> > encoder is shown as "untested".
> >
> > Now coming back to your problem.
> > * You are trying to "capture" -> "encode" ->
> "decode"
> > -> "display". By default this mode of operation
> will not
> > work because you can not load two combo's at the same
> time.
> > By default encoder uses "encodeCombo" and decoder
> uses
> > "decodeCombo". To solve this problem you need to use
> > "loopbackCombo" which has both video encoder and
> decoder. To
> > use loopback combo you need to modify gstreamer codec
> cfg
> > file. Look at the plug-in source code.
> >
> > * But if I look at your log then you are hitting
> v4l2src
> > issue. There was some driver bugs (or limitation) and
> I have
> > patched v4l2src with those workaround. Looks like you
> are
> > using sensor not the composite (or component) input.
> We are
> > testing gst with normal EVM bundle which has
> composite
> > input. If you are using sensor then u may need to
> modify
> > v4l2src element to work with your sensor driver.
> >
> > Before jumping on v4l2src element, I would suggest
> using
> > videotestsrc element for testing video encoder. See
> > "encode_elementry.sh" script. E.g run
> >
> > ./encode_elementry.sh -l -v -o sample.264
> 
> This works for us for videotestsrc, but not of a USB video
> cam.
> 
> I have one more query. I am displaying the application UI
> on VIDWIN0 and want to display the video frames on VINWIN1.
> I want to keep the VINWIN1 disabled/not visible in the
> beginning, visible with size same as video size during
> playback and disabled again after playback.
> 
> What would be the cleanest way to do it when I am using
> DMAI, in gstreamer plugins.
> 
> Thanks and regards
> 
> -Nitin
> 
> 
> 
> >
> > Hello Brijech,
> >
> > Thanks for your inputs,
> >
> > --- On Wed, 25/2/09, Singh, Brijesh 
> > wrote:
> >
> > > From: Singh, Brijesh 
> > > Subject: RE: DMAI Based GStreamer Audio Video
> > Synchronisation?
> > > To: "Vladimir Pantelic" ,
> >
> > > "davinci-linux-open-source@linux.davincidsp.com"
> >
> > > 
> > > Cc: "davinci-linux-open-source@linux.davincidsp.com"
> >
> > > 
> > > Date: Wednesday, 25 February, 2009, 1:22 AM
> Hello,
> 

TI's Gstreamer plugin cannot be found by 'playbin' ?

2009-03-01 Thread zhenfeng ren
hi,everyone:
If I use the fellow script, it work well.
gst-launch --gst-debug-no-color --gst-debug=TI*:2 filesrc
location=mp4.ts ! typefind ! mpegtsdemux name=demux demux. !
audio/mpeg ! queue max-size-buffers=1200 max-size-time=0
max-size-bytes=0 ! typefind ! TIAuddec ! audioconvert ! osssink demux.
! video/mpeg ! typefind ! TIViddec ! TIDmaiVideoSink displayStd=fbdev
displayDevice=/dev/fb/3 videoStd=D1_NTSC videoOutput=COMPOSITE
resizer=FALSE accelFrameCopy=TRUE

but if I use 'palybin', TI's plugin couldnot be found by 'playbin'. As:
r...@dvevm:/opt# gst-launch -v playbin
uri=file:///opt/gstreamer_demo/dm6446/mp4.ts

(gst-launch-0.10:1264): GStreamer-WARNING **: Failed to load plugin
'/opt/gstreamer/lib/gstreamer-0.10//libgstmad.so':
/opt/gstreamer/lib/libid3tag.so.0: undefi
ned symbol: id3_frametype_unknown
Setting pipeline to PAUSED ...
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src:
caps = video/mpegts, systemstream=(boolean)true, packetsize=(int)188
Pipeline is PREROLLING ...
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstMpegTSDemux:mpegtsdemux0.GstPad:sink:
caps = video/mpegts, systemstream=(boolean)true, packetsize=(int)188
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstMpegTSDemux:mpegtsdemux0:
pat-info = ((GValueArray*) 0x36a10)
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstMpegTSDemux:mpegtsdemux0:
pmt-info = ((FluTsPmtInfo*) 0x35640)
** Message: don't know how to handle video/mpeg, mpegversion=(int)4,
systemstream=(boolean)false
** Message: don't know how to handle audio/mpeg, mpegversion=(int)4

I see that TI's plugins donot have founction 'plungin_init' as other plungins.
Could anyone give me some advice?

-- 
Thanks,
Zhenfeng Ren

___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


about mpeg4 video format conversion on DM355!

2009-03-01 Thread yhlshareware

Hi everyone,

Can anyone convert some video clips with other encoders(such like mpeg2/h.264 
etcs) to mpeg4-sp what can be decoded on DM355 decoder engine using ffmpeg or 
other open source conversion tools? Any comments is much appreciated.

Best Regards,
Jeff
___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


RE: dm6446 dvsdk encodedecode demo

2009-03-01 Thread Venkatachala Upadhya
Hi,

Since there are changes to video drivers in the kernel, older way of display 
buffer is not understood by the new video drivers. Also I believe there is 
change in the dsplinkk.ko too,  which are tied to the new kernel DVSDK 1.3 
though not for sure. My experience is that, the DVSDK 1.2 is not compatible 
with DVSDK 1.3. Also I am sure that the codecs of DVSDK 1.3 are far improved 
and they need support from dsplinkk.ko. In general, DVSDK 1.2 binaries related 
to DSP core and codecs are not compatible with DVSDK 1.3 normal linux based 
application should be OK with DVSDK 1.3.

With best regards,

Venkatachala Upadhya| Extn: 65395|
--
From: davinci-linux-open-source-boun...@linux.davincidsp.com 
[mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of 
Naveena M.
Sent: 28 February, 2009 1:16 PM
To: davinci-linux-open-source@linux.davincidsp.com
Subject: RE: dm6446 dvsdk encodedecode demo




Hi all,
I built the whole dvsdk package provided as dvsdk 1.3.
I found that there are lot of changes in the kernel or lsp as well as the demo 
application.
I want to know if the old demo application will run with new uImage, dsplink 
and cmem.
I want to know if the new versions of kernel and dsplink drivers are compatible 
with the old demo applications. By old demo application, I meant demo available 
with dvsdk 1.2 realease.


Thanks in advance.

Regards,
Naveena


http://www.mindtree.com/email/disclaimer.html
___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Dmai + Transparency

2009-03-01 Thread Nitin Mahajan

HI!

I just wanted to check , whether  there are any APIs in DMAI, which would help 
control the transparency between OSD0 and  video windows?

regards

-Nitin


  Get your preferred Email name!
Now you can @ymail.com and @rocketmail.com. 
http://mail.promotions.yahoo.com/newdomains/aa/

___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source