How to oggdemux, many streams

zakri zakri at poczta.fm
Fri Dec 30 02:00:58 PST 2011


Hi

I created a stream using:
gst-launch -e oggmux name=mux ! queue ! filesink location=vid.ogv \
    v4l2src device=/dev/video0 ! queue ! video/x-raw-yuv, width=320,
height=240,framerate=15/1 ! queue ! \
      textoverlay font-desc="Sans 24" text="CAM1" valign=top halign=left
shaded-background=true ! queue ! theoraenc ! queue ! mux. \
    v4l2src device=/dev/video1 ! queue ! video/x-raw-yuv, width=320,
height=240,framerate=15/1 ! queue ! \
      textoverlay font-desc="Sans 24" text="CAM2" valign=top halign=left
shaded-background=true ! queue ! theoraenc ! queue ! mux.

VLC plays this file vid.ogv without any problem and I see two streams.

When I want to play using gst-launch I put:
gst-launch filesrc location=vid.ogv ! oggdemux name="demux" ! videomixer
name=mix ! ffmpegcolorspace ! xvimagesink \
    demux. ! queue ! theoradec ! videoscale ! video/x-raw-yuv, width=640,
height=400 ! videobox border-alpha=0 top=-10 left=-10 ! mix. ! \
    demux. ! queue ! theoradec ! videoscale ! video/x-raw-yuv, width=640,
height=400 ! videobox border-alpha=0 top=-10 left=-10 ! mix.

and gets the message: WARNING: erroneous pipeline: link without source
element

How to select the stream which I want to play?

Can anyone help me??


Best regards
zakri




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-oggdemux-many-streams-tp4245385p4245385.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list