PDA

View Full Version : DV compressing analog source


lemon
4th March 2003, 01:40
Hello everyone.
I was wondering, as I have been able to do real-time capturing from an analog source (bt878 card) with the MainConcept DV codec, if there is any way to enable it.
I can select libdv capture in mencoder from v4l sources, but
1.- It's too slow (at least in my Athlon 900, a bit old, but enough for the Mainconcept DV codec in windows).
2.- The quality sucks. It's good decompressing, but I find it really horrible compressing (perhaps I lack some parameter).
Is there any way to use the win32 codec from linux? MPlayer has no problems using win32 codecs for decompressing, but I have not been able to use them for compressing.
Right now I can use the MJPEG codec from lavc in mencoder, but I want to use DV, because then it is really easier for me to do video editing (right now in windows, although I'm trying cinelerra, which is a bit too slow and buggy. Hope it continues improving, it can be a really good video editor).
I am also starting to write a NLE for linux, very simple at first, only for my needs, but being specially careful in having a good design, and to be fast too. When it starts to work I'll open a project perhaps in sourceforge, as it will be GPL. but as it will be, at first, DV only, and I don't have a digital camera, I am forced to switch to windows to capture (even I can capture in MJPEG, NUV or huffyuv from linux and after convert to DV with mencoder, but the quality is too bad, speed is a minor problem as I will upgrade my computer one of these days).

Any way to use the Mainconcept, or other win32 DV codec from linux?
Or perhaps any parameter to improve livdv quality when encoding from mencoder? That would be better, as I use libdv for my video editor (currently for decoding only, and decoding gives good quality).

FishB8
4th March 2003, 19:30
You might be able to use a win32 DV Codec via Gstreamer. There is a plugin for Gstreamer called WineEnc. It is described as "Windows codec image encoder." I've never used it myself so I have no idea how well it works, or even if it's what you're looking for.

If you plan on building your own NLE I would suggest considering to build it around gstreamer (http://www.gstreamer.net) and piave (http://modesto.sourceforge.net/piave/).

lemon
4th March 2003, 22:04
Thx for the info FishB8. I haven't tried gstreamer, because I find it a bit bloated right now. I read somewhere that there were 98 MB of plugins for it... I wanto to wait till it matures a bit more, but now I'll try it at least.
As for piave, I didn't know it, it seems interesting, but I won't use it for my NLE (at least at the first stage) because my first wish is simplicity. In the first version it will only support cuts and fades, and I already have code to do them. I can have a smaller and faster program without using piave, but perhaps i can use it later in order to do some more advanced effects.