[MPlayer-dev-eng] [PATCH] add "level" as option to lavc (aka Mencoder generating PS3 playable h264 videos)

Michael Niedermayer michaelni at gmx.at
Thu May 3 14:26:35 CEST 2007


Hi

On Thu, May 03, 2007 at 08:56:31AM -0300, Gustavo Sverzut Barbieri wrote:
> ttached is a patch to let mencoder know about lavcopt
> "level=<integer>" so we can specify AVCodecContext->level  (exposed on
> ffmpeg as "-level").
> 
> Playstation3 just play videos with level=31 and 41, so it's required.
[...]

> --- mplayer.orig/libmpcodecs/ve_lavc.c	2007-03-21 02:15:02.000000000 -0300
> +++ mplayer/libmpcodecs/ve_lavc.c	2007-05-02 02:35:08.000000000 -0300
> @@ -150,6 +150,7 @@
>  static int lavc_param_mv0_threshold = 256;
>  static int lavc_param_refs = 1;
>  static int lavc_param_b_sensitivity = 40;
> +static int lavc_param_level = -99;

FF_LEVEL_UNKNOWN

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Breaking DRM is a little like attempting to break through a door even
though the window is wide open and the only thing in the house is a bunch
of things you dont want and which you would get tomorrow for free anyway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070503/e87fd15a/attachment.pgp>


More information about the MPlayer-dev-eng mailing list