AW: Help with syntax

Bernhard Graaf bernhard.graaf at gmx.de
Tue Jan 24 23:04:07 PST 2012


Please check the source for v4l2src. If it's not "/dev/video0" you should
use the device=xxx parameter for v4l2src (see:
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-pl
ugins/html/gst-plugins-good-plugins-v4l2src.html).

 

Bernhard

 

  _____  

Von: gstreamer-devel-bounces+bernhard.graaf=gmx.de at lists.freedesktop.org
[mailto:gstreamer-devel-bounces+bernhard.graaf=gmx.de at lists.freedesktop.org]
Im Auftrag von Rick T
Gesendet: Dienstag, 24. Januar 2012 18:35
An: Discussion of the development of and with GStreamer
Betreff: Re: Help with syntax

 

I added the line you said was missing and I get an error
"erroneous pipeline: link without source element"
Do you have an example of the working line you suggested I add in?


gst-launch-0.10 v4l2src !
'video/x-raw-yuv,width=640,height=480,framerate=25/1' ! \
timeoverlay halignment=right valignment=bottom shaded-background=true ! \
clockoverlay halignment=left valignment=bottom text="M/D/Y:"
shaded-background=true time-format="%m/%d/%Y %H:%M:%S" ! \
tee name=t_vid ! queue ! xvimagesink sync=false t_vid. ! queue ! videorate !
\
'video/x-raw-yuv,framerate=25/1' ! xvidenc ! queue ! mux. ! \
audiotestsrc num-buffers=440 ! audioconvert \
 audioconvert ! 'audio/x-raw-int,rate=44100,channels=2' \
! lame ! queue ! mux. \
avimux name=mux ! filesink location=testavi.avi

On Tue, Jan 24, 2012 at 5:06 AM, Stefan Sauer <ensonic at hora-obscura.de>
wrote:

On 01/20/2012 04:59 PM, Rick T wrote: 

Greetings All 
 
I'm having trouble getting the following line to work
I get an error "WARNING: erroneous pipeline: link without source element"
 
I think I narrowed it down to the audio section but I'm not sure how to fix
it can some one assist?
 
 
 
Thanks  See code below
 
gst-launch-0.10 v4l2src !
'video/x-raw-yuv,width=640,height=480,framerate=25/1' ! \
timeoverlay halignment=right valignment=bottom shaded-background=true ! \
clockoverlay halignment=left valignment=bottom text="M/D/Y:"
shaded-background=true time-format="%m/%d/%Y %H:%M:%S" ! \
tee name=t_vid ! queue ! xvimagesink sync=false t_vid. ! queue ! videorate !
\
'video/x-raw-yuv,framerate=25/1' ! xvidenc ! queue ! mux. ! \

this part above is wrong. You miss your audiosrc element between the 'mux.'
and '!'.

Stefan




 audioconvert ! 'audio/x-raw-int,rate=44100,channels=2' \
! lame ! queue ! mux. \
avimux name=mux ! filesink location=testavi.avi
 
 
 
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

 


_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




-- 
-- 
|

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120125/9b9b8c12/attachment-0001.htm>


More information about the gstreamer-devel mailing list