[lang]

Present Perfect

Personal
Projects
Packages
Patches
Presents
Linux

Picture Gallery
Present Perfect

Streaming

Filed under: Fluendo,GStreamer — Thomas @ 14:49

2004-06-09
14:49

Oh yes.
Oh yes.

I shouldn't be so excited, but I am. After Wim's ogg muxing changes, Ogg/Theora+Vorbis streaming now works !

Here's the server line:
gst-launch -v v4lsrc device=/dev/video0 ! video/x-raw-yuv,framerate=4.6875,width=320,height=240 ! theoraenc ! oggmux name=mux { filesrc location=/home/audio/albums/Elbow - Asleep In The Back/Elbow - Newborn.ogg ! oggdemux ! vorbisdec ! rawvorbisenc ! queue ! mux. } { mux. ! queue ! tcpserversink }

Here's the client line:
gst-launch -v tcpclientsrc ! oggdemux name= mux ! { queue ! theoradec ! ffcolorspace ! ximagesink } { mux. ! queue ! vorbisdec ! audioconvert ! alsasink device=hw:0 }

Note that the client can connect to the stream whenever, and will get correct Ogg header pages.

And here's the result of a second client writing directly to disk. Can someone verify this works with theora alpha3 or higher please ???

Yes, I know the frames are jerky. My machine can barely keep up encoding and decoding at the same time, and the framerate on the webcam is low. There wouldn't be any fun left if everything worked beautifully already.

No Comments

No comments yet.

RSS feed for comments on this post. TrackBack URL

Sorry, the comment form is closed at this time.

picture