3gp movie wizard
Video
Score 58%
Description:

This is a small perl/kommander script that helps you convert almost any movie format to 3gp/mp4, suitable for watching on a modern mobile phones.It should be extremely easy to use, yet thanks to the extremely powerful mencoder and ffmpeg, offer many advanced features such as:

- can convert AVI (divx, xvid,
mjpeg), MPEG, MOV, WMV, OGG/OGM, RM, MP4, SVCD, DVD and probably any other video format you can think of
- creates h263 or mpeg4 video and AMR or AAC audio in 3GP or MP4 containers
- excellent subtitle support (MicroDVD, SubRip, OGM, SubViewer, Sami, VPlayer, RT, SSA, AQTitle, JACOsub...) with custom font, scale, codepage and much more
- automatic movie splitting (good for a mobile phones that do not support a fast forward)
- video equalizer (brightness, saturation, contrast and gamma)
- audio gain and normalization
- inteligent cropping
- 3 pass VBR encoding for a maximal quality

Bundled with this script is another script that can automagicaly download, compile and install the latest cvs version of ffmpeg with applied amr patches.

Please see the README for instalation/usage instructions.

This is my first kommander script. Hope U find it usefull :)

BTW, I do not even own a phone that can play videos :) Stuck with an old Alcatel.
Last changelog:

11 years ago

1.3
- crop autodetect (detects black borders)
- crop zoom in factor
- flip movie (for left handed fullscreen viewing)
- moved to 'Actions' servicemenu

1.2
- you can set all the variables from the GUI
- a GUI ffmpeg installer
- the ffmpeg installer no longer requires root
- a few bug fixes

1.1
- a more flexible audio/video format selection

1.0
- option to save to the source movie dir
- quick convert (fast, noninteractive, no X access neaded, multiple file selection support, uses the settings from the last GUI convert)
- multiple, concurrent converts possible
- fixed a bug in the install-ffmpeg script (didn't install ffplay)

1.0rc1
- MP4 (mpeg4/aac) support - much better audio and video quality on a high-end phones!
- a custom audio bitrate (mp4 only)
- a custom framerate
- built in README browser

trevi55

11 years ago

Hello, I've a problem with the videos that I convert using this great tool.

In fact, I've mplayer compiled to play amr audio, and in fact if I play a 3gp video recorded with a mobile, everything works fine (both audio and video).
Btw, if I try to play (using mplayer) a video encoded using this tool I get a warning and the file doesn't play.

The error I get is:
[amr_nb @ 0x8625f48]amr frame too short (9, should be 14)
[amr_nb @ 0x8625f48]amr frame too short (10, should be 13)

(Using xine, I can see the video, but I can't heard anything...)

Report

C

dsvilko

11 years ago

Are you using the latest CVS version of mplayer and mencoder? The last stable release is quite old so that could be the problem. Does it plau on the mobile phone? Is it playable with the ffplay (part of the ffmpeg package)? Other then that, I have got no idea. Try asking on a mplayer-specific mailinglist/forum.
I just know that 'it works for me' (TM)

Report

trevi55

11 years ago

Well... I have the last stable version (compiled by me) of mplayer, becouse I can't compile latest cvs versions (here's what I get: http://www.ubuntuforums.org/showpost.php?p=978371&postcount=106 ).
So this could be the problem, and I hope it is, becouse I can't play the 3gp file neither using ffplay (downloaded and compiled yesterday from cvs).

I haven't tested the file in the mobile, becouse I've forgot the cable and bluetooth dongle at my house, and now I'm not there... :P

Thanks for support. I hope that a newer version of mencoder could help me ;)

BYE!

Report

C

dsvilko

11 years ago

As CVS is a real bleeding-edge, sometimes things can be broken. They are usually mended quite soon, though.
Simply try in a few days or ask on their mailinglist.

Report

trevi55

11 years ago

I've upgraded few files from cvs and now I has been able to compile.
Mplayer works file with any 3gp that I can download or capture with mobiles, but no way using a 3gp file (with amr audio) made using 3gp movie wizard...
Maybe I'm using wrong amr code to compile ffmpeg and mplayer...

Which one have you used?

Thanks!

Report

trevi55

11 years ago

Up :P

Report

asdex

11 years ago

For new mobile phones the maximum bitrate is way to low:
e.g. a Nokia 6280 has no problems handling 400+ kbit videos.

To allow higher bitrates open file 3gpwiz with an editor:
Before line
if($field{Tskip} eq "false") {
insert
$bitrate_mencoder=$field{Skbps}*2;

Some lines below you find a line beginning with
open ME
Replace vbitrate=400 with vbitrate=$bitrate_mencoder
Save file 3gpwiz.

Open file 3gpwiz.kmdr
Search the line containing
number>160
and replace it with something like
number>600

This allows up to 600kbit/s.

Report

C

dsvilko

11 years ago

Thanks for the great tips!
600kbps? Isn't that a bit too high for such a small screen?

Report

asdex

11 years ago

You don't have to use 600kbit/s every time. But sometimes 400kbit/s might be too less for some high motion trailers at 320x240x24fps.

Report

asdex

11 years ago

The quality of the resulting video files can be improved.

Insert the following line into file 3gpwiz (after line 14)
$videncopt="-nr 200 -cmp 2 -subcmp 2 -precmp 2 -mv0 1 -cbp 1 -trell 1 -mbd 2";

and change line 370 from

$cmd= "$ffmpeg -y -i $tmpfile.avi -pass $pass -passlogfile $tmpfile -b $field{Skbps} -ss $ss -t $stop -r
$fps $audio -vcodec mpeg4 \"$out\"";

to

$cmd= "$ffmpeg -y -i $tmpfile.avi -pass $pass -passlogfile $tmpfile -b $field{Skbps} -ss $ss -t $stop -r
$fps $audio -vcodec mpeg4 $videncopt \"$out\"";
("$videncopt" has been added (near the end of the line)).

This makes ffmpeg use high quality encoding options. Encoding time is slightly longer, file size stays the same, but quality will be better.

Report

zelizeli

11 years ago

How long does it take to convert a 20 second movie?

Thanks

Report

FXartist

11 years ago

How much compression does "3gp movie wizard" provide? Reason for asking is I'm looking for an alternative to compression software such as "Pocket DVD Studio" and "Palm Media Studio" which use video players such as Core Media Player to play encrypted DVD movies on Palm Treo and other smartphones.

Report

C

dsvilko

11 years ago

As with (I am guessing) Pocket DVD studio, compression level is completely up to the user. Stronger compression simply means less video and audio quality. Nothing prevents you to encode a 90min movie to a 20MB but it will be hardly watchable.
That said, 3gp movie wizard provides a highest possible quality for an each target filesize by:
- using an extremely good encoder
- providing a independent audio and video quality sliders
- using a 3-pass variable-bitrate encoding
- providing 'inteligent' crop factors and aspect ratios

Unfortunaltely, it was designed for mobile phones. Modern PDAs are much more powerful and can decode divx/xvid encoded movies for a even better quality.

Report

FXartist

11 years ago

Thanks for the quick reply. Reason for asking is I want to test this software with compressing DVD movies in a 2 GB SD memory card on a Treo 650.

Will you be releasing the source code soon so a binary package can be made for package managers such as YAST?

Report

C

dsvilko

11 years ago

The best video codec that almost all mobile phones are able to decode is MPEG4 with AAC audio. On PDA, you would get better quality by using a XVID codec with mp3 audio (3gp movie wizard does not support this at this time, as it was written for mobile phones). What you nead is any GUI frontend for mencoder (I think there are several), or better yet, learn to use mencoder directly, from command line.
As for the source, 3gp movie wizard is a perl/kommander script and therefore does not nead to be compiled - it's a source and 'binary' at the same time :)

Report

ljubomir

11 years ago

This is kind of program that Windows (TM) users could only wish to have (for free). Kudos to Kommander, mplayer, ffmpeg, perl developers and Domjan!

Report

centosx

11 years ago

Actually there is a win app that is free GPL'ed ironically enough uses most things in this one including ffmpeg.

At first had a hell of time kept getting error because was nothing being generated in temp, So peeked through install scripts got the cvs for ffmeg and stuff for amr support, snagged SRPM from livna tweaked spec file to compile in amr and build newer tree.

Now think it works finally. As of writing this comment, first stage encoding was going nicely...

Report

daphreak

11 years ago

Great App, Thx !

Report

ljubomir

11 years ago

I have fresh cvs fmpeg, however scipt does not start "Final encoding". Here's output:

Flushing video frames

Writing AVI index...
Fixing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.

Video stream: 93.234 kbit/s (11654 bps) size: 267582 bytes 22.960 secs 576 frames

Audio stream: 1024.000 kbit/s (127999 bps) size: 2944512 bytes 23.004 secs


There is also a lot of "Skipping frame!" before that.

ljubomir@Fidel:~/programs/sonyericsson$ mplayer --version
MPlayer 1.0pre6-3.3.5 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices (Family: 8, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for Debian.

Should I upgrade mplayer, or what?

Report

C

dsvilko

11 years ago

You haven't really given me enough info to determine what's wrong.
Does /tmp/movie.avi get generated?
Please send me a complete 3gpwiz output:
3gpwiz filename 2>&1 > 3gpwiz.log
(by email, not here!)
The 'skipping frame' is normal, as you are going from 25fps to 12.5 fps, half of the frames are dropped.

Report

zdila

11 years ago

thanks!

Report

tommycw1

11 years ago

This is great! I really like this app. Two questions:

1. Is there a linux app that can play .3gp files?

2. I couldn't find one so I had to figure out how to use ffmpeg to turn one that someone sent me into a .mpeg. Can you have your app convert from .3gp to mpeg or avi or sopmething more mainstream?

Report

C

dsvilko

11 years ago

Hm, this is strange... I have got no problem playing 3gp files with mplayer, xine or ffplay.
Try downloading and compiling the latest CVS version of mplayer.
Maybe the movie you are trying to play is corrupted or in a nonstandard 3gp format.
Can you play back the movies that you built with 3gpwiz?

Report

tommycw1

11 years ago

Well these do playback the video, but there is no audio. Any ideas? I have not yet tried to encode anything with 3gp movie wizard, so I have only used a movie that was sent to me from someone else's phone...

Report

C

dsvilko

11 years ago

You do not have the AMR or AAC audio support compiled into your players. You can use my script (install-ffmpeg) to build a ffplay with everything you nead for 3gp playback (please read the README).
Even better would be to download and compile the latest cvs version of mplayer (much better player then ffplay).

Report

11 years ago

1.3
- crop autodetect (detects black borders)
- crop zoom in factor
- flip movie (for left handed fullscreen viewing)
- moved to 'Actions' servicemenu

1.2
- you can set all the variables from the GUI
- a GUI ffmpeg installer
- the ffmpeg installer no longer requires root
- a few bug fixes

1.1
- a more flexible audio/video format selection

1.0
- option to save to the source movie dir
- quick convert (fast, noninteractive, no X access neaded, multiple file selection support, uses the settings from the last GUI convert)
- multiple, concurrent converts possible
- fixed a bug in the install-ffmpeg script (didn't install ffplay)

1.0rc1
- MP4 (mpeg4/aac) support - much better audio and video quality on a high-end phones!
- a custom audio bitrate (mp4 only)
- a custom framerate
- built in README browser

product-maker 172 244

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
1.3
updated Feb 21 2006
added Feb 14 2006
downloads today
0
page views today 6