PDA

View Full Version : mplayer-xvid bframe


elcabesa
14th December 2002, 12:00
as i told in another one thread, i patchad mplayer to use new xvid dev3 api..
if someone want to try it , i'll enjoy it, and i hope you will also enjoy it=)

my patch make possible use dev-3-api and to test qpel, gmc, me_colur, bframe
it's not perfect.. but i'll try ot make it better and better.. in this moment it work and is producing a lord of the ring avi =)

ps. i'll upload somewhere my patch...
but if you want to try it please post your email nad ai'll sent it to you=)

biersauf
14th December 2002, 13:57
here:

biersauf@reloadworld.de

:D

cjv
16th December 2002, 22:33
Is this a patch for encoding, or playback?
Regardless, can you please attach it to the post, I would be interested in trying it.

Maybe this patch solves it, but are you able to play back XviD encodes using b-frames in mplayer? I cannot play them back without major corruption. I am wondering if anyone knows if this is an XviD bitstream bug, or an actual libavcodec decoding bug?

in "libavcodec/avcodec.h" you will find this #define
#define FF_BUG_NO_PADDING 16

I must pass this to libavcodec via mplayer command line in order to avoid the corruption..but even when the files are converted to ISO .mp4 format, the bug exists...which means it's in the bitstream. I guess it has something to do with XviD's adaptive b-frames, because there is no corruption with DivX5 encodes.

cjv

Manao
17th December 2002, 01:06
Developpers of mplayer or ffmpeg ( i don't know, it's a friend of mine who told me that ) say that's an Xvid bitstream bug. But there is something strange : with last ffdshow's build ( 11/12/02 ) I'm able to playback xvid+bframes without any problem, even when the 'padding bug' checkbox is checked / unchecked. I thought ffdshow used ffmpeg code, so I'm lost. Moreover, old build of ffmpeg ( before october ) can playback xvid+bframes.

cjv
17th December 2002, 01:24
The reason it works in ffdshow is that Milan said he sets error_resiliance = 0,...in order to fix this decoding problem. Thus, checking/unchecking the padding checkbox is unnecesary.

I really, really hope this is not an XviD bitstream bug. I know that I shouldn't use CVS for archiving...but I have been. :) B-frames with MPEG quants are just too good to pass up.

I'm not too concerned, because Envivio can play back XviD b-frames, and they seem very concerned about ISO compliance...and mp4player can play them as well. I think/hope it's a libavcodec decoding bug.

If you hear anything else about this, please let me know.
Thanks,

cjv

elcabesa
17th December 2002, 10:51
hi
i'll not post here my patch..couse it has been included in mplayer cvs=)

and looking mplayer forum tonight they will upload mplayer 0-9 rc2 =)