Topic - wmv to flv convertion



Reply to this topic

Topic Starter thomaspsimon - Posted on Wednesday, November 7 2007 10:47:33 PM
Hi All,

I am just new to this forum.

Hope someone will help me in fixing the issue i face with my mencoder.

My platform is Centos 5.

When i am converting a wmv file to flv i get the following error.I am using the latest available mplayer version.

[root@server avi]# /usr/bin/mencoder Ycevq5lZjz4Bpq4DCC4j.WMV -o QEfYfc5seNTmuiaeLjyO.flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=800:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -vf scale=450:400 -srate 22050
MEncoder 1.0rc2-4.1.1 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Xeon(TM) CPU 2.40GHz (Family: 15, Model: 2, Stepping: 9)
CPUflags: Type: 15 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 - 0x25127e
ASF file format detected.
[asfheader] Audio stream found, -aid 1
[asfheader] Video stream found, -vid 2
VIDEO: [WMV1] 320x240 24bpp 1000.000 fps 632.0 kbps (77.1 kbyte/s)
[V] filefmt:6 fourcc:0x31564D57 size:320x240 fps:1000.00 ftime:=0.0010
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 64.0 kbit/4.54% (ratio: 8005->176400)
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
==========================================================================
** MUXER_LAVF *****************************************************************
REMEMBER: MEncoder's libavformat muxing is presently broken and can 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 filter: [scale w=450 h=400]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffwmv1] vfm: ffmpeg (FFmpeg M$ WMV1/WMV7)
==========================================================================
MP3 audio selected.
VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4
[swscaler @ 0x8729d00]SwScaler: BICUBIC scaler, from yuv420p to yuv420p using MMX2
[swscaler @ 0x8729d00]SwScaler: using 4-tap MMX scaler for horizontal luminance scaling
[swscaler @ 0x8729d00]SwScaler: using 4-tap MMX scaler for horizontal chrominance scaling
[swscaler @ 0x8729d00]SwScaler: using n-tap MMX scaler for vertical scaling (YV12 like)
[swscaler @ 0x8729d00]SwScaler: 320x240 -> 450x400
videocodec: libavcodec (450x400 fourcc=31564c46 [FLV1])
[VE_LAVC] High quality encoding selected (non-realtime)!
VIDEO CODEC ID: 22
AUDIO CODEC ID: 15001, TAG: 0
Writing header...

31 duplicate frame(s)!
Pos: 0.0s 1f (12%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
32 duplicate frame(s)!
Pos: 0.1s 2f (12%) 0.00fps Trem: 0min 0mb A-V:0.003 [0:0]
33 duplicate frame(s)!
Pos: 0.1s 3f (12%) 0.00fps Trem: 0min 0mb A-V:0.006 [0:0]
31 duplicate frame(s)!
Pos: 0.1s 4f (12%) 0.00fps Trem: 0min 0mb A-V:0.008 [0:0]
31 duplicate frame(s)!
Pos: 0.2s 5f (12%) 0.00fps Trem: 0min 0mb A-V:0.010 [0:0]
32 duplicate frame(s)!
Pos: 0.2s 6f (12%) 0.00fps Trem: 0min 0mb A-V:0.013 [0:0]
31 duplicate frame(s)!
Pos: 0.2s 7f (12%) 0.00fps Trem: 0min 0mb A-V:0.015 [0:0]
31 duplicate frame(s)!
Pos: 0.3s 8f (12%) 0.00fps Trem: 0min 0mb A-V:0.017 [0:0]
32 duplicate frame(s)!
Pos: 0.3s 9f (12%) 0.00fps Trem: 0min 0mb A-V:0.020 [0:0]
31 duplicate frame(s)!
Pos: 0.3s 10f (12%) 0.00fps Trem: 0min 0mb A-V:0.022 [0:0]
31 duplicate frame(s)!
Pos: 0.4s 11f (12%) 0.00fps Trem: 0min 0mb A-V:0.024 [0:0]
32 duplicate frame(s)!


Please help me to fix this.
thomaspsimon - Posted on Wednesday, November 7 2007 10:50:39 PM
Though the flv file gets created, its video is moving very fastly.The audio plays perfectly.
sipibalazs - Posted on Monday, January 7 2008 09:00:00 AM
Hello,

I have the same problem with wmv and also asf. Did you find a solution?

Thanks
Balazs
Maha - Posted on Tuesday, May 13 2008 01:47:03 PM
It's easy to convert wmv to flv, using Video To Flash Converter!!
volt - Posted on Monday, April 12 2010 12:54:41 PM
agree, Video to Flash Converter good prog