[MPlayer-users] video runs too fast when convert rmvb to yuv4mpeg

姜孝慈 woodykiang at gmail.com
Thu Jul 31 09:43:22 CEST 2008


Hi,

I am trying to uncompress rmvb video via this command:

 mplayer anime.rmvb -vo yuv4mpeg:file=anime.yuv -ao null -nosound \
 -noframedrop -quiet -identify

and the output video goes too fast. (I can play rmvb file correctly
with mplayer)
After convert, a 25 minute video become 17 minute.
When I use this command to convert flv to yuv, it work fine.
-autosync 1 and -mc 0 does not help.

mencoder has this problem too. Here is my mencoder command:

  mencoder anime.rmvb -endpos 00:00:30 \
  -o anime.yuv -ovc raw -vf format=yv12 -nosound -noskip -mc 0 -autosync 1

Here is mplayer output:
MPlayer 1.0rc2-4.2.3 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) D  CPU 2.66GHz (Family: 15, Model: 4, Stepping: 7)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
115 audio & 237 video codecs
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing downAnime/Nijyuumensou_No_Musume_kt8_(btpig)_03.rmvb.

REAL file format detected.
Stream description: Audio Stream
Stream mimetype: audio/x-pn-realaudio
ID_AUDIO_ID=0
[real] Audio stream found, -aid 0
Stream description: Video Stream
Stream mimetype: video/x-pn-realvideo
ID_VIDEO_ID=1
[real] Video stream found, -vid 1
Stream mimetype: logical-fileinfo
VIDEO:  [RV40]  840x480  24bpp  23.000 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:
 name: 03
ID_CLIP_INFO_NAME0=name
ID_CLIP_INFO_VALUE0=03
 author: ???
ID_CLIP_INFO_NAME1=author
ID_CLIP_INFO_VALUE1=???
 copyright: bbs.jumpcn.com
ID_CLIP_INFO_NAME2=copyright
ID_CLIP_INFO_VALUE2=bbs.jumpcn.com
 comment:
ID_CLIP_INFO_NAME3=comment
ID_CLIP_INFO_VALUE3=
ID_CLIP_INFO_N=4
ID_FILENAME=downAnime/Nijyuumensou_No_Musume_kt8_(btpig)_03.rmvb
ID_DEMUXER=real
ID_VIDEO_FORMAT=RV40
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=840
ID_VIDEO_HEIGHT=480
ID_VIDEO_FPS=23.000
ID_VIDEO_ASPECT=0.0000
ID_LENGTH=1380.00
Using (default) progressive frame
mode.==========================================================================
Opening video decoder: [realvid] RealVideo decoder
Selected video codec: [rv3040] vfm: realvid (Linux RealPlayer 10
RV30/40 decoder)
==========================================================================
ID_VIDEO_CODEC=rv3040
Audio: no sound
Starting playback...
VDec: vo config request - 840 x 480 (preferred colorspace: Planar I420)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar I420 as output csp (no 0)
Movie-Aspect is 1.75:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.7500
[swscaler @ 0x8998570]SwScaler: using unscaled yuv420p -> yuv420p
special converter
VO: [yuv4mpeg] 840x480 => 840x480 Planar YV12
V:  30.0 579/579 11%  5%  0.0% 0 0 69%

Exiting... (End of file)

Thanks.



More information about the MPlayer-users mailing list