Log in

View Full Version : XVID Advanced Simple Profile @ L5


snopa
6th May 2007, 17:11
Hello,

I'm using the xvidcore-1.1.2 libraries to encode a VGA frames (25-30 fps)

In my opinion I would need the XVID Portable profile (Advanced Simple Profile (ASP) at level 5)

- ASP @ L4: 352x576
- ASP @ L5: 720x576

But, in the xvid.h there are defined these profiles:

#define XVID_PROFILE_S_L0 0x08 // simple
#define XVID_PROFILE_S_L1 0x01
#define XVID_PROFILE_S_L2 0x02
#define XVID_PROFILE_S_L3 0x03
#define XVID_PROFILE_ARTS_L1 0x91 // advanced realtime simple
#define XVID_PROFILE_ARTS_L2 0x92
#define XVID_PROFILE_ARTS_L3 0x93
#define XVID_PROFILE_ARTS_L4 0x94
#define XVID_PROFILE_AS_L0 0xf0 // advanced simple
#define XVID_PROFILE_AS_L1 0xf1
#define XVID_PROFILE_AS_L2 0xf2
#define XVID_PROFILE_AS_L3 0xf3
#define XVID_PROFILE_AS_L4 0xf4
------------------------------------
What can I do?

THANKS IN ADVANCE.

Albert.

plugh
6th May 2007, 19:05
The stated resolutions are the defined maximums at that level. So 640x480 is over the L4 max but under the L5 max.

Note that Xvid encoder does not enforce those limits. An MPEG4-ASP decoder might (a hardware standalone in particular).

snopa
7th May 2007, 21:37
OK.

Thank you, PLUGH. :thanks:

I have based my question in some web pages where explain how configure XVID.
For example: http://www.gromkov.com/faq/conversion/xvid_options.html

Some of them appear the election of 'AS@L5 profile' so I was afraid that L4 wasn't enough for my application.

Albert.