Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

MP4 decoder sync word problem

Deleted_U_Intel
Employee
519 Views

Hi,

I am writing DirectShowMP4 decoder filter using UMC::Mpeg4VideoDecoder (IPP 5.2 beta along with the correspondent media samples).

The problem is that MPEG4VideoDecoder::Init() always returns UMC_NOT_FIND_SYNCWORD

I checked the first frame data which is passed in

BaseCodecParams *lpInit. At the beginning I have 0, 0, 1, 182, which looks like the start marker of the frame. Maybe the problem is that my decoder filter is connected to MP4Splitter.ax.

When I play my ".m4v" files using UMC::AVSync it works fine. But in debugI see that the first frame of the same file which goes to MPEG4VideoDecoder::Init()is differ, it starts with 0, 0, 1, 176, etc...

I appreciate any advise

Anton

PS. I play m4v files which I creates using UMC::MPEG4VideoEncoder. First, I tried to forget about DirectShow and use UMC::AVSync for replay in my application, but UMC::AVSync::SetPosition method doesn't work at all I don't know why.

0 Kudos
1 Reply
mazhurin
Beginner
519 Views

Nikolay,

Thank you a lot!

Anton

0 Kudos
Reply