Matlab video input using a hardware encoded h.264 video stream?
조회 수: 2 (최근 30일)
이전 댓글 표시
I have been using a PCI video capture card with analog PAL/NTSC cameras for a few years now. Up to this point I have been able to use Direct Show drivers to see the card and read video frames into Matlab 2015a, writing them to file with a video writer.
Recently, I updated my PCI card to include onboard hardware h.264 video compression. Unfortunately, while I can see both the unencoded and the hardware encoded streams as video sources in Matlab, if I try to preview (or do anything with) the encoded stream, I get junk (green screen with multi color pixelation at the top). I have a sample application that shipped with the card demonstrating that the encoded video stream is good, but Matlab just can't make sense of it.
Is there something special that I should be doing to be able to see hardware encoded h.264 streams? Keep in mind that this is not a file writer problem as even the following will give me a bad screen:
videoinput('winvideo',2)
preview(ans)
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface)에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!