Hallo,
ich exportiere aus Premiere Elements ein uncompressed AVI 24bit RGB wie ich es in diesem Thread schon einmal beschrieben habe:
http://forum.gleitz.info/showthread.php?t=34668
Folgendes Problem tritt auf:
Wenn ich dieses Video mit mencoder in ein AVI xvid/mp3 encodiere, habe ich im Video einen roten Farbstich und es wird etwas unscharf.
Hier mein mencoder Output:
mencoder -of avi -ovc xvid -o
fps 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_f
actor=16:rc_averaging_period=100:notrellis:bitrate=1500:min_iquant=1:max_iquant=
31:min_pquant=1:max_pquant=31:min_bquant=1:max_bquant=31:max_bframes=2:bquant_ra
tio=150:bquant_offset=100:me_quality=6:lumi_mask:chroma_me:qpel:gmc:vhq=4:bvhq=1
:quant_type=h263" -lameopts "cbr:preset=128:mode=0" -o 01_mencoder_01.avi 01.avi
MEncoder dev-SVN-r23833-4.2.0 (C) 2000-2007 MPlayer Team
CPU: Genuine Intel(R) CPU T2500 @ 2.00GHz (Family: 6, Model: 14, Step
ping: 8)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
success: format: 0 data: 0x0 - 0x8e83c00
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
Detected NON-INTERLEAVED AVI file format.
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: [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 @ 00C36D20]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.
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
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: 4.4s 112f (99%) 1.02fps Trem: 0min 0mb A-V:0.000 [372:127]
Flushing video frames.
Writing index...
Writing header...
ODML: vprp aspect is 4:3.
Setting audio delay to 0.040s.
Video stream: 366.127 kbit/s (45765 B/s) size: 205031 bytes 4.480 secs 112
frames
Audio stream: 128.000 kbit/s (15999 B/s) size: 70635 bytes 4.415 secs
Alles anzeigen
Das ganze Video mit VirtualDub mit den gleichen Xvid Einstellungen, sieht dagegen super aus.
Meine Vermutung ist das es an dem Farbmodus des unkomprimierten AVIs liegt, VirtualDub scheint das Video vorher in einen anderen Farbmodus zu konvertieren (YV12?) wie es bspw. auch MeGUI macht.
Desweiteren habe ich zum Test mal aus Premiere über ffdshow exportiert und dort uncompressed im Farbmodus YV12 ausgewählt. Das Resultat nach mencoder hatte keinen Farbstich.
Gibt es eine Möglichkeit über mencoder zuerst das Video in bspw. YV12 zu konvertieren? Bspw. über einen Filter?
Andere Möglichkeit wäre auf das uncompressed AVI 24bit RGB zu verzichten. Ideal müsste eine ANternative direkt in Premiere Elements wählbar sein, also keine Extra-Installation von ffdshow oder huffyuv etc. . Mir ist da der uncomrpressed UYVY Codec aufgefallen, hat jemand damit Erfahrung? Oder evtl. eine andere Empfehlung.
Und bevor ich es vergesse, andere Tools sollten nicht verwendet werden, also kein AVISynth, MeGUI usw..