Hi again, Just a quick update regarding to my experience so far, it is better to implement a program rather than trying to use the scripts if you would like to know the details of how gstreamer is working. One of the good document/reference on this subject is available in docs.gstreamer.com/display/GstSDK/Home.
Regards, Ozkan. On Thursday, July 25, 2013 9:06:28 AM UTC+1, [email protected] wrote: > > Hi again, > > >Does /dev/video0 exist? > >$ ls /dev/video0 > Yes, I confirm that video0-6 available in /dev/. LI5M03 camera established > into the board and I'm getting its video with the following comment: > mplayer tv:// -tv driver=v4l2:device=/dev/video6:out fmt+uyvy > > I get the same error with video6 as: > root@arm:~/test# gst-launch v4l2src device=/dev/video6 ! dspmp4venc > ! filesink location=./myfile.mp4 > > >what does 'dmesg' say about v4l devices available? > I just run "dmesg | grep v4l", nothing listed unfortunately. > > Any idea? > > Regards, > Ozkan. > > > On Wednesday, July 24, 2013 11:09:53 AM UTC+1, Victor Manuel Jáquez Leal > wrote: >> >> On Wed, Jul 24, 2013 at 11:56 AM, <[email protected]> wrote: >> > Hi there, >> > >> >>A simple pipeline to test would be like this: >> > >> >>gst-launch v4l2src device=/dev/video0 ! dspmp4venc ! filesink >> >>location=./myfile.mp4 >> > >> > When I try this command I have got the following error: >> > >> > root@arm:~/test# gst-launch v4l2src device=/dev/video0 ! dspmp4venc ! >> > filesink location=./myfile.mp4 >> > Setting pipeline to PAUSED ... >> > ERROR: Pipeline doesn't want to pause. >> > ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Device >> > '/dev/video0' is not a capture device. >> > Additional debug info: >> > v4l2_calls.c(515): gst_v4l2_open (): >> > /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: >> > Capabilities: 0x4000002 >> > Setting pipeline to NULL ... >> > Freeing pipeline ... >> >> >> Does /dev/video0 exist? >> >> $ ls /dev/video0 >> >> If so, does it represent a video capture device? are there more >> /dev/video*? what does 'dmesg' say about v4l devices available? >> >> Also you should ask to the mailing list, not to me. >> >> >> >> > >> > FYI: I have confirmed gst-inspect and also "dsp-test" seems working >> fine. >> > >> > Any idea why I'm getting an error from the pipeline? >> > Thanks in advance. >> > >> > Ozkan. >> > >> > On Tuesday, April 26, 2011 8:58:09 AM UTC+1, Victor Manuel Jáquez Leal >> > wrote: >> >> >> >> Hi, >> >> >> >> I guess you first need to read about gstreamer: >> >> http://gstreamer.freedesktop.org/documentation/ >> >> >> >> Now, using the shell in the beagle, you can execute gst-inspect, which >> >> is a tool to list and introspect the gstreamer elements that you have >> >> installed in the board. >> >> >> >> For example, in my setup: >> >> >> >> $ gst-inspect | grep dsp >> >> dvdspu: dvdspu: Sub-picture Overlay >> >> dsp: dspdummy: DSP dummy element >> >> dsp: dspvdec: DSP video decoder >> >> dsp: dspadec: DSP audio decoder >> >> dsp: dsph263enc: DSP video encoder >> >> dsp: dspmp4venc: DSP MPEG-4 video encoder >> >> dsp: dspjpegenc: DSP video encoder >> >> dsp: dsph264enc: DSP video encoder >> >> dsp: dspvpp: DSP VPP filter >> >> >> >> As you can see I've 3 video encoders: dsph263enc, dsph264enc and >> >> dspmp4venc >> >> >> >> If you run 'gst-inspect myencoder' you will get myencoder's details >> >> and parameters. >> >> >> >> A simple pipeline to test would be like this: >> >> >> >> gst-launch v4l2src device=/dev/video0 ! dspmp4venc ! filesink >> >> location=./myfile.mp4 >> >> >> >> I don't have a camera, so I can't test this pipeline right now, but, >> >> in theory, it should work. >> >> >> >> Afterwards you would craft more complex pipelines for audio&video >> >> recording or so. >> >> >> >> vmjl >> >> >> >> On Mon, Apr 25, 2011 at 5:58 PM, Jeff <[email protected]> wrote: >> >> > I'm running PTAMM on my BeagleBoard xM-revB and it uses mpeg >> encoding/ >> >> > decoding to stream video from a webcam while crunching data and >> >> > displaying mappings using OpenGL. Currently the video stream is very >> >> > slow so I want to try to modify the program so that the DSP handles >> >> > all of the video streaming. I have gst-dsp setup and I have verified >> >> > that the DSP is working, I'm just wondering where to start as far as >> >> > implementing the gst-dsp encoder/decoder into my project. Any help >> >> > would be appreciated! >> >> > >> >> > -- >> >> > You received this message because you are subscribed to the Google >> >> > Groups "Beagle Board" group. >> >> > To post to this group, send email to [email protected]. >> >> > To unsubscribe from this group, send email to >> >> > [email protected]. >> >> >> >> > For more options, visit this group at >> >> > http://groups.google.com/group/beagleboard?hl=en. >> >> > >> >> > >> > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
