...import a video? I tried with AVI,MPEG but they're unredab

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
mune
Posts: 15
Joined: Wed Mar 29, 2006 11:49 pm
Location: VENICE ITALY
Contact:

...import a video? I tried with AVI,MPEG but they're unredab

Post by mune »

Hi all

In a short (5 min) movie I'm doing I want to import a file that was originally in a huge DivX; from that I extracted an AVI portion, but, since moho was unable to read it, I converted the file in MPEG but it was useless because moho can't read this, too.

I thought the file formats chosen would have made moho happy.

So it wasn't :( .

I guess that I need a list of the movie file formats accepted by moho OR I'm doing something wrong in the importing procedure.

I move to the frame I want the movie, say 600 (there something before), I create a new vector layer and then File->Import->Movie, but I have the icon of ureadable file with both the formats.

Thanks

Fede
User avatar
Víctor Paredes
Site Admin
Posts: 5814
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Post by Víctor Paredes »

quicktime .mov always work.
if you can't export to quicktime, try to export to avi, but to a more... mmm... prehistorical avi (as avi without compression or something).
User avatar
jorgy
Posts: 779
Joined: Sun Sep 05, 2004 8:01 pm
Location: Colorado, USA

Post by jorgy »

By chance are you using the linux version of moho?

jorgy
User avatar
mune
Posts: 15
Joined: Wed Mar 29, 2006 11:49 pm
Location: VENICE ITALY
Contact:

Post by mune »

Yes, I use the linux version.

Eventually I can switch to win as my laptop has dual boot if needed to convert the video but sunday afternoon I tryed 6/7 applications to convert from DivX to mpeg and all leave a watermark in rhe middle of the uotput file (I'm quite bothered to spend 30$ for a software I will use just one timr). so I prefer a freeware software for Linux, or win.

Thanks
User avatar
jorgy
Posts: 779
Joined: Sun Sep 05, 2004 8:01 pm
Location: Colorado, USA

Post by jorgy »

I'm afraid that avi and mov formats will not work in the linux version of moho. Moho relies on quicktime for movie processing and since Apple has not written a version for linux, moho can't read movie files in the linux version.

My workflow is to use linux for all the animating, getting it perfect, etc. Then to do rendering, I use windows, even to put a movie inside a moho file to be used on linux. The next time I render, it shows up fine. However, I realize that this may not be a solution for you. I had long wanted a linux-only workflow, but it doesn't seem likely for a little longer yet, as linux multimedia gets a bit more mature.

jorgy
User avatar
mune
Posts: 15
Joined: Wed Mar 29, 2006 11:49 pm
Location: VENICE ITALY
Contact:

Post by mune »

jorgy wrote:My workflow is to use li/nux for all the animating, getting it perfect, etc. Then to do rendering, I use windows, even to put a movie inside a moho file to be used on linux. The next time I render, it shows up fine.
Ok I will act in that way but how do I convert from AVI to MOV?

Fede
User avatar
jorgy
Posts: 779
Joined: Sun Sep 05, 2004 8:01 pm
Location: Colorado, USA

Post by jorgy »

I believe since you are on a linux box, you can use "ffmpeg" to convert an avi to mov. To install, try:

Code: Select all

yum -y install ffmpeg
You'll have to experiment around with the arguments, but the basic form is:

Code: Select all

ffmpeg file.avi file.mov
jorgy
User avatar
mune
Posts: 15
Joined: Wed Mar 29, 2006 11:49 pm
Location: VENICE ITALY
Contact:

Post by mune »

jorgy wrote:I believe since you are on a linux box, you can use "ffmpeg" to convert an avi to mov. To install, try:

Code: Select all

yum -y install ffmpeg
You'll have to experiment around with the arguments, but the basic form is:

Code: Select all

ffmpeg file.avi file.mov
jorgy
It seems to lack of the quicktime codec

Code: Select all

$ ffmpeg -i estrattoREPORT20051016_I_Fazisti.avi Tabacci_mov.mov
ffmpeg version CVS, build 3276800, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --build i486-linux-gnu --enable-gpl --enable-pp --enable-zlib --enable-vorbis --enable-libogg --enable-theora --enable-a52 --enable-dts --enable-dc1394 --enable-libgsm --disable-debug --prefix=/usr
  built on Sep 29 2005 03:25:16, gcc: 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8)
Input #0, avi, from 'estrattoREPORT20051016_I_Fazisti.avi':
  Duration: 01:42:21.0, start: 0.000000, bitrate: 2 kb/s
  Stream #0.0: Video: mpeg4, yuv420p, 544x576, 25.00 fps
  Stream #0.1: Audio: mp3, 44100 Hz, stereo, 128 kb/s
File 'Tabacci_mov.mov' already exists. Overwrite ? [y/N] y
Output #0, mov, to 'Tabacci_mov.mov':
  Stream #0.0: Video: mpeg4, yuv420p, 544x576, 25.00 fps, q=2-31, 200 kb/s
  Stream #0.1: Audio: 0x0000, 44100 Hz, stereo, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Unsupported codec for output stream #0.1
User avatar
jorgy
Posts: 779
Joined: Sun Sep 05, 2004 8:01 pm
Location: Colorado, USA

Post by jorgy »

My ffmpeg (from Fedora Core 4) looks like:
ffmpeg version CVS, build 3277056, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --prefix=/usr --libdir=/usr/lib --mandir=/usr/share/man --enable-mp3lame --enable-libogg --enable-vorbis --enable-theora --enable-faad --enable-faac --enable-libgsm --enable-xvid --enable-x264 --enable-a52 --enable-a52bin --enable-dts --enable-pp --enable-shared-pp --enable-shared --enable-pthreads --enable-gpl --disable-opts --disable-strip
built on Dec 9 2005 05:57:44, gcc: 4.0.1 20050727 (Red Hat 4.0.1-5)
I think the option you need is x264. The other thing it might be is like you thought, a codec issue. From your error it looks like an audio error, and by default it's trying to create aac. They should be in /usr/lib/win32 -
you can download the codecs from http://www.mplayerhq.hu/homepage/design7/dload.html .

I think it's one of those two things.
User avatar
mune
Posts: 15
Joined: Wed Mar 29, 2006 11:49 pm
Location: VENICE ITALY
Contact:

Post by mune »

This worked but moho still doesn't read the movie.

Code: Select all

$ ffmpeg -acodec copy -aspect 4:3 -i estrattoREPORT20051016_I_Fazisti.avi Tabacci_mov.mov
ffmpeg version CVS, build 3276800, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --build i486-linux-gnu --enable-gpl --enable-pp --enable-zlib --enable-vorbis --enable-libogg --enable-theora --enable-a52 --enable-dts --enable-dc1394 --enable-libgsm --disable-debug --prefix=/usr
  built on Sep 29 2005 03:25:16, gcc: 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8)
Input #0, avi, from 'estrattoREPORT20051016_I_Fazisti.avi':
  Duration: 01:42:21.0, start: 0.000000, bitrate: 2 kb/s
  Stream #0.0: Video: mpeg4, yuv420p, 544x576, 25.00 fps
  Stream #0.1: Audio: mp3, 44100 Hz, stereo, 128 kb/s
File 'Tabacci_mov.mov' already exists. Overwrite ? [y/N] y
Output #0, mov, to 'Tabacci_mov.mov':
  Stream #0.0: Video: mpeg4, yuv420p, 544x576, 25.00 fps, q=2-31, 200 kb/s
  Stream #0.1: Audio: 0x0055, 44100 Hz, stereo, 128 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding
frame=  578 q=0.0 Lsize=    1155kB time=23.1 bitrate= 410.2kbits/s
video:782kB audio:360kB global headers:0kB muxing overhead 1.116214%
User avatar
jorgy
Posts: 779
Joined: Sun Sep 05, 2004 8:01 pm
Location: Colorado, USA

Post by jorgy »

Just to be clear, you're trying to read that mov file in moho running on windows now?

Does the mov file play correctly on that windows box?
User avatar
mune
Posts: 15
Joined: Wed Mar 29, 2006 11:49 pm
Location: VENICE ITALY
Contact:

Post by mune »

jorgy wrote:I'm afraid that avi and mov formats will not work in the linux version of moho. Moho relies on quicktime for movie processing and since Apple has not written a version for linux, moho can't read movie files in the linux version.
Ops, I forgot that.

I used the linux versiion and no the win version :oops:
User avatar
mune
Posts: 15
Joined: Wed Mar 29, 2006 11:49 pm
Location: VENICE ITALY
Contact:

Post by mune »

jorgy wrote:Just to be clear, you're trying to read that mov file in moho running on windows now?

Does the mov file play correctly on that windows box?
OK

In the win ver I have been able to import the AVI file.

So, as you said, I'll do everything in Linux then I'll swtich on win, I'll import the video and finally I'll export the animation.

Thanks

Fede
Post Reply