LinHES Forums
http://forums.linhes.org/

Transcode to DivX? (Codecs are installed)
http://forums.linhes.org/viewtopic.php?f=17&t=4497
Page 1 of 1

Author:  TinyBilbo2 [ Mon May 09, 2005 11:37 am ]
Post subject:  Transcode to DivX? (Codecs are installed)

Hi all,

1st) Many Thanks for the hard work in producing KnoppMyth.

I've pretty much got the hardware installed and working
Just a few bugs in software to sort out.
I've got the Dvd ripping to Xvid no problems.
However I would like to try to rip to DivX because I believe it is faster and has better Compression.I'm not too concerned about the speed as Myth does all this nicely in the background - But I would like better compression (more space = more films !).- Please feel free to suggest an alternative that can give me same compression/quality.

I've Installed the free codec from divx.com
apt-get installed ffmpeg
and recompiled Mplayer
change settings to use divx
(directories are set ok and working)

and it still ain'nt ripping to DivX

mnt.log just states job started - job finished - It thinks the job went okay.

Can anybody shed a little light on this or at least point me the right direction, i've been trawling the search function for weeks now (on this and loads of other installation problems) and this is basically my last little bugbear to sort.

Any help much appreciated

Tiny

Author:  TinyBilbo2 [ Mon May 09, 2005 6:51 pm ]
Post subject: 

Amazingly enough - Got it sorted real quick

mnt.logs showed me that although DivX5 was installed on my machine, transcode was'nt seeing it.
so I apt-get removed transcode + ffmpeg (a transcode dependant)
and downloaded
http://www.ligo.caltech.edu/~pehrens/tr ... .14.tar.gz
http://prdownloads.sourceforge.net/ffmp ... re1.tar.gz

then unpacked them
1st I entered the ffmpeg directory and typed (all on one line)

sed -i -e "s/static uint64/const uint64/" \
libavcodec/liba52/resample_mmx.c &&
./configure --prefix=/usr --enable-shared \
--enable-pthreads --disable-ffplay &&
make

then typed

make install

To reinstall ffmpeg with all its shared libraries that transcodes needs
then I entered the transcode directory and typed (all on one line)

./configure --prefix=/usr --without-x && make

followed by

make install

this recompiles transcode with both DivX5 (previously installed) and ffmpeg shared libraries.

After that it all worked and now a two 2 hour transcode now takes 1hr 20m which is nice - however the file sizes did'nt seem to be any better (smaller) than xvid.

I only seem to have the option to rip perfect or good - some dvd's (well only one so far) give other options such as excellent and medium.
What controls these quality settings options and can I enable more settings for all dvds?
Also does anyone know what the best codec for compression is?

thanks

Tiny

Author:  Girkers [ Mon May 09, 2005 8:59 pm ]
Post subject: 

Could the speed up be attributed to recompiling transcode and ffmpeg?

Author:  TinyBilbo2 [ Tue May 10, 2005 5:05 am ]
Post subject: 

It could be... However I think it has more to do with the format the codec itself works with - I think DivX5 uses YUY2 (which is quick) as oppossed to RGB24 (Slow) which a lot of other codecs use.
From what I've Read using ffmpeg (-y ffmpeg -F mpeg4) instead of DivX5 is the quickest - but you can only do this thru the command line (I want everything to work from the frontend GUI + remote (i.e wife friendly).
Can anyone confirm this? (and how to use it?).

Tiny

Author:  Anglachel [ Sun May 29, 2005 10:53 am ]
Post subject: 

TinyBilbo2 wrote:
Amazingly enough - Got it sorted real quick

mnt.logs showed me that although DivX5 was installed on my machine, transcode was'nt seeing it.
so I apt-get removed transcode + ffmpeg (a transcode dependant)
and downloaded
http://www.ligo.caltech.edu/~pehrens/tr ... .14.tar.gz
http://prdownloads.sourceforge.net/ffmp ... re1.tar.gz

then unpacked them
1st I entered the ffmpeg directory and typed (all on one line)

sed -i -e "s/static uint64/const uint64/" \
libavcodec/liba52/resample_mmx.c &&
./configure --prefix=/usr --enable-shared \
--enable-pthreads --disable-ffplay &&
make

then typed

make install

To reinstall ffmpeg with all its shared libraries that transcodes needs
then I entered the transcode directory and typed (all on one line)

./configure --prefix=/usr --without-x && make

followed by

make install

this recompiles transcode with both DivX5 (previously installed) and ffmpeg shared libraries.

After that it all worked and now a two 2 hour transcode now takes 1hr 20m which is nice - however the file sizes did'nt seem to be any better (smaller) than xvid.

I only seem to have the option to rip perfect or good - some dvd's (well only one so far) give other options such as excellent and medium.
What controls these quality settings options and can I enable more settings for all dvds?
Also does anyone know what the best codec for compression is?

thanks

Tiny



An easier way to do this might be to just use the debian package managment to reinstall transcode with x-vid and divx support...

something like...

Code:
apt-get remove transcode
apt-get remove ffmpeg
apt-get install xvidcore
apt-get install libdivxdecore0
apt-get install transcode


Apt should recognize that there is divx and x-vid there and install transcoder to match.

It appears that this will also install a few other dependancy's that aren't installed by default on knoppmyth, so their will be a few more options for transcoding...

EDIT: well it worked at first, then after a reboot I can't get the back end started up any more... oh well, guess time to upgrade any how...

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/