[MEncoder-users] mencoder settings for Kinoma PalmOS media player?

Joe Emenaker joe at emenaker.com
Thu Jan 4 13:54:57 CET 2007


Lennart Börjeson wrote:
> There's no really good way to tell why your player doesn't accept it 
> unless
> you can find same way to get it to actually complain about specific issues. 
> I'm afraid the only method you're left with is "trial and error".
>   
Well, I discovered that I get much more information than "--identify" if 
I use "'-vo' 'null' '-ao' 'null' '-v' '-frames' '1'".

Here's the output of "diff Good.stdout.txt Test.stdout.txt". Hopefully, 
somebody can help me figure out how to massage my encoding parms to 
clear up these differences....

Some of the things that draw my attention are the fact that the aspect 
ratios are different. The "Good" movie refers to resolutions of 320x176 
and 436x240. This is strange, since the Kinoma player's display space 
for the movie is 320x240.

Also, around line 50, the "Good" movie has "MOV:   Handler header: /vide 
() ideo Media Handler" while the "Test" movie has "MOV:   Handler 
header: /vide () VideoHandler".

I'm stumped.....
> 9c9
> < CommandLine: 'Good.MP4' '-vo' 'null' '-ao' 'null' '-v' '-frames' '1'
> ---
> > CommandLine: 'Test.MP4' '-vo' 'null' '-ao' 'null' '-v' '-frames' '1'
> 23c23
> < [file] File size is 124556385 bytes
> ---
> > [file] File size is 1496884 bytes
> 36,39c36,40
> < ISO: File Type Major Brand: ISO/IEC 14496-1 (MPEG-4 system) v2
> < ISO: File Type Minor Version: 0
> < ISO: File Type Compatible Brand #0: mp42
> < ISO: File Type Compatible Brand #1: isom
> ---
> > ISO: File Type Major Brand: ISO Base Media
> > ISO: File Type Minor Version: 512
> > ISO: File Type Compatible Brand #0: mp41
> > MOV: 'WIDE' chunk found!
> > MOV: Movie DATA found!
> 43c44
> < MOV: Movie header (100 bytes): tscale=90000  dur=305427753
> ---
> > MOV: Movie header (100 bytes): tscale=1000  dur=112667
> 47c48
> < tkhd len=84 ver=0 flags=0x0 id=1 dur=305427753 lay=0 vol=0
> ---
> > tkhd len=84 ver=0 flags=0x0 id=1 dur=112667 lay=0 vol=0
> 50c51
> < MOV:   Handler header: /vide () ideo Media Handler
> ---
> > MOV:   Handler header: /vide () VideoHandler
> 57,64c58,65
> < MOV:      desc #0: mp4v  (139 bytes)
> < MOV:     Sample duration table! (30313 blocks)
> < MOV:     Sample->Chunk mapping table!  (2 blocks) (ver:0,flags:0)
> < MOV:     Sample size table! (entries=50905 ss=0) (ver:0,flags:0)
> < MOV:     Chunk offset table! (12727 chunks)
> < MOV:     Syncing samples (keyframes) table! (1957 entries) 
> (ver:0,flags:0)
> < MOV track #0: 12727 chunks, 50905 samples
> < pts=101809251  scale=30000  time=3393.642
> ---
> > MOV:      desc #0: mp4v  (152 bytes)
> > MOV:     Sample duration table! (1 blocks)
> > MOV:     Syncing samples (keyframes) table! (15 entries) (ver:0,flags:0)
> > MOV:     Sample->Chunk mapping table!  (1 blocks) (ver:0,flags:0)
> > MOV:     Sample size table! (entries=169 ss=0) (ver:0,flags:0)
> > MOV:     Chunk offset table! (169 chunks)
> > MOV track #0: 169 chunks, 169 samples
> > pts=338  scale=3  time=112.667
> 66c67
> < MOV: Found MPEG4 movie Elementary Stream Descriptor atom (69)!
> ---
> > MOV: Found MPEG4 movie Elementary Stream Descriptor atom (82)!
> 68,71c69,72
> < ESDS MPEG4 ES Descriptor (55Bytes):
> <  -> ESId: 0
> <  -> streamPriority: 31
> < ESDS MPEG4 Decoder Config Descriptor (47Bytes):
> ---
> > ESDS MPEG4 ES Descriptor (68Bytes):
> >  -> ESId: 1
> >  -> streamPriority: 0
> > ESDS MPEG4 Decoder Config Descriptor (60Bytes):
> 74,77c75,78
> <  -> bufferSizeDB: 0x016800
> <  -> maxBitrate: 245.760kbit/s
> <  -> avgBitrate: 245.760kbit/s
> < ESDS MPEG4 Decoder Specific Descriptor (32Bytes)
> ---
> >  -> bufferSizeDB: 0x000000
> >  -> maxBitrate: 200.000kbit/s
> >  -> avgBitrate: 0.000kbit/s
> > ESDS MPEG4 Decoder Specific Descriptor (45Bytes)
> 81c82
> < Display size: 320 x 176
> ---
> > Display size: 320 x 240
> 86c87
> < tkhd len=84 ver=0 flags=0x0 id=2 dur=305411135 lay=0 vol=256
> ---
> > tkhd len=84 ver=0 flags=0x0 id=2 dur=111688 lay=0 vol=256
> 89c90
> < MOV:   Handler header: /soun () ound Media Handler
> ---
> > MOV:   Handler header: /soun () SoundHandler
> 96c97
> < MOV:      desc #0: mp4a  (68 bytes)
> ---
> > MOV:      desc #0: mp4a  (59 bytes)
> 98,102c99,103
> < MOV:     Sample->Chunk mapping table!  (2 blocks) (ver:0,flags:0)
> < MOV:     Sample size table! (entries=146144 ss=0) (ver:0,flags:0)
> < MOV:     Chunk offset table! (6960 chunks)
> < MOV track #1: 6960 chunks, 146144 samples
> < pts=149651456  scale=44100  time=3393.457
> ---
> > MOV:     Sample->Chunk mapping table!  (1 blocks) (ver:0,flags:0)
> > MOV:     Sample size table! (entries=4810 ss=0) (ver:0,flags:0)
> > MOV:     Chunk offset table! (4810 chunks)
> > MOV track #1: 4810 chunks, 4810 samples
> > pts=4925440  scale=44100  time=111.688
> 105c106
> < MOV: Found MPEG4 audio Elementary Stream Descriptor atom (48)!
> ---
> > MOV: Found MPEG4 audio Elementary Stream Descriptor atom (39)!
> 107,108c108,109
> < ESDS MPEG4 ES Descriptor (31Bytes):
> <  -> ESId: 0
> ---
> > ESDS MPEG4 ES Descriptor (25Bytes):
> >  -> ESId: 2
> 110c111
> < ESDS MPEG4 Decoder Config Descriptor (20Bytes):
> ---
> > ESDS MPEG4 Decoder Config Descriptor (17Bytes):
> 114,115c115,116
> <  -> maxBitrate: 0.048kbit/s
> <  -> avgBitrate: 0.048kbit/s
> ---
> >  -> maxBitrate: 64.000kbit/s
> >  -> avgBitrate: 0.000kbit/s
> 121,123c122,125
> < MOV: longest streams: A: #1 (146144 samples)  V: #0 (50905 samples)
> < VIDEO:  [mp4v]  320x240  24bpp  15.008 fps    0.0 kbps ( 0.0 kbyte/s)
> < [V] filefmt:7  fourcc:0x7634706D  size:320x240  fps:15.01  ftime:=0.0666
> ---
> > Quicktime Clip Info:
> > MOV: longest streams: A: #1 (4810 samples)  V: #0 (169 samples)
> > VIDEO:  [mp4v]  320x240  24bpp  1.500 fps    0.0 kbps ( 0.0 kbyte/s)
> > [V] filefmt:7  fourcc:0x7634706D  size:320x240  fps: 1.50  ftime:=0.6667
> 125,129d126
> < [file] File size is 1752 bytes
> < STREAM: [file] ./Good.txt
> < STREAM: Description: File
> < STREAM: Author: Albeu
> < STREAM: Comment: based on the code from ??? (probably Arpi)
> 141,142c138
> < FAAD: got 0kbit/s bitrate from MP4 header!
> < AUDIO: 44100 Hz, 2 ch, s16le, 0.0 kbit/0.00% (ratio: 6->176400)
> ---
> > AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
> 156c152
> < [ffmpeg] aspect_ratio: 1.818182
> ---
> > [ffmpeg] aspect_ratio: 1.333333
> 160,162c156,158
> < Movie-Aspect is 1.82:1 - prescaling to correct movie aspect.
> < VO Config (320x240->436x240,flags=0,'MPlayer',0x32315659)
> < VO: [null] 320x240 => 436x240 Planar YV12
> ---
> > Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
> > VO Config (320x240->320x240,flags=0,'MPlayer',0x32315659)
> > VO: [null] 320x240 => 320x240 Planar YV12
> 165,167c161,162
> < *** [vo] Allocating (slices) mp_image_t, 320x176x12bpp YUV planar, 
> 84480 bytes
> *** [vo] Allocating (slices) mp_image_t, 320x176x12bpp YUV planar, 
> 84480 bytes
> EOF code: 1     0.1 A-V:  0.029 ct:  0.002   2/  2 ??% ??% ??,?% 0 0
> ---
> > *** [vo] Allocating (slices) mp_image_t, 320x240x12bpp YUV planar, 
> 115200 bytes
> EOF code: 1     0.0 A-V:  0.025 ct:  0.000   1/  1 ??% ??% ??,?% 0 0



More information about the MEncoder-users mailing list