On 2009-02-18 16:25, Scott C. Frase wrote:

On Tue, 17 Feb 2009, Stephan Henningsen wrote:
> The "MPEG4YUV Stream" render profile looks promising! Unfortunately it just > spits out video -- no audio.
>
Stephan,
You might want to try the YUV4MPEG pipe I list under the "Rendering Parameters for a High Quality Vimeo Upload" in this post:
http://crazedmuleproductions.blogspot.com/2009/01/stock-footage-encoding-h264-and-ipod.html

Wow, great stuff, Scott! Exactly what I'm interested in. That's even the same camera I've been looking into, and the music's great too! =) I've been waiting for a camera like the 5DmkII for a very long time, to replace my old 20D. Not that there's anything wrong with it at all, but the thought of full frame photos (welcome home, my dear 17mm lens!) and shooting *video* with my 70-200mm EF IS L is very appealing! In the mean time I've bough a handly little Sanyo Xacti HD700 that records okay 720p under the right light circumstances.

Since my post, I've come up with a solution that in the end also renders great 1080p video: First, I initiate two renderings from within Cinelerra: The first renders a series of PNG stills, the second renders a MP3 file (I should output WAV instead). Secondly I run a script that encodes all the image files and the audio file into the final video, using a two-pass encoding.

It took some time to find a combination of bitrate and other parameters, in order to get the PlayStaion3 to actually play it, as apparently it only accepts H.264 up to level 4.1 (http://en.wikipedia.org/wiki/H.264#Levels).

You mentioned an issue when the audio was longer than the video. By rendering both the video (PNG stills) and audio (WAV) separately from Cinelerra, you get two bonuses: 1) The audio always matches the video, 2) you can edit audio as well; for instance I noticed, that your video nor the audio didn't fade out ;)

On the other hand, I get the feeling that rendering to PNG stills takes 100 times longer: A little over 2 hours for 33 seconds video, consuming 11GB in 820 images, and finally the 41MB final video.

My script uses a combination of mencoder and MP4Box to produce mpeg4(h264+acc). I've been shifting between ffmpeg and mencoder, and don't really know which to prefer. My experience is, that sometimes one works while the other fails and vice versa.

Perhaps a combination of the out two approaches would be perfect: Three rendering profiles in Cinelerra called something like:
(1 of 3) Render Audio
(2 of 3) Render Video pass 1
(3 of 3) Render Video pass 2

Where, of course, the rendered audio is used as input. I think I'll try it, just for the fun of it. And maybe compare rendering times with my previous PNG-stills-approach, and maybe even compare ffmpeg against mencoder.

Thanks for the inspiration ;)

--Stephan

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

Reply via email to