[MEncoder-users] Problem using dvvideo codec
Romain Maurer
srom-pub at altern.org
Tue Jun 28 10:41:23 CEST 2005
Hi !
I've tried to encode a raw file using the libavcodec's "dvvideo" codec.
However, the generated file is not using the "dvsd" fourcc, but a "dvvi"
one, which is unreferenced, thus making the video unreadable, even with
mplayer.
I've edited the video file and replaced the two "dvvi" strings located
in the header with "dvsd", thus making the video playable in mpc.
Here are the logs :
Encoding :
---------------------------------------------------------------------------
D:\Test\mplayer>mencoder original.avi -o test.avi -ovc lavc -lavcopts
vcodec=dvvideo
MEncoder dev-CVS-050626-17:02-3.4.2 (C) 2000-2005 MPlayer Team
CPU: Intel (Family: 8, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: Type: 8 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with
--disable-runtime-cpudetection.
File not found: 'frameno.avi'
Failed to open frameno.avi
success: format: 0 data: 0x0 - 0x77d7e00
AVI file format detected.
AVI_NI: No audio stream found -> no sound.
AVI: No audio stream found -> no sound.
VIDEO: [] 720x576 24bpp 24.000 fps 238878.7 kbps (29160.0 kbyte/s)
[V] filefmt:3 fourcc:0x0 size:720x576 fps:24.00 ftime:=0.0417
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 720 x 576 (preferred csp: BGR 24-bit)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 720 x 576 (preferred csp: BGR 24-bit)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 720 x 576 (preferred csp: BGR 24-bit)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 720 x 576 (preferred csp: BGR 24-bit)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 720 x 576 (preferred csp: BGR 24-bit)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 720 x 576 (preferred csp: BGR 24-bit)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using BGR 24-bit as output csp (no 0)
Opening video filter: [flip]
Movie-Aspect is undefined - no prescaling applied.
SwScaler: using unscaled BGR 24-bit -> Planar YV12 special converter
videocodec: libavcodec (720x576 fourcc=69767664 [dvvi])
Selected video codec: [rawbgr24flip] vfm:raw (RAW BGR24)
==========================================================================
Writing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not
writing vprp header.
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
ODML: Aspect information not (yet?) available or unspecified, not
writing vprp header.
Pos: 4.2s 101f (99%) 38fps Trem: 0min 14mb A-V:0.000 [27648:0]
Flushing video frames
Writing AVI index...
Fixing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not
writing vprp header.
Video stream: 27648.000 kbit/s (3456000 bps) size: 14544000 bytes
4.208 secs 101 frames
Decoding :
-------------------------------------------------------------------------
MPlayer dev-CVS-050626-17:02-3.4.2 (C) 2000-2005 MPlayer Team
CPU: Intel (Family: 8, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with
--disable-runtime-cpudetection
c:/windows/fonts/arial.ttf doesn't look like a font description, ignoring.
Cannot load font: c:/windows/fonts/arial.ttf
Playing test.avi.
AVI file format detected.
AVI_NI: No audio stream found -> no sound.
AVI: No audio stream found -> no sound.
VIDEO: [dvvi] 720x576 24bpp 24.000 fps 27648.0 kbps (3375.0 kbyte/s)
Clip info:
Software: MEncoder dev-CVS-050626-17:02-3.4.2
==========================================================================
Cannot find codec matching selected -vo and video format 0x69767664.
Read DOCS/HTML/en/codecs.html!
==========================================================================
Exiting... (End of file)
---------------------------------------------------------------------------------
The question is :
Why doesn't the dvvideo codec uses a "dvsd" fourcc when encoding, even
when it is specify in the codecs.conf ?
If "dvvi" is the correct behaviour, how can i force it to "dvsd" ?
Thx in advance,
Romain
More information about the MEncoder-users
mailing list