[MEncoder-users] Colorspace Conversion

Tobias Brockamp tobiasbrockamp at gmx.de
Tue Sep 11 03:40:02 CEST 2007


Am 10.09.2007 um 05:53 schrieb RC:

> On Mon, 10 Sep 2007 01:14:20 +0200
> Tobias Brockamp <tobiasbrockamp at gmx.de> wrote:
>
>> one encoded with vdub and the other with mencoder.
>
> Nobody can solve a bug just by seeing the end result of it, so your
> samples are pretty useless.  In addition, the mencoder file apparently
> has no video at all (just black).

ok i now have uploaded the input raw file:

http://rapidshare.com/files/54809204/color_raw.avi

hmm, unluckely the mencoder file wasn't encoded correctly. i just get
"duplicate frames" messages in the output and you've seen the result.

here the command line end the output from mencoder:

mencoder -of avi -ovc xvid -ofps 25 -oac mp3lame -srate 44100 -audio- 
preload 1.5 -mc 0 -vf pp=lb -xvidencopts  
"threads=2:par=1/1:max_key_interval=250:nopacked:closed_gop:rc_reaction_ 
delay_factor=16:rc_averaging_period=100:notrellis:bitrate=1500:min_iquan 
t=1:max_iquant=31:min_pquant=1:max_pquant=31:min_bquant=1:max_bquant=31: 
max_bframes=2:bquant_ratio=150:bquant_offse
t=100:me_quality=6:lumi_mask:chroma_me:qpel:gmc:vhq=4:bvhq=1:quant_type= 
h263" -lameopts "cbr:preset=128:mode=0" -o _color/ 
color_mencoder_FALSE2.avi _raws/color_raw.avi
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 - 0x19ac44
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO:  []  768x576  24bpp  25.000 fps  5308.4 kbps (648.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: [pp=lb]
======================================================================== 
==
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.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
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.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
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.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
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.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
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.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
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.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
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 -> yuv420p  
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.
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:   0.0s      3f (89%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:127]
1 duplicate frame(s)!
Pos:   0.1s      4f (89%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:127]
1 duplicate frame(s)!
Pos:   0.1s      5f (89%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:127]
1 duplicate frame(s)!
Pos:   0.2s      6f (89%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:127]
1 duplicate frame(s)!
Pos:   0.2s      7f (89%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:127]
1 duplicate frame(s)!
Pos:   0.2s      8f (89%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:127]
1 duplicate frame(s)!
Pos:   0.3s      9f (89%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:127]
1 duplicate frame(s)!
Pos:   0.3s     10f (89%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:127]
1 duplicate frame(s)!
Pos:   0.4s     11f (89%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:127]
1 duplicate frame(s)!
Pos:   0.4s     12f (89%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:127]
1 duplicate frame(s)!
Pos:   0.4s     13f (89%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:127]
1 duplicate frame(s)!
Pos:   0.5s     14f (100%)  0.00fps Trem:   0min   0mb  A-V:0.000  
[0:128]
1 duplicate frame(s)!
Pos:   0.5s     15f (100%)  0.00fps Trem:   0min   0mb  A-V:0.000  
[0:128]
1 duplicate frame(s)!
Pos:   0.6s     16f (100%)  0.00fps Trem:   0min   0mb  A-V:0.000  
[0:128]
1 duplicate frame(s)!
Pos:   0.6s     17f (100%)  0.00fps Trem:   0min   0mb  A-V:0.000  
[0:128]
1 duplicate frame(s)!
Pos:   0.6s     18f (100%)  0.00fps Trem:   0min   0mb  A-V:0.000  
[0:128]
1 duplicate frame(s)!
Pos:   0.7s     19f (100%)  0.00fps Trem:   0min   0mb  A-V:0.000  
[0:128]
1 duplicate frame(s)!
Pos:   0.7s     20f (100%)  0.00fps Trem:   0min   0mb  A-V:0.000  
[0:128]
1 duplicate frame(s)!
Pos:   0.8s     21f (100%)  0.00fps Trem:   0min   0mb  A-V:0.000  
[0:128]
1 duplicate frame(s)!
Pos:   0.8s     22f (100%)  0.00fps Trem:   0min   0mb  A-V:0.000  
[0:128]
1 duplicate frame(s)!
Pos:   0.8s     23f (100%)  0.00fps Trem:   0min   0mb  A-V:0.000  
[0:128]
1 duplicate frame(s)!
Pos:   0.9s     24f (100%)  0.00fps Trem:   0min   0mb  A-V:0.000  
[0:128]
1 duplicate frame(s)!
Pos:   0.9s     25f (100%)  0.00fps Trem:   0min   0mb  A-V:0.000  
[0:128]
1 duplicate frame(s)!
Pos:   1.0s     26f (100%)  0.00fps Trem:   0min   0mb  A-V:0.000  
[0:128]
1 duplicate frame(s)!
Pos:   1.0s     27f (100%)  0.00fps Trem:   0min   0mb  A-V:0.000  
[0:128]
1 duplicate frame(s)!
Pos:   1.0s     28f (100%)  0.00fps Trem:   0min   0mb  A-V:0.000  
[115:128]
1 duplicate frame(s)!
Pos:   1.1s     29f (100%)  0.00fps Trem:   0min   0mb  A-V:0.000  
[111:128]
1 duplicate frame(s)!
Pos:   1.1s     30f (100%)  0.00fps Trem:   0min   0mb  A-V:0.000  
[107:128]
1 duplicate frame(s)!
Pos:   1.2s     31f (100%)  0.00fps Trem:   0min   0mb  A-V:0.000  
[103:128]
1 duplicate frame(s)!
Pos:   1.2s     32f (100%)  0.00fps Trem:   0min   0mb  A-V:0.000  
[100:128]
1 duplicate frame(s)!
Pos:   1.2s     33f (100%)  0.00fps Trem:   0min   0mb  A-V:0.000  
[97:128]
1 duplicate frame(s)!
Pos:   1.3s     34f (100%)  0.00fps Trem:   0min   0mb  A-V:0.000  
[94:128]
1 duplicate frame(s)!
Pos:   1.3s     35f (100%)  0.00fps Trem:   0min   0mb  A-V:0.000  
[91:128]
1 duplicate frame(s)!
Pos:   1.4s     36f (100%)  0.00fps Trem:   0min   0mb  A-V:0.000  
[88:128]
1 duplicate frame(s)!
Pos:   1.4s     37f (100%)  0.00fps Trem:   0min   0mb  A-V:0.000  
[85:128]
1 duplicate frame(s)!
Pos:   1.4s     38f (100%)  0.00fps Trem:   0min   0mb  A-V:0.000  
[83:128]
1 duplicate frame(s)!
Pos:   1.5s     39f (100%)  0.00fps Trem:   0min   0mb  A-V:0.000  
[81:128]
1 duplicate frame(s)!
Pos:   1.5s     40f (100%)  0.00fps Trem:   0min   0mb  A-V:0.000  
[79:128]
1 duplicate frame(s)!
Pos:   1.6s     41f (100%)  0.00fps Trem:   0min   0mb  A-V:0.000  
[77:128]
1 duplicate frame(s)!
Pos:   1.6s     42f (100%)  0.00fps Trem:   0min   0mb  A-V:0.000  
[75:128]
1 duplicate frame(s)!
Pos:   1.6s     43f (100%)  0.00fps Trem:   0min   0mb  A-V:0.000  
[73:128]
1 duplicate frame(s)!
Pos:   1.7s     44f (100%)  0.00fps Trem:   0min   0mb  A-V:0.000  
[71:128]
1 duplicate frame(s)!
Pos:   1.7s     45f (100%)  0.00fps Trem:   0min   0mb  A-V:0.000  
[69:128]
1 duplicate frame(s)!
Pos:   1.8s     46f (100%)  0.00fps Trem:   0min   0mb  A-V:0.000  
[68:128]
1 duplicate frame(s)!
Pos:   1.8s     47f (100%)  0.00fps Trem:   0min   0mb  A-V:0.000  
[66:128]
1 duplicate frame(s)!
Pos:   1.8s     48f (100%)  0.00fps Trem:   0min   0mb  A-V:0.000  
[65:128]
1 duplicate frame(s)!
Pos:   1.9s     49f (100%)  0.00fps Trem:   0min   0mb  A-V:0.000  
[64:128]
1 duplicate frame(s)!
Pos:   1.9s     50f (100%)  0.00fps Trem:   0min   0mb  A-V:0.000  
[62:128]
Flushing video frames.
Writing index...
Writing header...
ODML: vprp aspect is 4:3.
Setting audio delay to 0.040s.

Video stream:   62.704 kbit/s  (7838 B/s)  size: 15049 bytes  1.920  
secs  50 frames

Audio stream:  128.000 kbit/s  (16000 B/s)  size: 30929 bytes  1.933  
secs

>
>> any idea how to solve the problem or what vdub does?
>
> I've never been a very good psychic.
> _______________________________________________
> 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