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.

Target usage

Krist
Beginner
1,027 Views

Hello,

What exactly does the target usage setting do? I'm noticing that if I use "BEST_QUALITY" with a bitrate of 4mbit, sometimes the encoder is not fast enough to keep up with a live stream (24 fps).

However, when I am using "BALANCED" with a bitrate of 50mbit, there is no such speed issue.

I'd like to know what exactly the targetusage setting is doing, since it is also not documented anywhere.

 

I'm using a

Intel(R) Core(TM) i7-4700EQ CPU @ 2.40GHz


if that matters.

0 Kudos
1 Solution
Jeffrey_M_Intel1
Employee
1,027 Views

TargetUsage (TU) is similar to the "preset" concept in FFmpeg.  It provides a quick way to change quality/speed tradeoffs in codec settings.

Assuming you're looking at H264, a TU range of 1-7 is available. 

  • 1=Best quality (but lowest performance)
  • 2=quality boost vs. TU4 at cost of speed
  • 4=settings calibrated for preserving quality and speed
  • 6=speed boost vs. TU4 at slightly lower quality
  • 7=best speed (but with larger quality drop) 

(With TU 3 and 5 as points between those described above.)

Here are some starting points which have more info on TargetUsage behavior:

The next level of detail is harder to get because it can change between hardware and driver versions.  However, the relationships between the TUs should remain similar to the references above.  Is this sufficient information?

Regards, Jeff

 

View solution in original post

0 Kudos
2 Replies
Jeffrey_M_Intel1
Employee
1,028 Views

TargetUsage (TU) is similar to the "preset" concept in FFmpeg.  It provides a quick way to change quality/speed tradeoffs in codec settings.

Assuming you're looking at H264, a TU range of 1-7 is available. 

  • 1=Best quality (but lowest performance)
  • 2=quality boost vs. TU4 at cost of speed
  • 4=settings calibrated for preserving quality and speed
  • 6=speed boost vs. TU4 at slightly lower quality
  • 7=best speed (but with larger quality drop) 

(With TU 3 and 5 as points between those described above.)

Here are some starting points which have more info on TargetUsage behavior:

The next level of detail is harder to get because it can change between hardware and driver versions.  However, the relationships between the TUs should remain similar to the references above.  Is this sufficient information?

Regards, Jeff

 

0 Kudos
Krist
Beginner
1,027 Views

Thank you Jeff, that's enough information. I will have to fine-tune the setting to find the perfect fit for my application. I understand now also that the behavior may be different for each type of hardware.

Best regards,

Chris

0 Kudos
Reply