Media (Intel® Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
Announcements
The Intel Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.
3058 Discussions

MPEG2 file encode with Hardwre base IQSV Encoder not play properly

gparag1983
Beginner
400 Views

Hello,

Currently I am using Intel QuickSync SDK ver 2013 and doing Hardware based Mpeg (Mpeg2 DVD) and H264 Encoding.

But recorded Mpeg file is not properly play in Windows Media player and in VLC player there is frame drop equal to no of GOP in files.

During analysis of recorded Mpeg file, I found that

1. SRC is not set properly. First I frame is start from 740 ms.

2. Also get error Sequence_end_code NOT FOUND, in Stream E0! 

3. VBV Buffer Size = 273 -> (546 KB)

Please encoder setting whch we set for Mpeg Recording

        BRCParamMultiplier    0    unsigned short

-----------------------------------------------------------------------------------------------
+        FrameInfo    {reserved=0x0000000002277698 FrameId={...} FourCC=842094158 ...}    mfxFrameInfo

      FrameId    {TemporalId=0 PriorityId=0 DependencyId=0 ...}    mfxFrameId

             TemporalId    0    unsigned short
             PriorityId    0    unsigned short
             DependencyId    0    unsigned short
             QualityId    0    unsigned short
             ViewId    0    unsigned short

        FourCC    842094158    
        Width    720    
        Height    576    
        CropX    0   
        CropY    0    
        CropW    720    
        CropH    576    
        FrameRateExtN    25    
        FrameRateExtD    1   
        reserved3    0    
        AspectRatioW    2304    
        AspectRatioH    2160   
        PicStruct    4    
        ChromaFormat    1    
        

 -----------------------------------------------------------------------------------------------

        CodecId    843534413    
        CodecProfile    64    
        CodecLevel    8   
        NumThread    0    
        TargetUsage    0    
        GopPicSize    15    
        GopRefDist    3    
        GopOptFlag    1    
        IdrInterval    1    
        RateControlMethod    1    
        InitialDelayInKB    0    
        QPI    0    
        Accuracy    0    
        BufferSizeInKB    0    
        TargetKbps    6000    
        QPP    6000    
        MaxKbps    6000    
        QPB    6000   
        Convergence    6000    
        NumSlice    0    
        NumRefFrame    0    
        EncodedOrder    0    
        DecodedOrder    0    
        ExtendedPicStruct    15    
        TimeStampCalc    3    
        SliceGroupsPresent    1    

        JPEGChromaFormat    0    
        Rotation    15    
        JPEGColorFormat    3    
        InterleavedDec    1    

        Interleaved    0    
        Quality    15    
        RestartInterval    3   

I attach sample Media File.
I also attach my System configuration and Quicksync version detail also (Machine config.jpg)

Thanking You.

Regards

Parag Gandhi

 

0 Kudos
3 Replies
gparag1983
Beginner
400 Views

Please find the mediasdk-system-analyzer output and sample media file (Mpeg2 DVD) file which I record.

0 Kudos
Petter_L_Intel
Employee
400 Views

Hi Parag,

We will look into the reported scenario in detail and get back you shortly. Thanks for your feedback.

Regards,
Petter

0 Kudos
Petter_L_Intel
Employee
400 Views

Hi again Parag,

With SRC do you mean SCR(System Clock Reference)?

What is your concern about the VBV buffer size value?

Regarding sequence end code. You can explicitly insert this by setting the parameter EndOfSequence in mfxExtCodingOption.

Regards,
Petter

0 Kudos
Reply