[MPlayer-users] encode2mpeg 0.3.1 possible bug but encoding OK
Giacomo Comes
comes at naic.edu
Wed Dec 1 22:39:20 CET 2004
On Wed, Dec 01, 2004 at 02:21:51PM -0600, Jeff Clagg wrote:
> On Wed, Dec 01, 2004 at 03:52:48PM -0400, Giacomo Comes wrote:
> > mencoder -o TEST.mpg dvd://1 -frames 100 -ofps 30000/1001
> > -vf scale=720:480,harddup -oac copy -of mpeg -ovc lavc
> > -lavcopts vcodec=mpeg2video:aspect=16/9:vbitrate=7500:vrc_buf_size=1835:vrc_maxrate=7500
>
> Not sure if it matters for this particular application, but people should
> know that this usage currently produces mpeg2 in an mpeg1 container,
> and the resulting file is totally nonstandard. So far as I know, only
> mplayer will play it.
My program, encode2mpeg, does all kind of manipulation
necessary to create a valid mpeg stream.
In the case of the previous example, after mencoder has
created the mpeg, the mpeg video stream is extracted
and multiplexed again with mplex in order to create
a valid SVCD or DVD stream.
> With this in mind, I wonder why you use "-of mpeg" at all. As long as
> we're generating a file most software can't work with in the first place,
> why not save some keystrokes and put mpeg2 in avi?
The same lines of code in encode2mpeg can create mpeg1 video too.
In that case the output of mencoder is all what I need.
Giacomo
More information about the MPlayer-users
mailing list