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.
流放工作罚款,一米能够将信息输入档案;但可以读到该档案,或在下层之后使用。 似乎有一些信息缺失(可能与编码技术有关,但实际不知道这方面情况)
服务器一侧指挥(在C++编码中):
....
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);
....
客户一方指挥(最终指挥):
gst-launch -v rtspsrc location=rtsp://192.168.0.115:8554/stream !
rtptheoradepay name=pay0 ! oggmux ! filesink location=/home/jean/Desktop/stream.ogv
任何帮助都受到良好赞赏!
Jean