[MPlayer-users] Re: Converting mkv to avi?

D Richard Felker III dalias at aerifal.cx
Sun Feb 27 00:19:40 CET 2005


On Sat, Feb 26, 2005 at 12:19:40PM +0200, Anssi Saari wrote:
> On Fri, Feb 25, 2005 at 03:46:48AM -0500, D Richard Felker III wrote:
> > On Fri, Feb 25, 2005 at 10:09:06AM +0200, Anssi Saari wrote:
> > > 
> > > Is it supposed to be possible to convert mkv to avi? I tried with 
> > > 
> > > mencoder -v -oac copy -ovc copy test.mkv -of avi -o test.avi
> > > 
> > > but it seems to hang, CPU is at 100%, but nothing else seems to
> > > happen. Output follows.  The file plays fine with mplayer.
> > 
> > no idea why it hangs, but storing vorbis audio in avi is impossible.
> > you'll have to reencode the audio if you want to have any hope of this
> > working.
> 
> Yes of course. Thanks for the tip. Extracting with mkvextract and then
> mencoder -ovc copy -oac lavc produces a working avi. There's a problem
> with the video, though. mplayer plays it fine, but my standalone DVD
> player doesn't. I've run into this with some other xvid videos as well.
> 
> I know "packed bitstream" or "vop packed" as avidemux calls it can cause
> problems, but removing that doesn't seem to help in these cases. Could it
> be quarter pixels, perhaps? Can they be removed without reencoding? Or 
> what would be the least damaging lavcopts for reencoding the video? 

Are you sure you removed packed bitstream? This isn't possible with
mencoder. Also, there's no way to remove "advanced" encoding features
like qpel without reencoding. Sorry.

Rich




More information about the MPlayer-users mailing list