View Single Post
Old 25th July 2018, 18:00   #22992  |  Link
sirhaden
Registered User
 
Join Date: Oct 2012
Posts: 8
Quote:
Originally Posted by nevcairiel View Post
If you're certain the video is fine, then you may still be delivering it to the decoder wrong. I assume you use your own source filter, and not LAV Splitter?
My guess would be that the media type doesn't match the video contents.
I am my own source and splitter filters.

I made changes to the MP4 parsing to remove all NALUs from non IDR video frames and updated the output media sample size. For IDR frames, changes were made to only send the PPS NALU followed by the IDR NALU with an updated output media sample size.

The output media sample type is:

MEDIASUBTYPE_AVC1
FORMAT_MPEG2Video

with:

pVIH2->bmiHeader.biCompression = MKTAG('a', 'v', 'c', '1');

Which is the same as when delivered from the proprietary format container.

Unfortunately, the issue is still occurring.

Last edited by sirhaden; 25th July 2018 at 18:04.
sirhaden is offline   Reply With Quote