[MPlayer-users] libdv, ffdv question
Steven M. Schultz
sms at 2BSD.COM
Tue Oct 8 00:46:02 CEST 2002
Hi -
I saw the announcement on the ffmpeg mailing list that 'dv.c' was
changed to work with NTSC so I rebuilt MPlayer with the latest
libavcodec and tried to play "pond.dv".
libdv works but ffdv gives a VO error. In both cases the audio is
claimed to be 44100 - shouldn't this be 48000 (which is what I thought
the DV format used)?
Below you can see that "mplayer pond.dv" works ok, but "mplayer -vc ffdv pond.dv" starts (a split second of audio) and exits almost immediately
with "VO: invalid dimensions!"
Script started on Mon Oct 7 15:05:55 2002
awds59.1-> mplayer -vc libdv pond.dv
MPlayer CVS-021007-14:56-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS)
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 6)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2
Reading /usr/local/etc/mplayer/codecs.conf: 38 audio & 107 video codecs
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using usleep() timing
Playing pond.dv
Detected RAWDV file format!
==========================================================================
Opening audio decoder: [libdv] Raw DV Audio Decoder
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 3596399->176400 (28771.2 kbit)
Selected audio codec: [libdv] afm:libdv (raw DV audio decoder)
==========================================================================
vo: X11 running at 1600x1200 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Forced video codec: libdv
Opening video decoder: [libdv] Raw DV Video Decoder
VDec: vo config request - 720 x 480 (preferred csp: Packed YUY2)
VDec: using Packed YUY2 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 720x480 => 720x480 Packed YUY2
Selected video codec: [libdv] vfm:libdv (Raw DV decoder using libdv)
==========================================================================
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Start playing...
...
Exiting... (Quit)
awds59.2-> mplayer -v -vc ffdv pond.dv
MPlayer CVS-021007-14:56-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS)
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 6)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2
Reading /u/sms/.mplayer/codecs.conf: can't open '/u/sms/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: 38 audio & 107 video codecs
CommandLine: '-v' '-vc' 'ffdv' 'pond.dv'
get_path('font/font.desc') -> '/u/sms/.mplayer/font/font.desc'
font: can't open file: /u/sms/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using usleep() timing
get_path('input.conf') -> '/u/sms/.mplayer/input.conf'
Can't open input config file /u/sms/.mplayer/input.conf : No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) input config
Playing pond.dv
Not an URL!
File size is 109800000 bytes
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x848d000
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x848d000
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x848d000
Checking for MOV
DEMUXER: freeing demuxer at 0x848d000
Checking for VIVO
header block 1 size: 0
DEMUXER: freeing demuxer at 0x848d000
Checking for REAL
DEMUXER: freeing demuxer at 0x848d000
DEMUXER: freeing demuxer at 0x848d000
DEMUXER: freeing demuxer at 0x848d000
DEMUXER: freeing demuxer at 0x848d000
DEMUXER: freeing demuxer at 0x848d000
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x848d000
DEMUXER: freeing demuxer at 0x848e000
Checking for PVA
DEMUXER: freeing demuxer at 0x848e000
sync_mpeg_ps: seems to be MP3 stream...
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG packet stats: p100: 0 p101: 0 PES: 1 MP3: 120
Not MPEG System Stream format... (maybe Transport Stream?)
DEMUXER: freeing demuxer at 0x848e000
Checking for DV
Detected RAWDV file format!
demux_open_rawdv() end_pos 109800000
==> Found video stream: 0
demux_open_rawdv() frame_size: 120000 w: 720 h: 480 dif_seq: 10 system: 1
demux_open_rawdv() seek to 0, size: 120000, dv_dec->frame_size: 120000
==> Found audio stream: 0
demux_open_rawdv() chan: 2 samplerate: 44100
[V] filefmt:22 fourcc:0x44535644 size:720x480 fps:29.97 ftime:=0.0334
get_path('sub/') -> '/u/sms/.mplayer/sub/'
==========================================================================
Opening audio decoder: [libdv] Raw DV Audio Decoder
dec_audio: Allocating 15360 + 65536 = 80896 bytes for output buffer
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 3596399->176400 (28771.2 kbit)
Selected audio codec: [libdv] afm:libdv (raw DV audio decoder)
==========================================================================
X11 opening display: :0.0
vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1600x1200 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Forced video codec: ffdv
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffdv] vfm:ffmpeg (Raw DV decoder using libavcodec)
==========================================================================
ao2: 44100 Hz 2 chans Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags: 16/16 (4096 bytes/frag) free: 65536
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000010 and bps = 2
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000010 and bps = 2
Start playing...
VDec: vo config request - 720 x 480 (preferred csp: Planar 411P)
Couldn't find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
scale: query(BGR 32-bit) -> 0
scale: query(RGB 32-bit) -> 0
scale: query(BGR 24-bit) -> 1
scale: query(RGB 24-bit) -> 0
scale: query(BGR 16-bit) -> 0
scale: query(RGB 16-bit) -> 0
scale: query(BGR 15-bit) -> 0
scale: query(RGB 15-bit) -> 0
scale: query(BGR 8-bit) -> 0
scale: query(RGB 8-bit) -> 0
scale: query(BGR 4-bit) -> 0
scale: query(RGB 4-bit) -> 0
scale: query(BGR 1-bit) -> 0
scale: query(RGB 1-bit) -> 0
scale: query(Planar 444P) -> 0
scale: query(Planar 422P) -> 0
scale: query(Planar YV12) -> 3
scale: query(BGR 32-bit) -> 0
scale: query(RGB 32-bit) -> 0
scale: query(BGR 24-bit) -> 1
scale: query(RGB 24-bit) -> 0
scale: query(BGR 16-bit) -> 0
scale: query(RGB 16-bit) -> 0
scale: query(BGR 15-bit) -> 0
scale: query(RGB 15-bit) -> 0
scale: query(BGR 8-bit) -> 0
scale: query(RGB 8-bit) -> 0
scale: query(BGR 4-bit) -> 0
scale: query(RGB 4-bit) -> 0
scale: query(BGR 1-bit) -> 0
scale: query(RGB 1-bit) -> 0
scale: query(Planar 444P) -> 0
scale: query(Planar 422P) -> 0
scale: query(Planar YV12) -> 3
scale: query(BGR 32-bit) -> 0
scale: query(RGB 32-bit) -> 0
scale: query(BGR 24-bit) -> 1
scale: query(RGB 24-bit) -> 0
scale: query(BGR 16-bit) -> 0
scale: query(RGB 16-bit) -> 0
scale: query(BGR 15-bit) -> 0
scale: query(RGB 15-bit) -> 0
scale: query(BGR 8-bit) -> 0
scale: query(RGB 8-bit) -> 0
scale: query(BGR 4-bit) -> 0
scale: query(RGB 4-bit) -> 0
scale: query(BGR 1-bit) -> 0
scale: query(RGB 1-bit) -> 0
scale: query(Planar 444P) -> 0
scale: query(Planar 422P) -> 0
scale: query(Planar YV12) -> 3
VDec: using Planar 411P as output csp (no 0)
Movie-Aspect is nan:1 - prescaling to correct movie aspect.
VO Config (720x480->720x-2147483648,flags=0,'MPlayer',0x50313134)
scale: query(BGR 32-bit) -> 0
scale: query(RGB 32-bit) -> 0
scale: query(BGR 24-bit) -> 1
scale: query(RGB 24-bit) -> 0
scale: query(BGR 16-bit) -> 0
scale: query(RGB 16-bit) -> 0
scale: query(BGR 15-bit) -> 0
scale: query(RGB 15-bit) -> 0
scale: query(BGR 8-bit) -> 0
scale: query(RGB 8-bit) -> 0
scale: query(BGR 4-bit) -> 0
scale: query(RGB 4-bit) -> 0
scale: query(BGR 1-bit) -> 0
scale: query(RGB 1-bit) -> 0
scale: query(Planar 444P) -> 0
scale: query(Planar 422P) -> 0
scale: query(Planar YV12) -> 3
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 9 -> 8
SwScaler: BICUBIC scaler, from Planar 411P to Planar YV12 using MMX2
SwScaler: using 4-tap MMX scaler for horizontal luminance scaling
SwScaler: using 4-tap MMX scaler for horizontal chrominance scaling
SwScaler: using 1-tap MMX "scaler" for vertical scaling (YV12 like)
SwScaler: 720x480 -> 720x480
REQ: flags=0x437 req=0x0
VO: invalid dimensions!
FATAL: Cannot initialize video driver!
FATAL: Couldn't initialize video filters (-vop) or video output (-vo)!
Uninit audio filters...
uninit audio: libdv
uninit video: ffmpeg
DEMUXER: freeing demuxer at 0x848e000
DEMUXER: freeing sh_audio at 0x84da300
DEMUXER: freeing sh_video at 0x84da200
vo: uninit ...
Exiting... (End of file)
Script done on Mon Oct 7 15:06:22 2002
More information about the MPlayer-users
mailing list