You are not logged in.

#1 2008-07-15 15:06:54

delor
Member
From: Poland
Registered: 2008-02-02
Posts: 62
Website

[solved] mplayer and x264

/usr/bin/mplayer -noquiet -nofs -sub-fuzziness 1 -identify -slave -vo xv -ao oss -zoom -nokeepaspect -framedrop -input conf=/usr/share/smplayer/input.conf -stop-xscreensaver -wid 33554444 -monitorpixelaspect 1 -subfont-autoscale 1 -subfont-text-scale 5 -subcp CP1250 -subpos 100 -contrast 0 -brightness 0 -hue 0 -saturation 0 -nocache -osdlevel 0 -vf-add screenshot -channels 2 -af volnorm=2 -softvol -softvol-max 110 /home/delor/wideo/AS_2008.ogm

/usr/bin/mplayer: error while loading shared libraries: libx264.so.57: cannot open shared object file: No such file or directory

This happens after todays upgrade of x264.

EDIT:
Solution:

#  ln -s /usr/lib/libx264.so.60 /usr/lib/libx264.so.57

Last edited by delor (2008-07-15 15:23:11)

Offline

#2 2008-07-15 15:59:32

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,880

Re: [solved] mplayer and x264

Rebuilding Mplayer or waiting for the update is a better solution. Symlinking SO can screw your system up completely.

Offline

#3 2008-07-15 17:20:18

delor
Member
From: Poland
Registered: 2008-02-02
Posts: 62
Website

Re: [solved] mplayer and x264

New mplayer is already in repo, that was fast.

Last edited by delor (2008-07-15 17:50:00)

Offline

#4 2008-07-15 18:07:14

SLeeM@N
Member
From: Canada
Registered: 2006-04-12
Posts: 13

Re: [solved] mplayer and x264

Indeed lol just couple hours after, I've used VLC during that time smile

Offline

#5 2008-07-16 22:17:41

libervisco
Member
From: Croatia
Registered: 2005-06-17
Posts: 34
Website

Re: [solved] mplayer and x264

I still get that for ffmpeg2theora. :S

Offline

#6 2008-07-16 22:24:59

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 9,939
Website

Re: [solved] mplayer and x264

you will have to rebuild ffmepg2theora yourself.

Offline

#7 2008-07-16 23:49:50

libervisco
Member
From: Croatia
Registered: 2005-06-17
Posts: 34
Website

Re: [solved] mplayer and x264

Right. I just symlinked them for now.

Thanks

Offline

#8 2008-07-16 23:56:55

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 9,939
Website

Re: [solved] mplayer and x264

libervisco wrote:

I just symlinked them for now.

Argh!!!!   BAD, BAD, BAD! mad

Offline

#9 2008-07-17 01:54:21

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,880

Re: [solved] mplayer and x264

Unless I'm missing something here, why are people still using ffmpeg2theora? Just rebuild it with the "--enable-libtheora" switch.

[skottish@iasE vid]$ ffmpeg -i wisdom.mp4

configuration: --prefix=/usr --enable-gpl --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libfaac --enable-libfaad --enable-liba52 --enable-libxvid --enable-libx264 --enable-shared --disable-static --enable-pthreads --enable-network --enable-x11grab --enable-swscale
 
...snip...

    Stream #0.0(und): Video: h264, yuv420p, 720x576,  9.00 tb(r)
    Stream #0.1(und): Audio: libfaad, 44100 Hz, stereo
ffmpeg -i wisdom.mp4 out.ogg
[skottish@iasE vid]$ ffmpeg -i out.ogg

--snip--

    Stream #0.0: Video: theora, yuv420p, 720x576 [PAR 1:1 DAR 5:4],  9.00 tb(r)
    Stream #0.1: Audio: flac, 44100 Hz, stereo

Last edited by skottish (2008-07-17 01:56:14)

Offline

#10 2008-07-17 03:12:49

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 9,939
Website

Re: [solved] mplayer and x264

Well, lets say you want to make a package for pytube (http://aur.archlinux.org/packages.php?ID=13213) which needs the functionality of ffmpeg2theora.  You can put "depends=('ffmpeg [built with enable --libtheora]')" in the package smile

Offline

#11 2008-07-17 04:54:52

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,880

Re: [solved] mplayer and x264

skottish wrote:

Unless I'm missing something here, why are people still using ffmpeg2theora? Just rebuild it with the "--enable-libtheora" switch.

Allan wrote:

Well, lets say you want to make a package for pytube (http://aur.archlinux.org/packages.php?ID=13213) which needs the functionality of ffmpeg2theora.  You can put "depends=('ffmpeg [built with enable --libtheora]')" in the package smile

skottish wrote:

Doh!

I though it was this: http://v2v.cc/~j/ffmpeg2theora/

Last edited by skottish (2008-07-17 05:01:49)

Offline

#12 2008-07-17 06:20:45

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 9,939
Website

Re: [solved] mplayer and x264

Hmmm, it is that actually....  (http://aur.archlinux.org/packages.php?ID=803).  The pytube package does not run without it - it finds ffmpeg and says it still needs ffmpeg2theora.  So I assumed it gave so extra functionality.  Does it not?

Offline

#13 2008-07-17 17:47:32

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,880

Re: [solved] mplayer and x264

Allan wrote:

Hmmm, it is that actually....  (http://aur.archlinux.org/packages.php?ID=803).  The pytube package does not run without it - it finds ffmpeg and says it still needs ffmpeg2theora.  So I assumed it gave so extra functionality.  Does it not?

For the common user, I'm not sure if that's the case anymore. When ffmpeg2theora was released originally, there was no internal support for Theora in FFmpeg. Since then they have been actively replacing everything Xiph including Theora and Vorbis. The fact is though, most people who encode videos will never use the more professional features anyway; those are mostly for advanced streaming. Of course, there are plenty of people here that will clearly leverage these tools to the edge of their capabilities.

--EDIT--

I may be wrong about the full readiness. I just picked this from the FFmpeg dev mailing list. This should give everyone an idea about how they feel about Xiph:

>> > Hmm, I still get artifacts when seeking in Theora video, for example
>> > with the samples from mphq...
>>
>> I can confirm this, it doesnt work here either
>
> So who knows how to fix this? smile

I do.  Can you please look up the home addresses of the Xiph devs,
while I fetch the shotgun?

Last edited by skottish (2008-07-17 18:06:58)

Offline

Board footer

Powered by FluxBB