[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: a good Video cut & scale program?



On Wed, 13 Sep 2006 21:29:10 -0400
Scott Lair <plair@mailzone.com> wrote:

>
> 
> could try ffmpeg to convert to dv format which kino will recognize.
> 
> I think i've done this with mpeg4 videos from my still/motion camera.

I've used mencoder successfully from time to time to take a few videos
from the camera (my Kodak EasyShare C310, does video, but no audio
recording) to convert those files (which come up in .mov format) to
mp4, with about a 25% space savings on average, but then I can't edit
them with kino.

kino expects quicktime format, which I thought that the .mov file was
already.

I wasn't aware that ffmpeg would do the conversion to digital video,
and so I tried it on the sample files that I have, and find this to
not be successful. For instance:

dfox@m206-157:/tmp$ tcprobe -i chrisdriving1.mp4
[tcprobe] RIFF data, AVI video
[avilib] V: 20.000 fps, codec=FMP4, frames=3965, width=800, height=600
[tcprobe] summary for chrisdriving1.mp4, (*) = not default, 0 = not
detected import frame size: -g 800x600 [720x576] (*)
       frame rate: -f 20.000 [25.000] frc=0 (*)
   no audio track: use "null" import module for audio
           length: 3965 frames, frame_time=50 msec, duration=0:03:18.250

then:

  Stream #0.0: Video: dvvideo, yuv420p, 800x600, q=2-31, 200 kb/s,
25.00 fps(c) Stream mapping:
  Stream #0.0 -> #0.0
[dv @ 0xb7ee6230]Can't initialize DV format!
Make sure that you supply exactly two streams:
     video: 25fps or 29.97fps, audio: 2ch/48Khz/PCM
     (50Mbps allows an optional second audio stream)
Could not write header for output file #0 (incorrect codec parameters ?)

Seems that it expects an audio track, but it's not letting me know how
to not provide one.

Tests on a sample taken from the camera (without any prior conversion)
show that I can convert the file to a dv format with:

ffmpeg -i <camerafile> -target ntsc-dv test.dv

(The "ntsc" portion is not even mentioned in the manual page that I can
see.) But kino tells me that this is not a digital video file, and the
(default) file size is ridiculously large -- 170 megabytes for a 30
second video clip.

Oddly enough, adding 'maxrate' does not affect the size of the encoded
video.


-- 
------------------------------------------------------------------------
David E. Fox                              Thanks for letting me
dfox@tsoft.com                            change magnetic patterns
dfox@m206-157.dsl.tsoft.com               on your hard disk.
-----------------------------------------------------------------------



Reply to: