[MPlayer-users] mencoder and -vop expand

Kiko Piris mplayer at pirispons.net
Mon Jul 29 20:07:02 CEST 2002


Hi all,

I have a video that I would like to resize (not rescale but expand, in
order to be able to transform it to SVCD).

Original video size is 672:288.

I've used the option -vop expand=704:576 in mplayer and it plays fine
with the black bands on top and bottom.

My problem is with mencoder, I've tried the following :

mencoder input.avi -oac copy -ovc copy -vop expand=704:576 -v > output.log

And the generated test.avi continues to have the same format than the
original.

I've tried placing '-vop expand=704:576' in different places in the
command line, I've searched the docs, the web, and the list archives
with no success at all.

Could anyone tell-me what I'm doing wrong ?

Here follows the output.log contents:

------------------------------------------------------------------------
font: can't open file: /home/kiko/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
success: format: 0  data: 0x0 - 0x8ABF2
======= AVI Header =======
us/frame: 41708  (fps=23.976)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE
frames  total: 100   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  672 x 288
======= STREAM Header =======
Type: vids   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 239759/10000 = 23.976
Start: 0   Len: 100
Suggested BufferSize: 26660
Quality 0
Sample size: 0
======= VIDEO Format ======
  biSize 40
  biWidth 672
  biHeight 288
  biPlanes 1
  biBitCount 16
  biCompression 1482049860='DIVX'
  biSizeImage 580608
===========================
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 44100/1152 = 38.281
Start: 0   Len: 178
Suggested BufferSize: 314
Quality 0
Sample size: 0
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 44100
avg byte/sec: 12000
Block align: 1152
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=313
mp3.nFramesPerBlock=1
mp3.nCodecDelay=0
videocodec: framecopy (672x288 16bpp fourcc=58564944)
audiocodec: framecopy (format=55 chans=2 rate=44100 bits=0 bps=12000 sample=0)
Writing AVI header...

Writing AVI index...
Fixup AVI header...

Video stream:  965.991 kbit/s  (120748 bps)  size: 503626 bytes  4.171 secs  100 frames

Audio stream:   95.999 kbit/s  (11999 bps)  size: 55797 bytes  4.650 secs
------------------------------------------------------------------------

Thanks in advance!

-- 
Kiko




More information about the MPlayer-users mailing list