[MEncoder-users] Mp4 to m4v options assistance

Grozdan neutrino8 at gmail.com
Thu Dec 3 03:39:54 CET 2009


On Wed, Dec 2, 2009 at 11:13 PM, Simon <greminn at gmail.com> wrote:
> Hi There,
>
> We are running a script to encode uploaded mp4 video into m4v for use within
> a flash based video player using the following script:
>
> mencoder video_in.mp4 -quiet -o "video_in_temp.264" -passlogfile
> "video_in_temp.log -ovc x264 -x264encopts
> bitrate=512:frameref=4:bframes=3:b_adapt:b_pyramid=normal:weight_b:partitions=all:8x8dct:me=umh:subq=7:trellis=2:threads=auto:pass=1:analyse=all
> -of rawvideo -nosound
>
> This is to encode a video in x264. After this process we extract the audio
> and encode it with aacplus and mux it back together.  The video is 406x228
> at 25fps. We have an error plus would really like some assistance with some
> of the options to make sure we are using them correctly please?
>
> The main error is:
>
> x264 [warning]: b-pyramid + mb-tree is not supported

mbtree is by default enabled and b-pyramid does not work yet with it.
So if you want to use b-pyramid, then disable mbtree with nombtree. If
you want to use mbtree but not b-pyramid, then disable the latter with
b-pyramid=none (though that should be done automatically inside
libx264 so it just prints a notification like the above one)

>
> Is there anything that anyone can see that we can improve on? Also, does
> anyone have any good links to assist with understanding some of the other
> options?

http://mewiki.project357.com/wiki/X264_Settings

>
> Many thanks,
>
> Simon
>
> Output of command:
>
> MEncoder SVN-r29962-4.3.2 (C) 2000-2009 MPlayer Team
> success: format: 0  data: 0x0 - 0x3a5d4a
> libavformat file format detected.
> [lavf] Video stream found, -vid 0
> [lavf] Audio stream found, -aid 1
> VIDEO:  [H264]  406x228  24bpp  25.000 fps  1649.1 kbps (201.3 kbyte/s)
> [V] filefmt:44  fourcc:0x34363248  size:406x228  fps:25.000  ftime:=0.0400
> Opening video filter: [expand osd=1]
> Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
> ==========================================================================
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
> ==========================================================================
> Movie-Aspect is 1.78:1 - prescaling to correct movie aspect..000 [0:0]
> x264 [warning]: b-pyramid + mb-tree is not supported
> x264 [info]: using SAR=1/1
> x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
> x264 [info]: profile High, level 2.0
> [h264 @ 0x884ccc0]AVC: Consumed only 11414 bytes instead of 11419[546:0]]
> Pos:  16.0s    450f (99%) 25.40fps Trem:   0min   1mb  A-V:0.000 [547:0]
> Flushing video frames.
>
> Video stream:  547.604 kbit/s  (68450 B/s)  size: 1229372 bytes  17.960
> secs  450 frames
> x264 [info]: frame I:3     Avg QP:10.52  size:  9019
> x264 [info]: frame P:216   Avg QP:13.36  size:  4433
> x264 [info]: frame B:230   Avg QP:17.52  size:  1064
> x264 [info]: consecutive B-frames: 22.6% 21.5% 12.8% 43.0%
> x264 [info]: mb I  I16..4: 57.4% 15.6% 27.1%
> x264 [info]: mb P  I16..4:  3.8%  8.7%  3.4%  P16..4: 21.3% 14.3% 10.3%
> 2.0%  1.6%    skip:34.5%
> x264 [info]: mb B  I16..4:  0.5%  0.6%  0.5%  B16..8: 23.3%  2.0%  2.4%
> direct: 3.8%  skip:66.9%  L0:32.2% L1:39.9% BI:27.9%
> x264 [info]: final ratefactor: 12.38
> x264 [info]: 8x8 transform intra:50.1% inter:39.3%
> x264 [info]: coded y,uvDC,uvAC intra: 47.9% 61.0% 54.1% inter: 18.1% 21.9%
> 12.8%
> x264 [info]: i16 v,h,dc,p: 61% 20% 14%  6%
> x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 17% 39%  3%  3%  2%  9%  3%
> 6%
> x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 22% 26%  3%  5%  3% 10%  2%
> 4%
> x264 [info]: Weighted P-Frames: Y:13.0%
> x264 [info]: ref P L0: 67.8% 10.7% 13.7%  3.6%  3.8%  0.3%
> x264 [info]: ref B L0: 88.4%  8.3%  3.2%
> x264 [info]: kb/s:547.60
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
>


More information about the MEncoder-users mailing list