[MPlayer-users] Fitting a big file on a 700mb cd with mencoder?

khurram khurram at rcn.com
Fri Jun 4 19:27:50 CEST 2004


Ok, sorry, here are the commands i used.  The name of the input file is  
'TheMovie.avi' which is around 1.4GB.

First Command used:

$ mencoder -oac copy -ovc copy TheMovie.mpg -o Movieout.mpg -endpos 670mb

Console result:

Pos:2479.9s  59461f (50%) 950fps Trem:   1min 1323mb  A-V:0.078  
[2040Pos:2480.0s  59462f (50%) 950fps Trem:   1min 1323mb  A-V:0.079  
[2040Pos:2480.0s  59463f (50%) 950fps Trem:   1min 1323mb  A-V:0.079  
[2040:224]
Writing AVI index...
Fixing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not writing  
vprp header.

Video stream: 2040.452 kbit/s  (255056 bps)  size: 632545583 bytes   
2480.022 secs  59463 frames

Audio stream:  224.000 kbit/s  (28000 bps)  size: 69454000 bytes  2480.500  
secs

--

I am now left with two files, one is the original 'TheMovie.avi' and the  
other one is 'Movieout.mpg' which is around 700mb.  I deleted this  
'Movieout.mpg', since i think it was only used to get the frames.

Moving on to the next instruction:

Second Command used:

$ mencoder -oac copy -ovc copy TheMovie.mpg -o Movieout2.mpg -ss  59463

Console result:

MPEG-PS file format detected.
VIDEO:  MPEG2  480x480  (aspect 1)  23.976 fps  2516.0 kbps (314.5 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:480x480  fps:23.98  ftime:=0.0417
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 28000->176400 (224.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
videocodec: framecopy (480x480 24bpp fourcc=10000002)
audiocodec: framecopy (format=50 chans=2 rate=44100 bits=16 bps=28000  
sample=1)
Writing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not writing  
vprp header.

Writing AVI index...
Fixing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not writing  
vprp header.

Video stream:      nan kbit/s  (-2147483648 bps)  size: 0 bytes  0.000  
secs  0 frames

Audio stream:      nan kbit/s  (-2147483648 bps)  size: 0 bytes  0.000 secs

---

And thats it.  The Movieout2.mpg is a mere 4kb file.

Thx.

As for using the suggested gui, kvcd script:  I want to try using ffmpeg  
since it seems the fastest.  Will look into those too, but would like to  
get this working.  Thx for the suggestion. :)







More information about the MPlayer-users mailing list