Right. So I was asked a while ago to check out the color problem in
cinelerra with raw dv files.
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=400919=) I do indeed
have the problem, and I think I've found the solution, though I don't
quite know how to implement it.

The problem is: libdv just doesn't work for ppc, at least video wise
(it may work for audio, but I'll come to that in a minute). I realized
this because the ubuntu edgy ppc package of kino  (version 8.6) also
uses libdv, and has the same problem. Interestingly, this doesn't
happen on every raw dv file: the pond.dv test file that was posted on
the libdv website works fine in the kino 8.6, but won't open in my
recent build of cinelerra-cvs. I got similar problems from edgy ppc
builds of mplayer and vlc, and as far as I can tell, both were using
libdv.

The solution (as I can see): ffmpeg has its own dv decoder, and the
most recent builds of kino use it for video (not audio, again coming
to that). After some frustration with building the recent kino, I
managed to open my captured dv test file with it, sans color problems.
I fixed vlc the same way (more recent build, using ffmpeg instead of
libdv), and I think I can do the same for mplayer. Obviously I'm
wondering: is cinelerra using libdv (which is definitely a dependency)
and if so, is there a way I can get it to use ffmpeg's dv codec
instead so I won't have color problems on dv files?

Arguments: A fairly interesting thread on the mjpeg list
(http://www.mail-archive.com/[email protected]/msg07079.html)
seems to suggest that ffmpeg's dv codec is superior to libdv in terms
of video quality. The problem is that it doesn't conform to the
quicktime requirements with regards to audio (see the bottom of the
post in the link). This might explain why it seems the newest version
of kino requires both libdv and ffmpeg: they use ffmpeg for dv video,
and libdv for dv audio. VLC seems to handle the audio playback with
ffmpeg's s16le decoder, which I haven't found much info on (haven't
looked very hard yet...).

In sum: is cinelerra using libdv for decoding raw dv files? If so, can
I alter it to use ffmpeg's dv codec so that it will work on ppc? Would
it make sense for cinelerra to use ffmpeg's codec anyway, given that
some people think it provides better quality?

hope this helps...

-griff

p.s. After checking the link at the top (debian bug), I realize they
corroborate my conclusion.

_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra

Reply via email to