Once you know the display size, it might be easier to use avidemux to convert the file. It gives you a GUI, but still lets you set some of the crucial options like the video bitrate. One thing you're going to have to investigate is which tool can create the right container format (3gp?). Many tools out there can create an H.264 elementary stream, but you need something that's going to also multiplex the h.264 video and your audio in to a container stream which allows for proper A/V sync.<br>
<br><div class="gmail_quote">On Sun, May 3, 2009 at 3:36 PM, Paul Cartwright <span dir="ltr"><<a href="mailto:ale@pcartwright.com">ale@pcartwright.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Sun May 3 2009, Richard Bronosky wrote:<br>
> H.264 is going to be the smallest and best quality. Probably also the<br>
> easiest to get right. The tool do transcode video is mencoder. I<br>
> suggest doing it on the command line so that you can later turn it<br>
> into a bash script.<br>
<br>
</div>I've used tovid before, but mencoder's 8000+ line man pages are a bit MUCH :)<br>
I got some examples from HERE:<br>
<a href="http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html#EXAMPLES%20OF%20MENCODER%20USAGE" target="_blank">http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html#EXAMPLES%20OF%20MENCODER%20USAGE</a><br>
<br>
and picked these options to start:<br>
<br>
Encode DVD title #2, resizing to 512xHHH (keep aspect ratio):<br>
<br>
mencoder dvd://2 −vf scale −zoom −xy 512 −o title2.avi −oac copy −ovc lavc<br>
−lavcopts vcodec=mpeg4<br>
<br>
using a FILE.avi as input, not a DVD.. and no resizing..<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">Paul Cartwright<br>
Registered Linux user # 367800<br>
Registered Ubuntu User #12459<br>
<br>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
</div></div></blockquote></div><br>