[vlc] Re: [Partial patch] vlc and xvid encoding

Sigmund Augdal sigmunau at stud.ntnu.no
Sun Nov 28 10:45:18 CET 2004


On Sun, Nov 28, 2004 at 10:34:57AM +0100, Bernhard Rosenkraenzer wrote:
> On Friday 26 November 2004 07:41, Benjamin PRACHT wrote:
> > Well, sorry you spent some time on this, but xvid encoding is already
> > supported by vlc using the xvid wrapper of ffmpeg... We should really
> > add that to the feature list, btw...
> 
> Hmm... Still something wrong if that is used:
> 
> vlc dvdsimple: --sout 
> '#transcode{venc=ffmpeg,vcodec=xvid,br=512}:std{access=file,mux=avi,url=/tmp/test01.avi}'
> 
> generates a /tmp/test01.avi that can be played normally with vlc, but when 
> playing it with mplayer or xine, I see the same garbled video as with my 
> native xvid patch.
> Looks like something odd is happening in the muxer...
VLC's avi muxer is broken, and nobody wants to fix it, since avi apperantly
is a horrible format. Try mp4 or ogg, these muxers are much better
maintained. You could also try the ts muxer, but I seriously doubt anything
but vlc would play the result.

> 
> [BTW: mux=ogg doesn't work for vcodec=xvid -- why? ffmpeg generated mpeg-4 
> works nicely in an ogg container... Guess it's just a matter of adding the 
> fourcc or making xvid use the mp4v fourcc?]
Most probably. If you can write a encoder module for vlc, you can probably
search through the ogg muxer for the fourcc as well? Probably a real easy
fix. If this makes your xvid module useable I guess we should consider
including it as a light weight alternative to ffmpeg.

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