Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: DOKX on February 05, 2007, 04:53:29 AM

Title: Trouble installing ffmpeg
Post by: DOKX on February 05, 2007, 04:53:29 AM
Ok i know the subject has been covered in this thread http://forums.contribs.org/index.php?topic=35247.0 However when i try and use the instructions posted it gives me error of not installing, Can someone help me install ffmpeg, i am using sme 7.1.

When it comes to this, rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt It gives me the error of cannot find and i cannot conyinue,

I've googled but havent seemed to locate how to install ffmpeg correctly, Thank you
Title: Re: Trouble installing ffmpeg
Post by: william_syd on February 05, 2007, 07:02:29 AM
Quote from: "DOKX"

When it comes to this, rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt It gives me the error of cannot find and i cannot conyinue,



What happens when you skip that step ?
Title: Trouble installing ffmpeg
Post by: william_syd on February 05, 2007, 07:35:27 AM
Dags, Dries and FreshRPMs appear to have combined.

Code: [Select]
db yum_repositories delete dag
db yum_repositories delete dries

Code: [Select]
/sbin/e-smith/db yum_repositories set rpmforge repository \
 BaseURL http://apt.sw.be/redhat/el4/en/$basearch/dag \
 MirrorList http://apt.sw.be/redhat/el4/en/mirrors-rpmforge \
 EnableGroups 1 \
 GPGCheck 0 \
 Name rpmforge \
 Visible yes \
 status disabled


Code: [Select]
expand-template /etc/yum.conf

Code: [Select]
yum --enablerepo=* --disablerepo=smedev install ffmpeg
Title: Trouble installing ffmpeg
Post by: DOKX on February 05, 2007, 01:32:20 PM
As for skipping the one (When it comes to this, rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt It gives me the error of cannot find and i cannot conyinue,
)  same thing i get an error not found,
When i use the one you given  i come up with this,
[root@viperx ~]# db yum_repositories delete dag
[root@viperx ~]# db yum_repositories delete dries
[root@viperx ~]# /sbin/e-smith/db yum_ropsitories set rpmforge repository BaseURL http://apt.sw.be/redha                                                                         dhat/el4/en/mirrors-rpmforge EnableGroups 1 GPGCheck 0 Name rpmforge Visible yes status disabled
[root@viperx ~]# expand-template /etc/yum.conf
[root@viperx ~]# yum --enablerepo=* --disablerepo=smedev install ffmpeg
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "fastestmirror" plugin
Loading "smeserver" plugin
Setting up Install Process
Setting up repositories
http://mirror.centos.org/centos/4/testing/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Cannot open/read repomd.xml file for repository: testing
failure: repodata/repomd.xml from testing: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from testing: [Errno 256] No more mirrors to try.
================================================================
No new rpms were installed. No additional commands are required.
================================================
Thank you, what should i do next
Title: Trouble installing ffmpeg
Post by: william_syd on February 05, 2007, 01:35:19 PM
Code: [Select]
yum --enablerepo=* --disablerepo=smedev --disablerepo=testing install ffmpeg
Title: Trouble installing ffmpeg
Post by: william_syd on February 05, 2007, 01:39:38 PM
Quote
[root@viperx ~]# /sbin/e-smith/db yum_ropsitories set rpmforge repository BaseURL http://apt.sw.be/redha dhat/el4/en/mirrors-rpmforge EnableGroups 1 GPGCheck 0 Name rpmforge Visible yes status disabled


There is a spelling error.. or maybe a typo when you posted.
Title: Trouble installing ffmpeg
Post by: DOKX on February 05, 2007, 02:16:54 PM
Quote from: "william_syd"
Code: [Select]
yum --enablerepo=* --disablerepo=smedev --disablerepo=testing install ffmpeg


Thank you that worked

I'm really new to this where did the ffmpeg get installed at or do i need to do something else, The reason for asking i need to point galley2 to it, Thank you again
Title: Trouble installing ffmpeg
Post by: william_syd on February 05, 2007, 02:39:19 PM
Quote from: "DOKX"
Quote from: "william_syd"
Code: [Select]
yum --enablerepo=* --disablerepo=smedev --disablerepo=testing install ffmpeg


Thank you that worked

I'm really new to this where did the ffmpeg get installed at or do i need to do something else, The reason for asking i need to point galley2 to it, Thank you again


Code: [Select]
/usr/bin/ffmpeg
Title: Trouble installing ffmpeg
Post by: DOKX on February 05, 2007, 02:41:23 PM
Thank you very much and thank you for the great info and quick reply, DOKX
Title: Trouble installing ffmpeg
Post by: dtech on February 25, 2007, 11:03:20 PM
Quote from: "william_syd"

Code: [Select]
/sbin/e-smith/db yum_repositories set rpmforge repository \
 BaseURL http://apt.sw.be/redhat/el4/en/$basearch/dag \
 MirrorList http://apt.sw.be/redhat/el4/en/mirrors-rpmforge \
 EnableGroups 1 \
 GPGCheck 0 \
 Name rpmforge \
 Visible yes \
 status disabled


Code: [Select]
expand-template /etc/yum.conf


william_syd;

I notice when I enter the above code on the command line, the result in my yum.conf looks like this (notice the missing $basearch in the baseurl line);

Code: [Select]
[rpmforge]
enabled=0
mirrorlist=http://apt.sw.be/redhat/el4/en/mirrors-rpmforge
#baseurl=http://apt.sw.be/redhat/el4/en//dag
name=rpmforge
gpgcheck=0
enablegroups=0


Any idea what's happening there?

-P
Title: Trouble installing ffmpeg
Post by: william_syd on February 26, 2007, 06:22:27 AM
There exclusive with one making the other redundant.

Try the following and look at yum.conf again.
Code: [Select]
/sbin/e-smith/db yum_repositories delete rpmforge
Code: [Select]
/sbin/e-smith/db yum_repositories set rpmforge repository \
 BaseURL http://apt.sw.be/redhat/el4/en/$basearch/dag \
 EnableGroups 1 \
 GPGCheck 0 \
 Name rpmforge \
 Visible yes \
 status disabled

Code: [Select]
expand-template /etc/yum.conf
Title: Trouble installing ffmpeg
Post by: william_syd on February 26, 2007, 06:44:29 AM
Oh.. that was the wrong answer.

Try '  ' around $basearch.

Code: [Select]
/sbin/e-smith/db yum_repositories set rpmforge repository \
 BaseURL http://apt.sw.be/redhat/el4/en/'$basearch'/dag \
 MirrorList http://apt.sw.be/redhat/el4/en/mirrors-rpmforge \
 EnableGroups 1 \
 GPGCheck 0 \
 Name rpmforge \
 Visible yes \
 status disabled
Title: Trouble installing ffmpeg
Post by: dtech on February 26, 2007, 01:57:23 PM
Hi william_syd;

That worked, although I notice now that even if the EnableGroups 1 directive is issued, the result is always enablegroups=0 . I wonder if this is forced...

Thanks,

-P
Title: Trouble installing ffmpeg
Post by: william_syd on February 26, 2007, 02:35:22 PM
Quote from: "dtech"
Hi william_syd;

That worked, although I notice now that even if the EnableGroups 1 directive is issued, the result is always enablegroups=0 . I wonder if this is forced...

Thanks,

-P


Try yes instead of 1
Title: Trouble installing ffmpeg
Post by: ecujak on May 08, 2007, 01:03:09 PM
Quote from: "william_syd"
Oh.. that was the wrong answer.

Try '  ' around $basearch.


Thank you william_syd and everyone else.
Title: Trouble installing ffmpeg
Post by: Tib on May 17, 2007, 05:40:29 AM
I have a slight problem installing ffmpeg here on my test server.

Quote

Installing for dependencies:
 SDL                     i386       1.2.7-8          base              202 k
 alsa-lib                i386       1.0.6-5.RHEL4    base              302 k
 faac                    i386       1.25-2.el4.rf    rpmforge          130 k
 faad2                   i386       2.0-8.el4.rf     rpmforge          443 k
 imlib2                  i386       1.3.0-6.el4.at   atrpms            624 k
 lame                    i386       3.97-1.el4.rf    rpmforge          588 k
 libavcodec51            i386       0.4.9-23_r8743.el4.at  atrpms            1.5 M
 libavformat51           i386       0.4.9-23_r8743.el4.at  atrpms            305 k
 libavutil49             i386       0.4.9-23_r8743.el4.at  atrpms             20 k
 libdc1394_control13     i386       1.1.0-6.el4.at   atrpms             28 k
 libogg                  i386       2:1.1.3-7.el4.at  atrpms             18 k
 libpostproc51           i386       0.4.9-23_r8743.el4.at  atrpms             20 k
 libraw1394_8            i386       1.2.1-0_8.el4.at  atrpms             13 k
 libswscale0             i386       0.4.9-23_r8743.el4.at  atrpms             67 k
 libtheora               i386       1.0alpha3-5      base              100 k
 libtheora0              i386       1.0-8_alpha7.el4.at  atrpms             81 k
 libungif                i386       4.1.3-1.el4.2    smetest            39 k
 libvorbis               i386       1:1.1.0-1        base              185 k
 xvidcore                i386       1.1.2-1.el4.rf   rpmforge          521 k


I get this error : -
Quote

Transaction Check Error:   file /usr/lib/libtheora.so.0 conflicts between attempted installs of libtheora-1.0alpha3-5 and libtheora0-1.0-8_alpha7.el4.at

I'm guessing because base has this :
Quote
libtheora               i386       1.0alpha3-5      base              100 k

and atrpms has this:
Quote
libtheora0              i386       1.0-8_alpha7.el4.at  atrpms             81 k


What would be the best work arround as I notice there are other files that are needed from base as well as atrpms.

Regards,

Tib
Title: Trouble installing ffmpeg
Post by: Tib on May 17, 2007, 06:45:43 AM
It's ok .. I managed to install ffmpeg

did a
Quote

wget http://mirror.contribs.org/smeserver/contribs/dberteld/gallery2/rpms/ffmpeg-0.4.9-0.8.20070109.el4.rf.i386.rpm


then a
Quote
yum --enablerepo=* --disablerepo=smedev --disablerepo=testing install ffmpeg-0.4.9-0.8.20070109.el4.rf.i386.rpm


And it looks like it worked.

Only installed 15 files instead of 20 like it tried before.

Probably didn't have to wget the file but anway ... I was going to do a
Quote
yum localinstall --enablerepo=* --disablerepo=smedev --disablerepo=testing install ffmpeg-0.4.9-0.8.20070109.el4.rf.i386.rpm

but hit enter too fast ... worked anyway.

Regards,

Tib