This is about DVSDK 4.02 and the DM365 for mpeg2. Using the MPEG2 Encoder is you try to set the bitrate above 4000000 the encoder gives an error and rejects the arguments for the bitrate. This has been verified using gstreamer ti which makes use of the mpeg2 encoder on the dm365.
Is there a way to get past this limitation and increase the bitrate to something more than 4000000?.
Thanks for your help
There is a maxBitrate parameter in codec static parameters, can you pls check its value. if the tragetBitrate which is part of dynamic parameter exceeds the maxBitrate, you may get error.
Thank you Yashwant
I am already supplying that value, it is as follows:
However the encoder is still rejecting the arguments. I have tried both CBR and VBR but it doesn not seem to make a difference. The encoder version is the latest 1.00.00.00.07.
Can you please let us know what is the extendError returned after control call fails. This extended error comes as part of videnc status buffer. This error can occur when the bitrate exceeds the max bit rate supported for a particular level in Mpeg2 Standard. Following table lists the max bitrate supported and max luma samples per second for each mpeg2 level Level MaxBitRate MaxLumaSamples/Sec MPEG2_LOW_LEVEL 4Mbps 3041280 MPEG2_MAIN_LEVEL 15Mbps 10368000 MP_HIGH1440_LEVEL 60Mbps 47001600 MP_HIGH_LEVEL 80Mbps 62668800 Also note that encoder automatically chooses level based on target luma samples encoded per second If it so happens that target resolution and frame rate resulted in encoder selecting MPEG2_LOW_LEVEL, but bitrate is higher than the 4mpbs (max for MPEG2_LOW_LEVEL) you may get a control call error. As an examplwe if you set target resolution of 352x288 @ 30fps and bitrate of 5mbps this error could occur.
Sorry for the late reply. Im not sure I can check what the control call returns. As an example can you tell me what resolution I need to set to have the appropriate bitrate selected for say 5 or 6mbps?
Filling in for Jay -
below is the limits w.r.t resolution, bitrate and lumasamples/sec for different levels in mpeg2.
For details he can check Table 8-11, 8-12 and 8-13 of the mpeg2 standard ISO/IEC 13818-2:2000(E).
Level Max Resolution MaxLumaSamples/Sec MaxBitRate
LOW 352*288 3041280 4Mbps
MAIN 720*480 10368000 15Mbps
HIGH_1440 1440*1088 47001600 60Mbps
HIGH 1920*1088 62668800 80Mbps
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.