Help with syntax
Stefan Sauer
ensonic at hora-obscura.de
Wed Jan 25 01:24:36 PST 2012
On 01/24/2012 06:35 PM, Rick T wrote:
> 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
Please do as I said. I said "You miss your audiosrc element between the
'mux.' and '!'" and instead of just inserting an audiosrc, you inserted
"! audiosrc". You cannot link a muxer to an audiosrc. Also there is
"audioconvert \
audioconvert" which does not make sense.
Stefan
>
> On Tue, Jan 24, 2012 at 5:06 AM, Stefan Sauer <ensonic at hora-obscura.de
> <mailto: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 <mailto:gstreamer-devel at lists.freedesktop.org>
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> <mailto: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/90403281/attachment.html>
More information about the gstreamer-devel
mailing list