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.

AVC Encoder increases the frame rate twice

marina_golovkina
Beginner
1,318 Views
Hello,

AVC Encoder increases the frame rate twice.

For example:

The input frame rate is 25 frames per second.
FrameRateExtN = 27000000
FrameRateExtD = 1080000

But in the coded header the frame rate is 50 frames per second.
FrameRateExtN = 54000000
FrameRateExtD = 1080000

Why it occurs? How it to correct?

Thanks,
Marina
0 Kudos
1 Solution
Nikolay_A_Intel
Employee
1,318 Views

Hello Marina,

AVC Encoder always indicates field_rate = frame_rate * 2. MSDK fields FrameRateExtN and FrameRateExtD indicate frame-rate, so in these terms it is correct that you see 54000000 and 1080000 numbers in sequence header.

But from your post this is not clear, where from did you get these numbers? After AVC decoder's DecodeHeader function or by parsing sequence header with some other tools?
Regards,
Nick

View solution in original post

0 Kudos
2 Replies
Nikolay_A_Intel
Employee
1,319 Views

Hello Marina,

AVC Encoder always indicates field_rate = frame_rate * 2. MSDK fields FrameRateExtN and FrameRateExtD indicate frame-rate, so in these terms it is correct that you see 54000000 and 1080000 numbers in sequence header.

But from your post this is not clear, where from did you get these numbers? After AVC decoder's DecodeHeader function or by parsing sequence header with some other tools?
Regards,
Nick
0 Kudos
marina_golovkina
Beginner
1,318 Views
Hello Nick,

Thanks for your answer. We have understood in what the reason. Our AVC Decoder has a problem.

Best regards,
Marina
0 Kudos
Reply