[MEncoder-users] improving performance - general questions

Rossana Guerra guerra.rossana at gmail.com
Sat Aug 18 22:16:56 CEST 2012


2012/8/18 Reimar Döffinger <Reimar.Doeffinger at gmx.de>

> On Sat, Aug 18, 2012 at 04:56:45PM -0300, Rossana Guerra wrote:
> > 2012/8/18 Reimar Döffinger <Reimar.Doeffinger at gmx.de>
> >
> > > On Thu, Aug 16, 2012 at 05:00:49PM -0300, Rossana Guerra wrote:
> > > > Hi every one, I have only one processor and it tooks time to add
> > > subtitles.
> > >
> > > Rendering subtitles (at least the plain white/one-colored ones) should
> > > take almost no CPU.
> > >
> > > > So some questions comes to my mind.
> > > > I apprecitate any suggestions to improve this task: theading?, enable
> > > GPU.
> > > > Is better with a good graphic card?.
> > >
> > > We need more details, in particular including the MPlayer output, to
> > > answer that.
> > > -vo gl can use the GPU to render the subtitles, but that is not
> > > necessarily faster, it can be slower.
> >
> >
> > Actually I pre preocess the videos, after that they´ll be played with
> VLC.
>
> Well, you could leave VLC to handle the srt subtitles directly
> obviously, it does support them after all...
>
> > So the only output is the command mencoder console output.
> >
> > I noticed add subtitles takes time, any tip.
> >
> > This is the command:
> >
> > mencoder /carpeta_X/pelicula.avi -sub /carpeta_X/pelicula.srt -oac copy
> > -ovc lavc -o /tmp/pelicula_final.avi -subcp latin1 -font
> > /usr/share/fonts/msttcore/arial.ttf -subfont-text-scale 2.8
>
> Is the problem that this is slow whether you encode subtitles or not,
> or that specifically removing the -sub option (and only that, possibly
> replacing it with -nosub) makes it much faster.
> Anyway try with -lavcopts vcodec=mpeg4:mbd=0:turbo=yes:vqscale=2
>

Sorry, I didn'y understand very well, maybe is my english and because I am
totally new with mencoder.

I need to add subtitles, sio why to use nosub?

As I posted before, this is the command I am using:

mencoder /carpeta_X/pelicula.avi -sub /carpeta_X/pelicula.srt -oac copy
-ovc lavc -o /tmp/pelicula_final.avi -subcp latin1 -font
/usr/share/fonts/msttcore/arial.ttf -subfont-text-scale 2.8

thanks

Rossana

> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
>


More information about the MEncoder-users mailing list