output a rtp theora stream into ogv file properly

athanase jean.inderchit at gmail.com
Thu Oct 27 06:40:27 PDT 2011


I have a question about gstreamer. i made a streaming server using
gst-rtsp-server. I'm trying to send camera capture to another machine (on
the local network) and to parse it into an .ogv file.

The transmission of the streaming works fine, and i'm able to parse the
informations into the file; but i can't read it or use it with any
application after this parsing. It seems that there are some information
missing (probably in relation with the encoding technique, i don't really
know much about it)

Server side command (inside c++ code):

....
gst_rtsp_media_factory_set_launch (factory, "( v4l2src device=/dev/video0 !
videorate !         
video/x-raw-yuv,width=320,height=240,framerate=30/1 ! videoscale !
ffmpegcolorspace !
theoraenc ! rtptheorapay name=pay0 pt=96 )");

gst_rtsp_media_factory_set_shared (factory, TRUE);

/* attach the test factory to the /test url */
gst_rtsp_media_mapping_add_factory (mapping, "/stream", factory);
....


Client side command (terminal command) :

gst-launch -v rtspsrc location=rtsp://192.168.0.115:8554/stream ! 
rtptheoradepay name=pay0 ! oggmux ! filesink
location=/home/jean/Desktop/stream.ogv
Any help any kind of help is well appreciated !

Jean

--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/output-a-rtp-theora-stream-into-ogv-file-properly-tp3944464p3944464.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list