- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am trying to change codec profile to main for H264 stream from yuv using sample_encode,
What does -CodecProfile option takes as input to change the profile to main.
../sample_encode h264 -hw -vaapi -CodecProfile ??? -i old_town_cross_2160p50.y4m -o oldtownprofile.h264 -h 2160 -w 3840 -b 20000 -f 60
- Tags:
- Development Tools
- Graphics
- Intel® Media SDK
- Intel® Media Server Studio
- Media Processing
- Optimization
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What does -CodecProfile option takes as input
I believe it is numeric value as defined in following enum:
enum { AVC_PROFILE_BASELINE = 66, AVC_PROFILE_MAIN = 77, AVC_PROFILE_SCALABLE_BASELINE = 83, AVC_PROFILE_SCALABLE_HIGH = 86, AVC_PROFILE_EXTENDED = 88, AVC_PROFILE_HIGH = 100, AVC_PROFILE_HIGH10 = 110, AVC_PROFILE_MULTIVIEW_HIGH = 118, AVC_PROFILE_HIGH422 = 122, AVC_PROFILE_STEREO_HIGH = 128, AVC_PROFILE_HIGH444 = 144, AVC_PROFILE_ADVANCED444_INTRA = 166, AVC_PROFILE_ADVANCED444 = 188 };
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Ramashankar, found the enum for AVC profiles in sample_common/include/avc_structures.h
Can you please help me find the profile numbers for HEVC too?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Pavani,
Could you check the following file?
I believe the enum Ramashankar posted was actually copied from here:
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Mark
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page