[MPlayer-users] converted video is shorter
Dave Wayne
dave.wayne at gmail.com
Thu Apr 24 01:25:27 CEST 2008
I'm trying to convert another quicktime movie to flash, but mencoder keeps
shortening the video.
I've tried a variety of options, the ones below are to prevent any frames
from being dropped but its still shorter.
Mplayer plays the movie for the proper duration of ~55s. mencoder comes in
at ~19s
/usr/local/bin/mencoder src_file -ovc lavc -oac mp3lame -o dest_file.flv
-ni -mc 0 -noskip
MEncoder dev-SVN-r26348-4.3.1 (C) 2000-2008 MPlayer Team
CPU: AMD Athlon(tm) MP (Family: 6, Model: 6, Stepping: 1)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
WARNING: OUTPUT FILE FORMAT IS _AVI_. See -of help.
success: format: 0 data: 0x0 - 0x283498
libavformat file format detected.
[lavf] Audio stream found, -aid 0
[lavf] Video stream found, -vid 1
VIDEO: [SVQ3] 480x270 32bpp 75.000 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:44 fourcc:0x33515653 size:480x270 fps:75.00 ftime:=0.0133
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio)
decoder)
==========================================================================
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
Selected video codec: [ffsvq3] vfm: ffmpeg (FFmpeg Sorenson Video v3 (SVQ3))
==========================================================================
MP3 audio selected.
VDec: vo config request - 480 x 270 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
videocodec: libavcodec (480x270 fourcc=34504d46 [FMP4])
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
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...1f ( 6%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
ODML: Aspect information not (yet?) available or unspecified, not writing
vprp header.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing
vprp header.
Here is the mplayer output:
MPlayer dev-SVN-r26348-4.3.1 (C) 2000-2008 MPlayer Team
CPU: AMD Athlon(tm) MP (Family: 6, Model: 6, Stepping: 1)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
Playing /mnt/warpcore/home/images/v/uploads/s/39/silent-hill-homecoming.
libavformat file format detected.
[lavf] Audio stream found, -aid 0
[lavf] Video stream found, -vid 1
VIDEO: [SVQ3] 480x270 32bpp 75.000 fps 0.0 kbps ( 0.0 kbyte/s)
vo: couldn't open the X11 display ()!
vo: couldn't open the X11 display ()!
VO XOverlay need a subdriver
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
vo: couldn't open the X11 display ()!
vo: couldn't open the X11 display ()!
vo: couldn't open the X11 display ()!
No vidix driver name provided, probing available ones (-v option for
details)!
vo: couldn't open the X11 display ()!
vo_cvidix: No vidix driver name provided, probing available ones (-v option
for details)!
[mach64] Found chip: Rage XL
[mach64] Video memory = 4Mb
[mach64] Planar YUV formats are supported :)
[VO_SUB_VIDIX] Description: BES driver for Mach64/3DRage cards.
[VO_SUB_VIDIX] Author: Nick Kurshev and Michael Niedermayer.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffsvq3] vfm: ffmpeg (FFmpeg Sorenson Video v3 (SVQ3))
==========================================================================
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio)
decoder)
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or
directory
DVB card number must be between 1 and 4
AO: [null] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 480 x 270 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [cvidix] 480x270 => 480x270 Planar YV12
vo_cvidix: warn: screenwidth and height not set assuming 640x480
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
.
More information about the MPlayer-users
mailing list