[gst-devel] Grab video
Andrey Nechypurenko
andreynech at googlemail.com
Fri Oct 8 19:41:06 CEST 2010
Hi,
Hi,
> How did you get TIVidResize to run on the BeagleBoard?
Here is the pipeline which works on my system:
v4l2src always-copy=FALSE !
video/x-raw-yuv,format=(fourcc)YUY2,width=640,height=480,framerate=30/1
! ffmpegcolorspace ! video/x-raw-yuv,format=(fourcc)UYVY ! TIVidResize
name=qos-scaler contiguousInputFrame=TRUE !
video/x-raw-yuv,format=(fourcc)UYVY,width=640,height=480 ! TIVidenc1
codecName=h264enc engineName=codecServer bitRate=320000
encodingPreset=2 genTimeStamps=TRUE byteStream=TRUE ! rtph264pay pt=96
! appsink
Please note, that TIVidenc1 supports only UYVY on omap3530. However,
as I understand, the auto-negotiation implementation will not restrict
the choice to this format. That is why I am always explecitly specify
fourcc frame format. Ffmpegcolorspace is necessary in my case because
my camera does not support UYVY format.
> I'm running
> on a similar OMAP/3530 and the TI DVSDK I have doesn't seem to support
> it on the OMAP. I built my tools using Angstrom, with these versions:
I am also using Angstrom development brunch and did not made anything special.
What does
$ gst-inspect TIVidResize
says on your system? Is this element found? If not, then there is
definitely some packages are missing.
> ti-biosutils-1_02_02-r1
> ti-cgt6x-1_6_1_14-r4
> ti-codec-engine-2_25_05_16-r5
> ti-codecs-omap3530-1_1_01_00-r2
> ti-dmai-1_2_10_00_01+svnr423-r1l
> ti-dspbios-5_41_04_18-r1
> ti-dsplink-1_1_65_00_03-r1h
> ti-edma3lld-01_11_00_03-r0
> ti-framework-components-2_25_02_06-r1
> ti-linuxutils-1_2_25_04_10-r0
> ti-local-power-manager-1_1_24_02_09-r1d
> ti-xdais-6_25_02_11-r1
> ti-xdctools-3_20_01_51-r2
I have much more ti-* packages compiled. Here is just the beginning:
ti-biosutils_1_02_02-r1.5_beagleboard.ipk
ti-biosutils-dbg_1_02_02-r1.5_beagleboard.ipk
ti-biosutils-dev_1_02_02-r1.5_beagleboard.ipk
ti-biosutils-sourcetree_1_02_02-r1.5_beagleboard.ipk
ti-cgt6x_6_1_9-r4.5_beagleboard.ipk
ti-cgt6x-dbg_6_1_9-r4.5_beagleboard.ipk
ti-cgt6x-dev_6_1_9-r4.5_beagleboard.ipk
ti-cgt6x-sourcetree_6_1_9-r4.5_beagleboard.ipk
ti-cmem-module_2_25_01_06-r84d.5_beagleboard.ipk
ti-codec-engine_2_25_01_06-r5.5_beagleboard.ipk
ti-codec-engine-dbg_2_25_01_06-r5.5_beagleboard.ipk
ti-codec-engine-dev_2_25_01_06-r5.5_beagleboard.ipk
ti-codec-engine-examples_2_25_01_06-r5.5_beagleboard.ipk
ti-codec-engine-sourcetree_2_25_01_06-r5.5_beagleboard.ipk
ti-codecs-omap3530_1_00_01-r9.5_beagleboard.ipk
ti-codecs-omap3530-dbg_1_00_01-r9.5_beagleboard.ipk
ti-codecs-omap3530-dev_1_00_01-r9.5_beagleboard.ipk
ti-codecs-omap3530-server_1_00_01-r9.5_beagleboard.ipk
ti-codecs-omap3530-sourcetree_1_00_01-r9.5_beagleboard.ipk
ti-dmai_2_10_00_01+svnr423-r84l.5_beagleboard.ipk
ti-dmai-apps_2_10_00_01+svnr423-r84l.5_beagleboard.ipk
ti-dmai-dbg_2_10_00_01+svnr423-r84l.5_beagleboard.ipk
ti-dmai-dev_2_10_00_01+svnr423-r84l.5_beagleboard.ipk
ti-dmai-sourcetree_2_10_00_01+svnr423-r84l.5_beagleboard.ipk
ti-dmai-tests_2_10_00_01+svnr423-r84l.5_beagleboard.ipk
ti-dspbios_5_41_02_14-r1.5_beagleboard.ipk
ti-dspbios-dbg_5_41_02_14-r1.5_beagleboard.ipk
ti-dspbios-dev_5_41_02_14-r1.5_beagleboard.ipk
ti-dspbios-sourcetree_5_41_02_14-r1.5_beagleboard.ipk
ti-dsplink_1_64-r84h.5_beagleboard.ipk
ti-dsplink-dbg_1_64-r84h.5_beagleboard.ipk
I think gstreamer-ti_svnr612-r59+r84.5_beagleboard.ipk is the one
where gstreamer elemts are resides.
> Also, do you find the TIVidenc1 working well?
I did not made any formal evaluations and comparisions. For my
purposes, low bitrate realtime streamig, it works just fine. Using not
the fastest pipeline I mentioned above (because of ffmpegcolorspace
and videoscale elements running on arm) I was able to compress and
transmit 320x240 video with about 50% system load. Attempting to
increase the frame size to 640x480 drives the system load to 100% and
there is about 1 sec. latency becomes visible.
> Finally, do you know of a better place than the gstreamer list to
> discuss these items? (I'm really not a fan of the TI forums as I
> find them useless, bottomless holes...)
Sometimes I am posting questions to "GStreamer on TI DaVinci and OMAP"
Forum here:
https://gstreamer.ti.com/gf/project/gstreamer_ti/forum/?action=ForumBrowse&forum_id=187
There are very knowledgable persons answering questions there and I've
got a couple of very usefull suggestions.
Regards,
Andrey.
More information about the gstreamer-devel
mailing list