Autor Tópico: Problema com DivX / avi no Totem  (Lida 2397 vezes)

Offline Paulão

  • Usuário Ubuntu
  • *
  • Mensagens: 2
    • Ver perfil
Problema com DivX / avi no Totem
« Online: 30 de Abril de 2007, 14:30 »
Problema com DivX / avi no Totem


Atualizei a versão 6.10 para a 7.04 via internet.
Na versão 6.10 conseguia ver videos avi(DivX) no Totem.
Após a atualização rodei o Automatix para a nova versão e agora não consigo mais ver vídeos desse formato nem no Totem nem no mplayer

Como o Automatix não funcionou, tentei instalar o codec do DivX (divx611-20060201-gcc4.0.1.tar.gz) mas acho que o script (install.sh) tem algum problema.(Obs: Usei o terminal como root)

Após o texto da "SDK END USER LICENSE AGREEMENT" o terminal fica com um ":" e a tentativa de digitar alguma coisa ou dar enter resulta num bip e nada acontece.

Dei uma olhada no script (não entendo nada disso) mas parece que ele devia apresentar uma pergunta sobre se eu aceito a licença para que a instalação possa continuar.

Coloquei uma cópia do script no final para ver se alguem que entende do assunto pode dar uma luz

Tenho o w32codecs instalado.

Fiz uma procura no Synaptic com a palavra "divx" e os pacotes que tenho instalados São:

avidemux  - a small editing software for avi (especially DivX)
avifile-divx-plugin - Divx4Linux video de/encoding plugin for libavifile
avifile-xvid-plugin - XviD video encoding plugin for libavifile
ffmpeg - multimedia player, server and encoder - Medibuntu package
gstreamer0.10-ffmpeg - FFmpeg plugin for GStreamer
gstreamer0.8-ffmpeg - FFmpeg plugin for GStreamer
gstreamer0.8-xvid - XVID encoder plugin for GStreamer
libavcodec0d - ffmpeg codec library - Medibuntu package
libavifile-0.7c2 - shared libraries for AVI read/writing
libdivx0-binary - DivX MPEG-4 library
libdivxdecore0-binary - DivX MPEG-4 library (decoder)
libdivxencore0-binary - DivX MPEG-4 library (encoder)
mencoder - MPlayer's Movie Encoder
mplayer - The Ultimate Movie Player For Linux

Está faltando alguma biblioteca, plugin ou outra coisa ?

O script do install tem conserto ?

Já pesquisei os itens do forum abaixo e nada funcionou:

http://ubuntuforum-br.org/index.php?topic=17041.0 (O mesmo problema com a instalação do codec)
http://ubuntuforum-br.org/index.php?topic=3522.0
http://ubuntuforum-br.org/index.php?topic=2126.0
http://ubuntuforum-br.org/index.php?topic=15522.0

 

Script install.sh
===========================================================
#!/bin/bash
LIBDIR=/usr/local/lib
INCLUDEDIR=/usr/local/include

less <<EOM
DIVX, INC. (“Licensor”)
SDK END USER LICENSE AGREEMENT (“AGREEMENT”)

YOU SHOULD CAREFULLY READ THE FOLLOWING TERMS AND CONDITIONS
BEFORE USING THIS SOFTWARE DEVELOPMENT KIT (the “SDK”). IT
CONTAINS SOFTWARE AND DOCUMENTATION, TOGETHER WHICH
CONSTITUTE THE LICENSED WORKS AND THE USE OF WHICH IS
LICENSED BY LICENSOR TO ITS CUSTOMERS FOR THEIR USE ONLY AS
SET FORTH BELOW.

... (Retirei parte do texto para economizar espaço) ...

ENTIRE AGREEMENT: This Agreement sets forth the entire
understanding and agreement between you and Licensor,
supersedes all prior agreements, whether written or oral,
with respect to the Licensed Works, and may be amended only
in a writing signed by both parties.

DivX, Inc.
4780 Eastgate Mall
San Diego, California 92121
February 1, 2006
EOM
echo
echo Do you accept the terms of this agreement? Please type yes or no.
ANSWER=no
read ANSWER
if [ $ANSWER = "yes" ]; then
    echo Proceeding with installation
else
    echo Aborting installation
    exit
fi

GREP_RESULT=`grep /usr/local/lib /etc/ld.so.conf`
if [ -z "$GREP_RESULT" ]; then
   echo >> /etc/ld.so.conf
   echo $LIBDIR >> /etc/ld.so.conf
fi
TMPDIR=/tmp/.divx
rm -fR $TMPDIR > /dev/null
mkdir $TMPDIR
unzip -d $TMPDIR -P h08pzt4 contents.dat
cp -f $TMPDIR/lib/*.so $LIBDIR/
mkdir $INCLUDEDIR/divx
cp -fr $TMPDIR/include/* $INCLUDEDIR/divx/
LIBNAME=${LIBDIR}/libdivx.so
chown 0 $LIBNAME
chmod 755 $LIBNAME
rm -f $LIBNAME.0
ln -s $LIBNAME $LIBNAME.0
chown 0 $LIBNAME.0
chmod 755 $LIBNAME.0
/sbin/ldconfig
rm -fR $TMPDIR > /dev/null

===========================================================================
« Última modificação: 30 de Abril de 2007, 14:45 por Paulão »