简体   繁体   English

使用Jcodec保存rtsp h264流(在Android上)

[英]save rtsp h264 stream with Jcodec (on Android)

Did anyone manage to save a rtsp video stream (h264 mpeg) using Jcodec ? 有没有人设法使用Jcodec保存rtsp视频流(h264 mpeg)?

Could you please give me an example? 你能举个例子吗?

Also any other method of saving a rtsp stream on an android device would be of great help. 此外,在Android设备上保存rtsp流的任何其他方法都会有很大帮助。

Please don't include any solution that requires device specific compilation ( ffmpeg, by example, is not ok, because it needs to be compiled for the specific arm version). 请不要包含任何需要特定于设备编译的解决方案(例如,ffmpeg不正常,因为它需要针对特定​​的arm版本进行编译)。 So I need a pure java solution, if not Jcodec. 所以我需要一个纯java解决方案,如果不是Jcodec。

I had the same problem! 我有同样的问题! I'm using ffmpeg on my server and save all video. 我在我的服务器上使用ffmpeg并保存所有视频。

Next I save the video on the device calling it to server. 接下来,我将视频保存在设备上,将其调用到服务器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM