[英]FFmpeg large input frames
I have a problem that I cannot solve and I would really appriciate your help. 我有一个我无法解决的问题,我会竭诚为您服务。
I have large rgb24 frame (1M each) which i would like to stream to ffmpeg and convert them to mpegts h264 stream. 我有大型rgb24帧(每个1M),我想将其流化为ffmpeg并将其转换为mpegts h264流。
Now, I know which arguments I need to supply to ffmpeg so the conversion will success, but I don't have a clue how can I stream/provide the frames to ffmpeg since they are too large for udp and I can't using files. 现在,我知道需要向ffmpeg提供哪些参数,这样转换才能成功,但是我不知道如何向ffmpeg传输/提供帧,因为它们对于udp太大,我不能使用文件。 ( It's a demonstrate of a real time streaming).
(这是实时流的演示)。
Thank for all the helpers It's really important for me! 感谢所有帮助者对我来说这真的很重要!
You may set up an ffserver (or whatever stream server) and stream RTP / RTMP to it. 您可以设置一个ffserver (或任何流服务器)并将RTP / RTMP流式传输到它。 Not sure why you use this format or why preserving the rawvideo quality is important (since h.264 is quite optimized for high quality video/streams).
不知道为什么使用这种格式或为什么保持原始视频的质量很重要(因为h.264已针对高质量视频/流进行了优化)。
Notice: RTMP/RTP is TCP not UDP. 注意:RTMP / RTP是TCP而不是UDP。
For a better answer, please add some more details to the original question 为了获得更好的答案,请在原始问题中添加更多详细信息
Good luck! 祝好运! -E
-E
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.