View Full Version : Searching actual XviD packages
_s|mon
20th January 2004, 14:14
Hi I started to encode under linux.
I'm using Debian sid
So far i got dvd::rip/transcode running. And even cluster mode seems to be working ;)
But I found no newer xvid than
libxvidcore4-dev_1.0.0-beta2-0.0_i386.deb
So my question is, does anybody know where to get the beta 3 as .deb package.
I acutally have ftp://ftp.nerim.net/debian-marillat/ as source. But Perhaps he has not enough time to make beta 3 atm.
Does anyone know a actual source ?
Or if somebody has time/fun to describe how to compile the xvid sources for debian, I would be glad.
And some others might be interested too.
thx in advance
mikeX
20th January 2004, 17:01
compiling a package from source doesn't usually depend on the specific distro you are running (except for gentoo :) )
i have succesfully compiled xvid under SuSE && Debian sarge
u just need to download this file: http://files.xvid.org/downloads/xvidcore-1.0.0-beta3.tar.bz2
to a directory of your choice then cd to that dir and run:
tar -xvjf xvidcore-1.0.0-beta3.tar.bz2
if that went well (and there is no reason it shouldn't have) type:
cd xvidcore-1.0.0-beta3/build/generic
./configure
make
make install (you have to be root)
this will install xvid to /usr/local/lib
if you wanna change the install path use ./configure --prefix="your desired path" in the corresponding step (you can also type ./configure --help or read the INSTALL and README files for more info)
make sure you have the latest version of transcode (0.6.12 i think) in order to be able to make use of the new options in beta 3
::edit::
how to compile the xvid sources for debian
oh, did you mean how to make a .deb package out of the beta3 sources?
Daranduil
20th January 2004, 23:11
Would mplayer 1.0pre3 or cvs works with the new options of xvid 1beta 3?
_s|mon
20th January 2004, 23:13
Oh thx for your fast reply, it worked, i'm testing an encode with it atm.
Thought it would be more complicated!
Btw does anyone know wether there is an possibility to get dvdrip in cluster
mode use, settings made in xvid4 settings?
Note: the xvid4 settings apply to all titles of your project and will not be considered in dvd::rip's Cluster mode. This may change for future dvd::rip and transcode releases.
Or if this issue has been solved ? Because i'd like to use vhq and b-frames.
I found nothing knewer on the dvdrip homepage nor in the readme file.
_s|mon
20th January 2004, 23:24
Hi Daranduil
I'm using MPlayer 1.0pre3-3.3.3 (C) 2000-2003 MPlayer Team
and just watched a few min of an Rip of mine done with xvid 1 beta 3 (win version), saw nothing wrong with it, no jerky playback or other errors, as mentioned occuring with libvacodec (ffdshow).
Seems to work fine. But have not seen an whole movie yet.
mikeX
21st January 2004, 02:32
mplayer shouldn't have a problem, mencoder should though cause i don't think 1 pre 3 has the latest export modules for xvid (beta3)
the cvs updates i get won't compile so i haven't tried those yet
i have compiled the official 1pre3 replacing the export modules it had with the ones i got from http://ed.gomez.free.fr/ but i haven't had the time to figure out how to make it encode properly, so no feedback there from me... evade should know since he seems to be using mencoder.. hope he sees this thread...
doug_s
21st January 2004, 03:30
The beta3 jerky playback problem is caused by encoding with the "packed" flag on and using ffdshow (in windows) or ffmpeg (aka lavc) for playback. ffmpeg is the default for mpeg4 playback in mplayer.
The solution is simple. Either turn off the packed flag when encoding or specify the xvid codec for playback.
Note that if you use the new Gomez modules this flag is turned on by default.
The packed flag is easy to turn off with xvid4conf if you use transcode. I couldn't figure out how to do it at the command line with mencoder so I changed the default in the source code and recompiled. If anybody knows a smarter way to do this feel free to post it.
People might want to take a look at all the new default options because they might be different than what you're used to. For example, bframes are now the default and vhq now defaults to 1.
Here are the new defaults for transcode, I'm pretty sure he set them the same way for mencoder.
#
# Feature settings
#
[features]
quant_type = h263
motion = 6
chromame = 1
vhq = 1
max_bframes = 2
bquant_ratio = 150
bquant_offset = 100
bframe_threshold = 0
quarterpel = 0
gmc = 0
trellis = 0
packed = 1
closed_gop = 1
interlaced = 0
cartoon = 0
hqacpred = 1
frame_drop_ratio = 0
stats = 0
greyscale = 0
turbo = 0
#
# Quantizer settings
#
[quantizer]
min_iquant = 2
max_iquant = 31
min_pquant = 2
max_pquant = 31
min_bquant = 2
max_bquant = 31
#quant_intra_matrix =
#quant_inter_matrix =
#
# CBR settings
#
[cbr]
reaction_delay_factor = 16
averaging_period = 100
buffer = 100
#
# VBR settings
#
[vbr]
keyframe_boost = 0
overflow_control_strength = 5
curve_compression_high = 0
curve_compression_low = 0
max_overflow_improvement = 5
max_overflow_degradation = 5
kfreduction = 20
kfthreshold = 1
container_frame_overhead = 24
mikeX
21st January 2004, 03:41
oh that's what he meant about mplayer...
anyway isn't that supposed to be 'packed' && 'max b-frames > 1'???
doug_s
21st January 2004, 04:10
Yeah, I read that too but when I changed max_bframes to 1 the problem still occurred.
Maybe this only occurs on my system or with my dvds. Try it, maybe max_bframes = 1 will work for you.
The important thing to note is that max_bframes = 2 and packed = on are now the default settings, and mplayer defaults to ffmpeg, so if you don't change something you may have the same problem. Using xvid for playback is perfectly reasonable though if you really want to use packed = on.
mikeX
21st January 2004, 04:26
i don't use packed bitstream but i think i made an encoding once with max b-frames 1 and packed for testing purposes and didn't notice any stuttering (it was on windows with ffdshow but they use the same libavcodec rignt?)
anyway i think that is what divx >=5 uses so there must be something really wrong with the libavcodec built mplayer is using if that is the case (it's a libavcodec "bug" afterall afaik)
i'll give it a try again now...
mikeX
21st January 2004, 14:02
i just finished encoding two clips, one with max b-frames 1 and one with max b-frames 2 both with 'packed' turned on.
i noticed stutering only while playing back the second clip with the default decoder (ffmpeg, aka libavcodec)
mplayer version 1.0pre3-3.2
i also noticed that mplayer spits out an error message on the command line while playing the 'stutering' part: [mpeg4 @ 'address']vop not coded 0%
you might wanna check against that to see if ffmpeg is to blame for the stuttering and not something else (like high cpu usage etc)
TactX
21st January 2004, 18:10
@ _s|mon
Why not build your own Debian package?
Read the ./doc/INSTALL in the xvid source directory if you plan so. It's very easy.
Daranduil
21st January 2004, 23:59
@ mikeX
Thanks for the patch url, beta 3 works perfect patching mencoder 1.0pre3 with http://ed.gomez.free.fr/projects/mplayer/mplayer-xvid4.tar.gz
I have done this:
1-download & compile xvid 1.0beta3 (http://ed.gomez.free.fr/projects/xvid-1.0.0-beta3/xvidcore-1.0.0-beta3.zip)
unzip
cd xvidcore-1.0.0-beta3/build/generic
./configure
make && make install
It will install /usr/local/lib/libxvidcore.a and /usr/local/lib/libxvidcore.so.4.0
2- download mplayer sources (www.mplayerhq.hu)
3- change to mplayersources/libmpcodecs/ and tar xzf mplayer-xvid4.tar.gz (it overwrites vd_xvid4.c and ve_xvid4.c)
4- compile mplayer:
./configure --prefix=/usr/local/lib
make && make install
5- Try new settings, sample:
mencoder <sourcefile> -ovc xvid -xvidencopts pass=1:cartoon:quant_type=h263:max_bframes=2:bquant_ratio=150:bquant_offset=75:bf_threshold=0 -oac copy -o xvid1b3.avi
...
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.