Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 libx264 压缩来自网络摄像头的帧。到目前为止,我使用 YUY2 原始帧和 swscale 将帧转码为 I420,x264 可以使用它。
无论如何,我想添加对 mJPEG 网络摄像头的支持(通常网络摄像头同时提供,但 mJPEG 允许更高的帧速率和分辨率)。我可以使用什么将 mJPEG 转码为 x264 可以使用的某种格式?
If you already use swscale why not to use ffmpeg/libav (libavcodec) for decoding mjpeg?