Re: Bulk import of AVI files

Dan Dennedy <[email protected]> Tue, 23 Feb 2010 09:58:17 -0800
Newsgroups gmane.comp.video.kino.devel
Message-ID <[email protected]>
On Tue, Feb 23, 2010 at 7:25 AM, Gary Lawrence Murphy <[email protected]> wrote:
> This is a re-asking of an earlier question that may have just been
> overlooked:
>
> Is it possible to do a mass import of several dozen AVI files without the
> prompt for confirming the conversion on each file?  I need to take dozens of
> files from my webcam and convert them to kino-compatible dv in a batch from
> the command line; as it is, I can run "kino *.avi" from the command line,
> but I then have to accept the conversion prompt, wait for each to import,
> and then answer the same prompt for each subsequent clip.  It takes quite a
> while.
>
> looking at the import scripts, I figure there must be a way to do this
> outside of Kino, but so far I haven't been able to guess the options
> incantation to make it work.

for file in *.avi; do melt -profile dv_ntsc $file -consumer
avformat:${file}.dv pix_fmt=yuv411p; done

After "-profile," use as needed: dv_ntsc, dv_ntsc_wide, dv_pal, or dv_pal_wide.
For dv_pal and dv_pal_wide, remove the "pix_fmt=yuv411p".

-- 
+-DRD-+

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev