[vlc] Re: MPEG2 file incorrect time

Sigmund Augdal sigmunau at stud.ntnu.no
Wed Feb 2 16:53:29 CET 2005


On Wed, Feb 02, 2005 at 09:40:21AM -0600, Rett D. Walters wrote:
> Hi,
> 
> > Hi,
> >
> > I am transcoding files into MPEG2-PS format. For that I am
> > using
> > mencoder (which in fact uses ffmpeg). I choose the codec
> > to be
> > mpeg2video. The resulting file appears to be an MPEG2
> > file, I can
> > stream it and play it. There is however one thing which is
> > not
> > correct: the length reported by the movie players. E.g. a
> > 1min file is
> 
> > recognized as a 6secods movie. This results in a fact that
> > when I
> 
> I have seen this as well - can you tell me the command
> line parms you are using to create the mpeg2-ps file? What
> version of Mencoder are you using?  I was under the
> impression that mencoders ps multiplexer was still
> considered "beta".
> 
> > transcode such file into wmv (using Windows Media Encoder)
> > the
> > resulting file consists only of last 6 seconds of the
> > movie. How can I
> > fix the problem. I am transcoding on Linux (and this is
> > necessary)
> > Should I use another program. Maybe someone can provide me
> > with a
> > command line that generates the file I need.
> 
> Unfortunately I don't know of any other program other than
> transcode that can do this, but my experience with
> transcode  is that the quality is not as good as
> ffmpeg/mencoder.
Vlc can do it as well I think. To remux your file with vlc try the following:

vlc yourfile.mpg :sout=file/ps://newfile.mpg -I dummy vlc:quit

if vlc's mpeg ps muxer is better than mencoders then this could probably
correct your file.

Sigmund

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list