[MEncoder-users] how do u set H264 video ID?

U. George netbeans at gatworks.com
Sun Jun 27 22:34:13 CEST 2010


The original file had
>> ID                               : 4113 (0x1011)
the new ( de interlaced file ) has
 > ID                               : 0

are the ID's incorrect?
also, is there some reason why the new file has reference frames of 4, 
and the orig has 2? I didnt see any option for either.


====================COMMAND=====================
mencoder -v -v  -msglevel all=9 
/home/gat/DIESEL/TEST_FP24/PF24_10Seconds.MTS -mc 0 -noskip -fps 
30000/1001 -delay -0.222 -oac pcm -vf 
pullup,softskip,harddup,scale=1920:1080 -ofps 24000/1001 -ovc x264 
-x264encopts bitrate=24000:qp=5:pass=2:nointerlaced:log=3 -o a.avi
==============NEW================================
> [gat at MyLaptop TEST_FP24]$ mediainfo a.avi
> General
> Complete name                    : a.avi
> Format                           : AVI
> Format/Info                      : Audio Video Interleave
> File size                        : 146 MiB
> Duration                         : 11s 40ms
> Overall bit rate                 : 111 Mbps
> Writing application              : MEncoder SVN-r31525-4.4.2
> Writing library                  : MPlayer
>
> Video
> ID                               : 0
> Format                           : AVC
> Format/Info                      : Advanced Video Codec
> Format profile                   : High at L4.0
> Format settings, CABAC           : Yes
> Format settings, ReFrames        : 4 frames
> Codec ID                         : h264
> Duration                         : 10s 761ms
> Bit rate                         : 112 Mbps
> Width                            : 1 920 pixels
> Height                           : 1 080 pixels
> Display aspect ratio             : 16:9
> Frame rate                       : 23.976 fps
> Color space                      : YUV
> Chroma subsampling               : 4:2:0
> Bit depth                        : 8 bits
> Scan type                        : Progressive
> Bits/(Pixel*Frame)               : 2.263
> Stream size                      : 144 MiB (99%)
> Writing library                  : x264 core 98 r1643 0cd5d69
> Encoding settings                : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc=cqp / mbtree=0 / qp=5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=0
>
=====================ORIGINAL===================
> [gat at MyLaptop TEST_FP24]$ mediainfo /home/gat/DIESEL/TEST_FP24/PF24_10Seconds.MTS
> General
> ID                               : 0
> Complete name                    : /home/gat/DIESEL/TEST_FP24/PF24_10Seconds.MTS
> Format                           : BDAV
> Format/Info                      : Blu-ray Video
> File size                        : 31.6 MiB
> Duration                         : 10s 980ms
> Overall bit rate                 : 24.1 Mbps
> Maximum Overall bit rate         : 24.0 Mbps
>
> Video
> ID                               : 4113 (0x1011)
> Menu ID                          : 1 (0x1)
> Format                           : AVC
> Format/Info                      : Advanced Video Codec
> Format profile                   : High at L4.0
> Format settings, CABAC           : Yes
> Format settings, ReFrames        : 2 frames
> Duration                         : 10s 877ms




More information about the MEncoder-users mailing list