[CentOS] OT: Digital Video Editor for CentOS 5.2 - Suggestions?

Tue Aug 5 23:47:27 UTC 2008
Florin Andrei <florin at andrei.myip.org>

Lanny Marcus wrote:
> 
> I'm assuming it is a MiniDV format camcorder.

Well, the funny thing is, that's just the physical support. MiniDV can 
carry either standard-def DV, or high-def MPEG2.

Is it an HD camera or standard-def?

> I installed cinelerra
> and will  try to install Kino now.

If it's standard-def, you can quickly capture video from the camera with 
a command-line tool, if you wish. It's called dvgrab and it's part of 
the Kino project, but it's usually a separate RPM - CentOS has it in the 
Base repo.

This is what I use with dvgrab 3.0:

dvgrab --autosplit --size 0 --format dv2 --opendml --noavc --nostop \
   --showstatus --timestamp --frames 0 --buffers 200 ${basename}-

Rewind the tape, connect the camera to the PC, start dvgrab, then push 
the Play button on the camera. Wait until the whole tape is dumped and 
the camera stops. Kill dvgrab.

With the above parameters, dvgrab will start a new file whenever there's 
a scene change on the tape, which is nice. Those files can be viewed 
with lots of different players (xine, vlc, mplayer...) and edited with 
Kino to cut off undesirable portions and stuff like that. With Kino, DV 
editing is lossless.

There are many ways to convert DV to all kinds of other formats. With 
Linux-based tools, one way to do conversion to DVD is this:

http://florin.myip.org/soft/conv-dvd/

I attached to this message another script which pretty much does the 
same thing, except it requires Windows-based tools running under WINE 
(AviSynth, HC Encoder, and associated software), but the image quality 
of the DVD is much better, since HCenc is a very good MPEG2 encoder.

Under Linux, without WINE, for DVD you can encode to MPEG2 with either 
mpeg2enc (so-so image quality, so-so speed, good standards compliance) 
or with ffmpeg (fast, poor image quality, produces MPEG2 that violates 
the DVD standard and may crash some standalone DVD players).
mencoder is similar to ffmpeg since they use the same underlying code.



HD is a very different story.

dvgrab can still be used for capture with MiniDV/MPEG2 cameras.
I've heard that Cinelerra may be able to edit HD MPEG2.
I doubt there's anything on Linux that can reliably parse and edit 
AVCHD, because libavcodec (essentially the only AVC decoder on Linux, 
and the only open source AVCHD decoder on Windows) has pretty big 
problems parsing interlaced high-def AVC (but if your camera is MiniDV, 
it's definitely not AVCHD).

I'm not sure how to do Blu-Ray authoring on Linux (or at least the poor 
man's Blu-Ray-file-structure-burned-on-DVD, a.k.a. AVCHD disks) other 
than running tsMuxer under WINE (or try the Linux version, if you can 
figure out how to use it text-mode).
For BD or AVCHD authoring, you may have to transcode MPEG2 to AVCHD 
(unless you can produce on Linux a BD structure with the video track in 
MPEG2 format). Hopefully x264 works for you, but you may have to 
interface it with AviSynth - under WINE, of course. :-)

It's not a pretty HD situation on Linux. Windows is much better.

-- 
Florin Andrei

http://florin.myip.org/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: conv-dvd2
URL: <http://lists.centos.org/pipermail/centos/attachments/20080805/1e4e1ea0/attachment-0005.ksh>