I just wanted to post the fruits of my labor so others
could benefit. A little background first... for the
past couple days I've been banging my head against the
wall trying to figure out how to take the video
produced from my digital camera (Casio Exilim EX-S500)
and convert it to a format that Cinelerra would be
able to work with – the following also applies to any
video downloaded from the Internet.

Casio Exilim EX-S500 Video Output:
MIME type: video/x-msvideo
[Video]
Dimensions: 640x480
Codec: ISO MPEG-4
Framerate: 29.97
Bitrate: N/A

[Audio]
MS IMA ADPCM
Sample rate: 22050 Hz
Channels: 1

FFMPEG's take of the the Casio AVI file:
Input #0, avi, from 'CIMG2687.AVI':

Duration: 00:00:04.2, start: 0.000000, bitrate: 2106
kb/s

Stream #0.0: Video: mpeg4, yuv420p, 640x480, 29.97
fps(r)

Stream #0.1: Audio: adpcm_ima_wav, 22050 Hz, mono, 88
kb/s



What works:
#1 [MPEG-2 DVD-NTSC] ffmpeg -i CIMG2687.AVI -target
ntsc-dvd -aspect 4:3 movie.mpg  (must use NTSC format
setting in Cinelerra)


#2 [MPEG-2 DVD 640x480] ffmpeg -i CIMG2687.AVI -target
dvd -s 640x480 -ac 2 movie.mpg (takes care of audio
and video format - MPEG-2 + 48KHz PCM audio)


#3 [DV] Files converted to DV with Kino work (must use
NTSC format setting in Cinelerra)


#4 [MJPEG with PCM] mencoder  CIMG2687.AVI -ovc
lavc-lavcopts vcodec=mjpeg -oac pcm -o movie.avi
(works, but the video was choppy when played back)

My favorite solution:
Use ffmpeg -target dvd function (handles all the video
and audio settings for you), add a second audio
channel to convert the audio from mono to stereo, and
set the scale to 640x480 (else it will default to
720x480).

SIDE NOTE: I wish the documentation on
http://cvs.cinelerra.org/docs/split_manual_en/cinelerra_cv_manual_en_5.html#SEC73

had this information available in a chart or something
-- would have saved me hours of trial and error.

Also, STAY AWAY from trying to load MPEG-4
DivX/Xvid/H.264 files into Cinelerra. They just
doesn't play nice!

Now I'd like to see... What have you come up with that
works using ffmpeg, mencoder, avidemux?

Cheers,

Alexander







       
____________________________________________________________________________________
Get the free Yahoo! toolbar and rest assured with the added security of spyware 
protection.
http://new.toolbar.yahoo.com/toolbar/features/norton/index.php

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

Reply via email to