Hello,

Maybe some of you remember me posting a message on this mailinglist around 2 months ago about converting 1080i HDV to 720p in a format that Cinelerra can actually read. A few days ago I started messing around again and I finally found a good way to do this with Mencoder:

mencoder dvgrab-001.m2t -o 720p.avi -ovc lavc -lavcopts vcodec=mjpeg -oac pcm 
-vf pp=ci,scale=1280:720

I still have to tweak the settings a bit to create MJPEG at the highest quality (if somebody has tips about this, please tell them!), but overall I am very pleased with the result. The created file imports perfectly into Cinelerra, the only thing that bothered me was that Cinelerra gave this error message randomly while playing the file or scrubbing through the file in the viewer:

virtual int FileMOV::read_frame(VFrame*): 
quicktime_read_frame/quicktime_decode_video failed, result:

So I started searching through the mailinglist to find out what is causing this error, but I couldn't find anything useful. I also searched in Bugzilla and found bug #343 (http://bugs.cinelerra.org/show_bug.cgi?id=343), which described exactly what I was experiencing. I got the feeling that this error was a false error, because the playback of the sound and video isn't suffering and it doesn't look like it is skipping frames that it can't read or something, the playback is very smooth. So I started looking for a way to disable this error message in the source code. There was a post in the mailinglist, I don't know which one anymore, that said that the piece of code that caused this error was in the file cinelerra/filemov.C. After some searching I finally found it:

        if (result)
        {
                eprintf("quicktime_read_frame/quicktime_decode_video failed, 
result:\n");
        }

So I just commented out this piece of code and recompiled Cinelerra. Now Cinelerra doesn't give the error message anymore, and the 720p file I created works perfectly. But I am still worried if this solution is the right one, and if the "FileMOV" error is a bug or if it is a valid error, any ideas?

By the way, as you can read I have been able to successfully compile Cinelerra from SVN on Ubuntu Feisty x86_64. It took a couple of days to figure out how to do it though. I have the idea that some people still have problems with compiling on this distribution and/or architecture, because of some messages I read on this mailing list. If you want to know how I did it, just leave a message and I will post a small tutorial on this mailing list!

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

Reply via email to