[MEncoder-users] Understanding how to increase the size of subs

David H. Trang davidhtrang at gmail.com
Fri Apr 3 08:36:40 CEST 2009


I have a mkv file and I do a -sid 0 to use the sub, but the sub is very
small I use this command:

./mencoder ~/Movies/5_Centimeters_Per_Second.mkv -oac mp3lame -ovc xvid
-xvidencopts pass=2:bitrate=800 -alang jpn -sid 0 -subfont-text-scale 10 -v
-o 5movie.avi

Why do the size of the sub not increase?

init_freetype
get_path('font/font.desc') -> '/Users/Hong/.mplayer/font/font.desc'
font: can't open file: /Users/Hong/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206
chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
[file] File size is 2343510808 bytes
STREAM: [file] /Users/Hong/Movies/5_Centimeters_Per_Second.mkv
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
success: format: 0  data: 0x0 - 0x8baf2318
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
[mkv] Found the head...
[mkv] + a segment...
[mkv] /---- [ parsing seek head ] ---------
[mkv] /---- [ parsing seek head ] ---------
[mkv] \---- [ parsing seek head ] ---------
[mkv] /---- [ parsing cues ] -----------
[mkv] \---- [ parsing cues ] -----------
[mkv] \---- [ parsing seek head ] ---------
[mkv] |+ segment information...
[mkv] | + timecode scale: 1000000
[mkv] | + duration: 3765.792s
[mkv] |+ segment tracks...
[mkv] | + a track...
[mkv] |  + Track number: 1
[mkv] |  + Track type: Video
[mkv] |  + Default flag: 1
[mkv] |  + Codec ID: V_MPEG4/ISO/AVC
[mkv] |  + CodecPrivate, length 168
[mkv] |  + Default duration: 41.708ms ( = 23.976 fps)
[mkv] |  + Language: jpn
[mkv] |  + Video track
[mkv] |   + Pixel width: 1920
[mkv] |   + Pixel height: 1080
[mkv] |   + Display width: 16
[mkv] |   + Display height: 9
[mkv] | + a track...
[mkv] |  + Track number: 2
[mkv] |  + Track type: Audio
[mkv] |  + Default flag: 1
[mkv] |  + Codec ID: A_AC3
[mkv] |  + Default duration: 32.000ms ( = 31.250 fps)
[mkv] |  + Language: jpn
[mkv] |  + Audio track
[mkv] |   + Sampling frequency: 48000.000000
[mkv] |   + Channels: 4
[mkv] | + a track...
[mkv] |  + Track number: 3
[mkv] |  + Track type: Subtitle
[mkv] |  + Default flag: 1
[mkv] |  + Codec ID: S_TEXT/ASS
[mkv] |  + CodecPrivate, length 1165
[mkv] |  + Language: eng
[mkv] |+ found cluster, headers are parsed completely :)
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
[mkv] Track ID 2: audio (A_AC3), -aid 0, -alang jpn
[mkv] Track ID 3: subtitles (S_TEXT/ASS), -sid 0, -slang eng
==> Found video stream: 1
[mkv] Aspect: 1.777778
[mkv] Will play video track 1
==> Found audio stream: 2
[mkv] Will play audio track 2
[mkv] Will display subtitle track 3
Matroska file format detected.
VIDEO:  [avc1]  1920x1080  24bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:31  fourcc:0x31637661  size:1920x1080  fps:23.98  ftime:=0.0417
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
dec_audio: Allocating 3840 bytes for input buffer.
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer.
Using SSE optimized IMDCT transform
AC3: 4.0 (3f+1r)  48000 Hz  640.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0xA
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 640.0 kbit/41.67% (ratio: 80000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
xvid: using library version 1.2.-127 (build xvid-1.2.0-dev)
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
INFO: libavcodec init OK!
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
LAME 3.98 (alpha 3, Apr 14 2006 03:50:35) 32bits (http://www.mp3dev.org/)
warning: alpha versions should be used for testing only
Using polyphase lowpass filter, transition band: 19548 Hz - 20129 Hz

misc:

    scaling: 1
    ch0 (left) scaling: 0
    ch1 (right) scaling: 0
    filter type: 0
    quantization: xr^3/4
    huffman search: normal
    experimental Y=0
    ...

stream format:

    MPEG-1 Layer 3
    2 channel - joint stereo
    padding: all
    variable bitrate - VBR mtrh (default)
    ...

psychoacoustic:

    using psychoacoustic model: 1
    psychoacoustic model: NSPsytune
    tonality estimation limit: 20160.000000 Hz (not relevant)
    using short blocks: channel coupled
    subblock gain: 1
    adjust masking: -3.6 dB
    adjust masking short: -5.6 dB
    quantization comparison: 0
     ^ comparison short blocks: 0
    noise shaping: 1
     ^ amplification: 0
     ^ stopping: 0
    ATH: using
     ^ type: 4
     ^ shape: 1 (only for type 4)
     ^ level adjustement: -0.75
     ^ adjust type: 3
     ^ adjust sensitivity power: 1.000000
     ^ adapt threshold type: 2
    experimental psy tunings by Naoki Shibata
       adjust masking bass=0 dB, alto=0 dB, treble=0 dB, sfb21=6.5 dB
    using temporal masking effect: yes
    interchannel masking ratio: 0
    ...


More information about the MEncoder-users mailing list