English 中文(简体)
接收器
原标题:receive Stream with gst-rtsp-server

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

问题回答

我可以将管道编码如下:gst-start -v rtspsrc place=“rtsp:// localhost:8554/test” name=demux demux.! ! 侵权行为 ora! ffmpegcolorspace ! 自动定位器

编码

gst-fire -v rtspsrc place=“rtsp:// localhost:8554/test”! 侵权行为 ora! 录像! ffmpegcolorspace ! ora! oggmux ! 档案汇点 GIBBERISH.ogg

I decode it and encode it before written to the file. 也许可以采取更优化的方式来履行同样义务,但这只是一项工作。





相关问题
Undefined reference

I m getting this linker error. I know a way around it, but it s bugging me because another part of the project s linking fine and it s designed almost identically. First, I have namespace LCD. Then I ...

C++ Equivalent of Tidy

Is there an equivalent to tidy for HTML code for C++? I have searched on the internet, but I find nothing but C++ wrappers for tidy, etc... I think the keyword tidy is what has me hung up. I am ...

Template Classes in C++ ... a required skill set?

I m new to C++ and am wondering how much time I should invest in learning how to implement template classes. Are they widely used in industry, or is this something I should move through quickly?

Print possible strings created from a Number

Given a 10 digit Telephone Number, we have to print all possible strings created from that. The mapping of the numbers is the one as exactly on a phone s keypad. i.e. for 1,0-> No Letter for 2->...

typedef ing STL wstring

Why is it when i do the following i get errors when relating to with wchar_t? namespace Foo { typedef std::wstring String; } Now i declare all my strings as Foo::String through out the program, ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

Window iconification status via Xlib

Is it possible to check with the means of pure X11/Xlib only whether the given window is iconified/minimized, and, if it is, how?

热门标签