[MEncoder-users] convert to flv

andrew barry jagguy999 at gmail.com
Fri Jan 5 02:02:57 CET 2007


On 1/5/07, andrew barry <jagguy999 at gmail.com> wrote:
>
>
>
>
>
> >
> > > Can't open library ir41_32.dll
> > > ICOpen failed! unknown codec / wrong parameters?
> > > VDecoder init failed :(
> > > Requested video codec family [indeo4xa] (vfm=xanim) not available.
> > > Enable it at compilation.
> >
> > >You have to be able to play a file before you can encode it...
> >
> > >You'll probably want to see the section in the HTML docs on win32
> > binary
> > >cocdecs.
>
>
in the docs it says without helping me  much.

VFW (Video for Windows) is the old Video API for Windows. Its codecs have
the .DLL or (rarely) .DRV extension. If MPlayer fails at playing your AVI
with this kind of message:

UNKNOWN video codec: HFYU (0x55594648)

It means your AVI is encoded with a codec

----now I haven't got that error and I tried a wmv,mpg file

--
this produces a flv file but flash player loads nothing with the file size
not empty.?

C:\www\mencoder>mencoder fish.mpg -o fish.flv -of lavf -oac mp3lame
-lameopts ab
r:br=56 -srate 22050 -ovc lavc -lavcopts
vcodec=flv:vbitrate=500:mbd=2:mv0:trell
:v4mv:cbp:last_pred=3 -lavfopts
i_certify_that_my_video_stream_does_not_use_b_fr
ames
MEncoder 1.0rc1-3.4.2 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 2.00GHz (Family: 15, Model: 2, Stepping: 4)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with runtime CPU detection.
success: format: 0  data: 0x0 - 0xdcf44
MPEG-ES file format detected.
VIDEO:  MPEG1  320x240  (aspect 8)  25.000 fps  1700.0 kbps (212.5 kbyte/s)
[V] filefmt:1  fourcc:0x10000001  size:320x240  fps:25.00  ftime:=0.0400
** MUXER_LAVF
*****************************************************************
You have certified that your video stream does not contain B frames.
REMEMBER: MEncoder's libavformat muxing is presently broken and will
generate
INCORRECT files in the presence of B frames. Moreover, due to bugs MPlayer
will play these INCORRECT files as if nothing were wrong!
*******************************************************************************
OK, exit
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 320 x 240 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.42:1 - prescaling to correct movie aspect.
videocodec: libavcodec (320x240 fourcc=766c66 [flv])
[VE_LAVC] High quality encoding selected (non-realtime)!
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
VIDEO CODEC ID: 02f ( 3%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
Writing header...

1 duplicate frame(s)!
Pos:   4.3s    108f (99%) 37.66fps Trem:   0min   0mb  A-V:0.000 [705:0]
Flushing video frames
Writing index...
SEEK 4
SEEK 52
SEEK 148
SEEK 379534

Video stream:  705.933 kbit/s  (88241 B/s)  size: 377674 bytes  4.280 secs
108
frames

C:\www\mencoder>



More information about the MEncoder-users mailing list