[Kdenlive-devel] pal dv support

Mikko Rapeli mikko.rapeli at iki.fi
Tue Sep 29 05:48:14 UTC 2009


I was about to test latest mlt & kdenlive, but is appears quite a few of
my dv files aren't working anymore. I can repeat this with ffmpeg/ffplay
too while mplayer has no problem with them. Here's an example:

$ apt-cache policy ffmpeg
ffmpeg:
  Installed: 5:0.5+svn20090928-0.0
  Candidate: 5:0.5+svn20090928-0.0
  Version table:
 *** 5:0.5+svn20090928-0.0 0
        800 http://www.debian-multimedia.org sid/main Packages
        100 /var/lib/dpkg/status

$ ffmpeg -i  test2.dv 
FFmpeg version SVN-r20066, Copyright (c) 2000-2009 Fabrice Bellard, et
al.
  built on Sep 28 2009 13:15:30 with gcc 4.3.4
  configuration: --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache
cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-libfaad
--enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid
--enable-postproc --enable-x11grab --enable-libgsm
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264
--enable-libtheora --enable-libdc1394 --enable-libspeex --enable-nonfree
--disable-stripping --enable-avfilter --enable-libdirac
--disable-decoder=libdirac --enable-libschroedinger
--disable-encoder=libschroedinger --enable-avfilter-lavf
--enable-libopenjpeg --enable-version3 --disable-altivec
--disable-armv5te --disable-armv6 --disable-vis
  libavutil     50. 3. 0 / 50. 3. 0
  libavcodec    52.36. 0 / 52.36. 0
  libavformat   52.39. 0 / 52.39. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    0. 5. 0 /  0. 5. 0
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
[mpeg @ 0x9cb1bc0]pes_ext F9 is invalid
[mpeg @ 0x9cb1bc0]Could not find codec parameters (Video: 0x0000)
test2.dv: could not find codec parameters

$ mplayer test2.dv
MPlayer SVN-r29725 (C) 2000-2009 MPlayer Team
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
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 test2.dv.
Seek failed
libavformat file format detected.
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
[lavf] Audio stream found, -aid 2
VIDEO:  [dvsd]  720x576  0bpp  25.000 fps  28800.0 kbps (3515.6 kbyte/s)
open: No such file or directory 
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory 
[MGA] Couldn't open: /dev/mga_vid
[VO_TDFXFB] Can't open /dev/fb0: No such file or directory.
s3fb: can't open /dev/fb0: No such file or directory
Xlib:  extension "NV-GLX" missing on display ":0.0".
[vdpau] Error when calling vdp_device_create_x11: 1
[VO_XV] It seems there is no Xvideo support for your video card
available.
[VO_XV] Run 'xvinfo' to verify its Xv support and read
[VO_XV] DOCS/HTML/en/video.html#xv!
[VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers.
[VO_XV] Try -vo x11.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Unsupported PixelFormat -1
Selected video codec: [ffdv] vfm: ffmpeg (FFmpeg DV)
==========================================================================
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 32000 Hz, 2 ch, s16le, 1024.0 kbit/100.00% (ratio:
128000->128000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 2)
Movie-Aspect is 1.37:1 - prescaling to correct movie aspect.
VO: [x11] 720x576 => 786x576 Planar YV12
[swscaler @ 0x8ae21c0]using unscaled yuv420p -> rgb32 special converter
A:   1.1 V:   1.1 A-V:  0.000 ct:  0.001   0/  0 26%  9%  4.1% 0 0


I've tried ffmpeg from debian-multimedia.org and my self build git
versions with same build dependencies. Even statically build ffmpeg fails
with these files. My build options are:

./configure --enable-static --prefix=/usr --extra-cflags="-Wall -g"
--cc="ccache cc"  --enable-libmp3lame --enable-gpl --enable-libfaad
--enable-libvorbis         --enable-pthreads --enable-libfaac
--enable-libxvid --enable-postproc         --enable-x11grab
--enable-libgsm        --enable-libtheora --enable-libdc1394
--enable-libspeex         --enable-nonfree --disable-stripping
--enable-avfilter --enable-libdirac         --disable-decoder=libdirac
--enable-libschroedinger --disable-encoder=libschroedinger
--enable-avfilter-lavf --enable-libopenjpeg

I tried git bisecting but ended up with a early June 09 version which
also didn't work, so I guess this sounds more like a build dependency
problem. 

Does anyone have clue how to fix dv file support?

-Mikko




More information about the Kdenlive mailing list