首页 > 解决方案 > Can I create a MJPEG stream from an H.264 I-Frame stream?

问题描述

I am developing an IP camera that streams video using RTP. The hardware encoder I'm using only supports H.264, but I need to generate a MJPEG stream as well as an H.264. I've done a fair bit of reading on H.264's I-Frame and it seems to me that the compression they use is very very similar to JPEG. In fact, I'm not clear what the difference is. So my question is, can I produce a MJPEG stream our of an I-Frame-only H.264 stream?

标签: jpegh.264mjpeg

解决方案


取决于这句话中“创造”的含义。是的,您可以将 h264 IDR 转码为 JPG,但您必须对其进行解码并重新编码。这些格式是使用类似的技术创建的,但具体的实现有很大的不同。


推荐阅读