- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everyone, weird issue. I've been playing with the encoding parameters in directshow and I have set the profile to Main = 77 and the level = 3.2.
This is great... high bitrate should produce a pretty good mp4 file. However the file turns out only to be 66px in height. If I set the parameters to auto then I get the full 1080 height.
What can cause this? I'm using the latest 2012 media sdk. Thanks!
Cheers.
This is great... high bitrate should produce a pretty good mp4 file. However the file turns out only to be 66px in height. If I set the parameters to auto then I get the full 1080 height.
What can cause this? I'm using the latest 2012 media sdk. Thanks!
Cheers.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Incase anybody else comes across weird height resolutions when encoding with specific parameters, setting the profile to auto and then manipulating the level and other parameters put the height back to 1080 with very high bitrates.
Cheers.
Cheers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Martin,
We tried to reproduce the scenario, resulting in wrong height for you, but could not. Did you modify the SDK 2012 encoder filter in any way that may cause this?
That said, for the case when using the SetParams interface to set profile or level etc., the sample code will ignore any specific parameter settings and instead use the parameters implied by the selected preset. If you want to override any of the presets just remove the last code line "CodecPreset::VParamsFromPreset..." from the function CopyEncoderToMFXParams in "mfx_video_enc_filter_utils.cpp".
Regards,
We tried to reproduce the scenario, resulting in wrong height for you, but could not. Did you modify the SDK 2012 encoder filter in any way that may cause this?
That said, for the case when using the SetParams interface to set profile or level etc., the sample code will ignore any specific parameter settings and instead use the parameters implied by the selected preset. If you want to override any of the presets just remove the last code line "CodecPreset::VParamsFromPreset..." from the function CopyEncoderToMFXParams in "mfx_video_enc_filter_utils.cpp".
Regards,
Petter
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