Log in

View Full Version : easily encode mp4 movies with mp4tools


rootkit
5th February 2008, 01:13
Hi,

I made some script to encode movies into MP4 in all its flavours (iPod, 3gp, PSP) for a site I work for,
and then I released them packaged for Ubuntu, but they works for every Linux distro, and with some tweaks even on FreeBSD

This is the homepage: http://teknoraver.campuslife.it/software/mp4tools/

I have repos for gutsy:
deb http://ppa.launchpad.net/teknoraver/ubuntu gutsy main
deb-src http://ppa.launchpad.net/teknoraver/ubuntu gutsy main

and for hardy:
deb http://ppa.launchpad.net/teknoraver/ubuntu hardy main
deb-src http://ppa.launchpad.net/teknoraver/ubuntu hardy main

The cool thing is that, even if they have very high quality (look at the samples in the homepage)
they are very simple to use, because there are presets for PSP, 3gp, Symbian phones and iPod.
Adding new presets is very simple, just edit one and see
Also, i added to them features that i have never found in any encoding script like:


direct rip from DVD
autocrop of black borders to have a bigger visual
audio peak normalization to make audio sound louder, useful on devices with poor speakers
ID tags for Symbian phones


I hope you enjoy them, feedback is welcome

WalterK
8th February 2008, 22:07
Hi , i compiled the tools from source, my version of ffmpeg/mplayer/mencoder/libdvdnav are all svn so i had to use source otherwise i kept getting complaints via apt/synaptic about the need to install mplayer/mencoder/libdvdnav etc with mp4tools.
So the sources compiled and installed correctly however trying to transcode say an avi or wmv/asf file to mp4 format results in this error.
mkmp4 test.wmv test.mp4 600k

Analysing input file

No streams found, encoding failed


I haven't tried dvd to mp4 yet but i was looking for something that did easy transcode to compatible mp4 format.
Any idea of what i am doing wrong?

talen9
9th February 2008, 00:42
Can you actually *play* those .wmv files with mplayer?

Because I think your problem is that you haven't installed the win32 codecs ...

WalterK
9th February 2008, 01:11
yes they can be played in mplayer.
Even tried some avi xvid encoded fles same error.

WalterK
9th February 2008, 03:31
Ok recompiled all the necessary support software, which included gpac.
Now it recognizes the files don't know why it didn't the first time.
Just out of curiosity , can it only use the X264 codec?
I read that xvid was also possible how do i enable the use of xvid.