On Wednesday 16 April 2008 01:07, Wiebe Cazemier wrote:

> Hi,
> 
> I'm trying to create a video, with resolution 1280x720, in which I
> synchronize the shots with the beat of the audio. But this is
> neigh-impossible, because Cinelerra hardly does any effort to keep the audio
> in sync. For low resolution videos, it works fine, but for this resolution,
> it doesn't. I can play the same segment 5 times, and the audio will be
> differently synced each of those 5 times. The only way to do it reliably, is
> to render and then move the shot. But as you can imagine, that is very, very
> cumbersome.
> 
> Is there any way I can improve this? I've tried configuring all the audio and
> video options, but to no avail. I wouldn't mind heavy framedropping, if that
> means keeping it in sync.
> 
> What's also strange, is that my CPU meter shows plenty of CPU cycles left. I
> have an Athlon X2 3800+, dual core, 2GB memory. There are two CPU utilization
> graphs in my taskbar, which clearly show both cores have plenty of capacity
> left (each about 50%).
> 
> Another strange thing is that sometimes, it plays very, very slowly, and does
> so until I pause, put the selector somewhere else and play again. Playing
> from certain points in the video almost always results in complete
> unresponsiveness.
> 
> Any help and insight is appreciated.
> 
> Regards,
> 
> Wiebe Cazemier

I seem to have fixed it, and discovered the cause by accident. The manual says
this:

> MPEG 1 audio files have .mp2 and .mp3 extension. If the files are encoded
using a fixed bitrate, they can be loaded directly on Cinelerra. Otherwise a
table of contents (TOC) needs to be created and loaded as resources in place
of the audio file. If you know your audio stream has variable bitrate or if
you see Cinelerra can't seek and playback your file properly, you must create
the TOC using mpeg3toc.
> Here is an example of command:
> mpeg3toc -v /path/to/myfile.mp3 myfile.toc
> `myfile.toc' is the Table of Contents that can be loaded as resource.
> The path should be absolute unless you plan to always keep your .xml in the
same directory as the filename. For renderfarms the filesystem prefix should
be / and the movie directory mounted under the same directory on each node.

My audio was indeed variable bitrate mp3.

Problem seems solved :)


_______________________________________________
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra

Reply via email to