LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Convert MOV to AVI using GStreamer (https://www.linuxquestions.org/questions/linux-general-1/convert-mov-to-avi-using-gstreamer-453191/)

trainpic 06-09-2006 11:03 AM

Convert MOV to AVI using GStreamer
 
How would I convert a quicktime file (.mov) from a Kodak digital camera to .avi to import into Blender? I have tried simply demuxing and decoding the Quicktime file and muxing it back into AVI, but that doesn't seem to work (i.e. Blender says that it isn't a movie).

macemoneta 06-09-2006 11:13 AM

You can use mencoder (part of the mplayer package):

mencoder -o somefile.avi -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=5000 -oac lavc -lavcopts acodec=mp3 -srate 48000 somefile.mov

trainpic 06-09-2006 06:51 PM

mencoder gave me an avi with that command. Cool.

Now when I import into blender it still claims it is not a movie and I get this error in the console:
Code:

AVI ERROR: compressed in an unsupported format
Error loading avi: /home/trainpic/movie.avi
couldn't start avi
anim_absolute 0 failed


macemoneta 06-09-2006 07:10 PM

OK, what formats/codecs are supported by Blender?

lpn1160 06-10-2006 10:40 AM

Just a guess here but try this option "-ffourcc DX50" in mencoder (without the quotes)


All times are GMT -5. The time now is 04:01 PM.