[MEncoder-users] performance with large files

Tobias Brockamp tobiasbrockamp at gmx.de
Sat Sep 22 00:16:03 CEST 2007


Am 21.09.2007 um 23:41 schrieb RC:

> On Fri, 21 Sep 2007 23:12:51 +0200
> Tobias Brockamp <tobiasbrockamp at gmx.de> wrote:
>
>> Nobody an idea?
>>
>> :-(
>
> You didn't give anyone much to work with.  No long of the output, not
> the slightest bit of info on MPlayer or your system, etc.

I'm using an actual SVN version, don't know why it's not displayed in  
the mencoder output.


MEncoder dev-SVN-rUNKNOWN-3.4.2 (C) 2000-2007 MPlayer Team
CPU: Genuine Intel(R) CPU           T2500  @ 2.00GHz (Family: 6,  
Model: 14, Stepping: 8)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

success: format: 0  data: 0x0 - 0xb194aa5c
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
AVI: ODML: Building ODML index (2 superindexchunks).
VIDEO:  []  768x576  24bpp  25.000 fps  265420.8 kbps (32400.0 kbyte/s)
[V] filefmt:3  fourcc:0x0  size:768x576  fps:25.00  ftime:=0.0400
======================================================================== 
==
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400- 
 >176400)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
======================================================================== 
==
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 filter: [harddup]
Opening video filter: [pp=lb]
Opening video filter: [format fmt=yv12]
Opening video filter: [scale]
Opening video filter: [format fmt=rgb24]
Opening video filter: [scale]
======================================================================== 
==
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 768 x 576 (preferred colorspace: BGR 24-bit)
[PP] Using external postprocessing filter, max q = 6.
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 768 x 576 (preferred colorspace: BGR 24-bit)
[PP] Using external postprocessing filter, max q = 6.
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 768 x 576 (preferred colorspace: BGR 24-bit)
[PP] Using external postprocessing filter, max q = 6.
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 768 x 576 (preferred colorspace: BGR 24-bit)
[PP] Using external postprocessing filter, max q = 6.
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 768 x 576 (preferred colorspace: BGR 24-bit)
[PP] Using external postprocessing filter, max q = 6.
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 768 x 576 (preferred colorspace: BGR 24-bit)
[PP] Using external postprocessing filter, max q = 6.
VDec: using BGR 24-bit as output csp (no 0)
Opening video filter: [flip]
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 009AF5D0]SwScaler: using unscaled bgr24 -> rgb24 special  
converter
Opening video filter: [expand]
Expand: -1 x -1, -1 ; -1, osd: 0, aspect: 0.000000, round: 1
videocodec: XviD (768x576 fourcc=44495658 [XVID])
xvid: par=0/0 (vga11), displayed=768x576, sampled=768x576
xvid: CBR Rate Control -- bitrate=1500kbit/s
Selected video codec: [rawbgr24flip] vfm: raw (RAW BGR24)
======================================================================== 
==
MP3 audio selected.

Badly interleaved AVI file detected - switching to -ni mode...
Writing header...
ODML: vprp aspect is 4:3.
Setting audio delay to 0.052s.
Writing header...
ODML: vprp aspect is 4:3.
Setting audio delay to 0.052s.
Pos:  89.2s   2233f (99%)  5.86fps Trem:   0min  15mb  A-V:0.000  
[1346:127]
Flushing video frames.
Writing index...
Writing header...
ODML: vprp aspect is 4:3.
Setting audio delay to 0.040s.

Video stream: 1344.857 kbit/s  (168107 B/s)  size: 15015333 bytes   
89.320 secs  2233 frames

Audio stream:  128.000 kbit/s  (15999 B/s)  size: 1428166 bytes   
89.260 secs


My system is a Intel Core Duo 2GHz 1GB RAM.

I can not change the encoding option because these are fixed.

I need mencoder for a batch encoding solution and i want to know if  
it is better to
encode audio and video separatly and than remux, because of better  
performance.
The problem is that i than get temporarly files.

Is there perhaps an ideal workflow?


> The only
> option you've left is someone having had this exact problem before,
> happening upon your message.
>
> You could try encoding with different audio and video codecs, lavf
> demuxer, different (bare) encoding options, etc.  If you want to
> track down the problem, you really have to help, at least a bit.
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mencoder-users




More information about the MEncoder-users mailing list