MPEG4/H.263 编码后出现奇怪的像素化/垂直线
我一直在尝试对嵌入式设备上的 USB 摄像头的视频数据(H.263 和 MPEG4)进行编码。该设备有一个特殊的硬件来做到这一点。
但是,对来自 USB 摄像头的原始视频 (H.263/MPEG4) 进行编码后,视频质量会变差,并且视频中会出现一些奇怪的像素和垂直线。在此图片< /a> 你可以看到烦人的垂直线。 第二张图片是显示原始图像的示例视频和编码视频在一起; 右侧是原始数据的显示结果(质量良好),左侧是编码后的显示结果。这个问题是已知的模式吗?是什么原因导致这些垂直线?
USB视频数据的属性:15fps、QCIF、YUV420P。
顺便说一句,当我在半角区域(使用 SDL)显示视频时,图像质量会变得更好;即在 88x144 矩形上显示 QCIF 视频。当我改变显示区域的高度时,质量不会改变。
谢谢。
I have been trying to encode video data (H.263 and MPEG4) from a USB camera on an embedded device. The device has a special hardware to do it.
But after encoding the raw video from the USB camera (H.263/MPEG4) the video quality becomes bad and some strange pixelations and vertical lines occur in the video. In this image you can see the annoying vertical lines. The second image is an example of displaying the raw video and the encoded video together;
the right side is the display result from raw data (good quality), and on the left side is after encode. Is this problem a known pattern ? What causes these vertical lines ?
The properties of USB video data: 15 fps, QCIF, YUV420P.
By the way the image quality becomes a lot better when I display the video on a half-width area (with SDL); that is displaying the QCIF video on a 88x144 rectangle. The quality doesn't change when I change the height of the display area.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
图像格式转换似乎很糟糕,尤其是错误的宽度/高度或股线参数
seems like bad image format conversion, especially wrong width/height or strand parameters