[MEncoder-users] Generate mp4 with subtitles for ipod

Javier Arboleya javi_arboleya at yahoo.es
Sun Jul 2 18:21:24 CEST 2006


Looking at previous messages I see that lot of people have problems
converting to mp4, but if I use ffmpeg the conversion works fine:

ffmpeg -vcodec xvid -b 1000 -qmax 10 -bufsize 8192 -g 300 -acodec aac
-ab 128 -ac 2 -i origin.avi -s 624x352 -aspect 16:9 output.mp4

But with ffmpeg I can't put fixed subtitles into mp4, because it doesn't
support this feature (mencoder do).

Any example on generation of mp4 files would be appreciated.


El dom, 02-07-2006 a las 17:22 +0200, Javier Arboleya escribió:
> Hi,
> 
> I'm trying to convert a XviD video file to a mp4 format compatible with
> Ipod. Moreover I'm burning into the avi file a srt file with the
> subtitles.
> 
> The line I'm using is the following:
> 
> mencoder -o output.mp4 -sub subfile.srt
> -font .mplayer/font/font-arial-iso-8859-1/font-arial-28-iso-8859-1/font.desc filetoconvert.avi -oac copy -of lavf -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell:v4mv:last_pred=2:dia=-1:vmax_b_frames=2:vb_strategy=1:cmp=3:subcmp=3:precmp=0:vqcomp=0.6:turbo -lavfopts format=mp4 -vf scale=624:352
> 
> As you could see, I'm leaving the audio as the original file and the
> size (624x352) should be a compatible size for Ipod (for more
> information look at
> http://www.macosxhints.com/article.php?story=20051028114426640)
> 
> But I'm having compatibility problems with this file (itunes doesn't get
> the file) so I would like to know if I'm doing the right conversion with
> mencoder.
> 
> Thanks in advance
> 
> P.S: my version of mencoder is:
> javi at cm-83-97-240-27:~> mencoder --version
> MEncoder 1.0pre7try3-SUSE Linux 10.1 (i686)-Packman-4.1.0 (C) 2000-2005
> MPlayer Team
> 
> 
> 		
> ______________________________________________ 
> LLama Gratis a cualquier PC del Mundo. 
> Llamadas a fijos y mviles desde 1 cntimo por minuto. 
> http://es.voice.yahoo.com
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mencoder-users


		
______________________________________________ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com



More information about the MEncoder-users mailing list