[MPlayer-users] mencoder mjeg result all black video (just rc1)

Dominik 'Rathann' Mierzejewski dominik at rangers.eu.org
Fri Feb 16 20:44:04 CET 2007


On Friday, 16 February 2007 at 15:53, cory mintz wrote:
> I have an AVI that looks like the following:
> 
> 9905kpps 29.970 fps 720x480 MJPG video
> 1536kbps 4800hz 2 channel PCM audio
> 
> If I try to put this through mencoder rc1 to convert it to
> anything ( flv, mpeg4, ect ), I end up with a black video
> at about 45 kpbs. If I use mencoder pre8 it works just
> fine. Did something change or is this possibly an rc1 bug?
> 
> Here is an example of the bad output:
> 
> $ ./mencoder.exe 6420078.avi  -ovc lavc -srate 22050 -mc 0
> -lavcopts vcodec=mpeg4:vbitrate=4000 -oac mp3lame -lameopts br=96 -ffourcc DX50
>  -o test.avi
> MEncoder 1.0rc1-3.4.2 (C) 2000-2006 MPlayer Team
> CPU: Genuine Intel(R) CPU           T2400  @ 1.83GHz (Family: 6, Model: 14, Step
> ping: 8)
> CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
> Compiled with runtime CPU detection.
> success: format: 0  data: 0x0 - 0x114eee48
> AVI file format detected.
> VIDEO:  [MJPG]  720x480  24bpp  29.970 fps  9844.4 kbps (1201.7 kbyte/s)
> [V] filefmt:3  fourcc:0x47504A4D  size:720x480  fps:29.97  ftime:=0.0334
> ==========================================================================
> Opening audio decoder: [pcm] Uncompressed PCM audio decoder
> AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
> Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
> ==========================================================================
> Opening video filter: [expand osd=1]
> Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
> ==========================================================================
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> [mjpeg @ 00AF21A0]mjpeg: using external huffman table
> Selected video codec: [ffmjpeg] vfm: ffmpeg (FFmpeg MJPEG decoder)
> ==========================================================================
> Forcing output FourCC to 30355844 [DX50].
> MP3 audio selected.
> VDec: vo config request - 720 x 480 (preferred colorspace: Planar 422P)
> Could not find matching colorspace - retrying with -vf scale...
> Opening video filter: [scale]
> VDec: using Planar 422P as output csp (no 1)
> Movie-Aspect is undefined - no prescaling applied.
> SwScaler: reducing / aligning filtersize 1 -> 4
> SwScaler: reducing / aligning filtersize 1 -> 4
> SwScaler: reducing / aligning filtersize 1 -> 1
> SwScaler: reducing / aligning filtersize 9 -> 8
> 
> SwScaler: BICUBIC scaler, from yuv422p to yuv420p using MMX2
> SwScaler: using 4-tap MMX scaler for horizontal luminance scaling
> SwScaler: using 4-tap MMX scaler for horizontal chrominance scaling
> SwScaler: using 1-tap MMX "scaler" for vertical scaling (YV12 like)
> SwScaler: 720x480 -> 720x480
> videocodec: libavcodec (720x480 fourcc=30355844 [DX50])
> 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: Aspect information not (yet?) available or unspecified, not writing vprp h
> eader.
> Writing header...
> ODML: Aspect information not (yet?) available or unspecified, not writing vprp h
> eader.
> Pos:  15.6s    467f ( 8%) 102.05fps Trem:   0min   4mb  A-V:0.000 [46:127]
> Flushing video frames
> Writing index...
> Writing header...
> ODML: Aspect information not (yet?) available or unspecified, not writing vprp h
> eader.
> 
> Video stream:   46.139 kbit/s  (5767 B/s)  size: 89868 bytes  15.582 secs  467 f
> rames
> 
> Audio stream:  127.632 kbit/s  (15954 B/s)  size: 256306 bytes  16.065 secs

Do you have a frameno.avi file laying around? Post a verbose output, please
(add -v to that command line).

Regards,
R.

-- 
MPlayer developer and RPMs maintainer: http://mplayerhq.hu http://rpm.livna.org
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
	-- from "Collected Sayings of Muad'Dib" by the Princess Irulan



More information about the MPlayer-users mailing list