[maemo-users] Video encoding script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/13/06, inode0 <inode0 at gmail.com> wrote:
> On 4/13/06, Hilary Miller <hilfmil at gmail.com> wrote:
> > but whenever the resulting video file is large, like 100megs, the nokia
> > refuses to play it with a generic video playback error. Does anyone watch
> > large video files on their nokia? Am I the only one having this problem?
>
> I have an episode of a TV show I created to test the video with and it
> plays fine. It is about 140M in size. I'll check my notes at home
> later to see exactly what mencoder voodoo I used to create it.

For fun I encoded a 2 hour movie last night using lxdvdrip, mencoder,
and ffmpeg. It came out a little over 400MB in size and downloaded via
a browser fine. Seems to have good audio sync.

I didn't do anything fancy really. After running lxdvdrip I needed to
fix the audio to something ffmpeg could handle with

mencoder foo.vob -o foo.avi -ovc copy -oac mp3lame

and then ran a two pass ffmpeg conversion with

ffmpeg -i infile -vcodec mpeg4 -acodec mp3 -s 352:208 -b 400 -pass 1 outfile.avi
ffmpeg -i infile -vcodec mpeg4 -acodec mp3 -s 352:208 -b 400 -pass 2 outfile.avi

I think someone else suggested the manner of ffmpeg conversion I used elsewhere.

John



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux