View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 50 posts ] 
Go to page 1, 2, 3, 4  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat Jul 18, 2009 8:47 am 
Offline
Joined: Wed Nov 09, 2005 1:21 pm
Posts: 161
Location: Manchester UK
I upgraded today from the old linhes beta using

sudo pacman -Syuf

it all seemed to go fine BUT.... now the playback of videos no longer works or myth gallery (vodka still dosnt work but get_iplayer works from the command prompt).

I did a little investigating and found that if I changed video playback to use "Internal" some of the video files started to work.

So I tried to play them from the comand prompt using mplayer but get this error

Code:
> mplayer
mplayer: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory




It looks like libjpeg is pooched any ideas on how to fix it ??

_________________
Running:-
Intel 930 3GHz dual Core
Thermaltake Fanless CPU Cooler
Asus P5GS
Samsung 750G Sata HDD
8400 512m Video Card
2 * jetway DVB-t
1 * Haupage DVB-S2 Card
Samsung Sata 16x DVDRW
2048M Ram
1 * Netop Ion 330


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 18, 2009 9:22 am 
Offline
Joined: Mon Oct 09, 2006 11:27 am
Posts: 75
Location: Raleigh, NC
**edit ** Don't do this, it makes mythfrontend seg fault *****

I'm not sure if it's a proper fix, but I encountered the same issue and worked around it by creating a link to the existing libjpeg.so:

Code:
cd /usr/lib
sudo ln -s libjpeg.so.7.0.0 libjpeg.so.62


Last edited by craigtv on Sun Jul 19, 2009 1:07 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject: almost Cured
PostPosted: Sat Jul 18, 2009 10:33 am 
Offline
Joined: Wed Nov 09, 2005 1:21 pm
Posts: 161
Location: Manchester UK
************DO NOT DO THIS*********
****It Breaks The Front End************
Code:
cd /usr/lib
sudo ln -s libjpeg.so.7.0.0 libjpeg.so.62


got rid if the error message

can someone post what the settings for video playback should be

I have internal for all at the moment

I think I had mplayer -fs %s with a couple of other options before I can try at the command prompt to get it correct but it would be easyer if some one could post the settings for video and DVD playback.

ps the myth galley still dosnt show my pics just a grey background ? :(

_________________
Running:-
Intel 930 3GHz dual Core
Thermaltake Fanless CPU Cooler
Asus P5GS
Samsung 750G Sata HDD
8400 512m Video Card
2 * jetway DVB-t
1 * Haupage DVB-S2 Card
Samsung Sata 16x DVDRW
2048M Ram
1 * Netop Ion 330


Last edited by simonf on Sun Jul 19, 2009 5:29 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 18, 2009 11:22 am 
Offline
Joined: Thu Sep 07, 2006 11:20 am
Posts: 389
Sorry everyone, this is my fault. I'm working on fixing it. I didn't realize that mplayer depended on libjpeg, so thanks for that. I'll fix it up too.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 19, 2009 1:01 pm 
Offline
Joined: Mon Oct 09, 2006 11:27 am
Posts: 75
Location: Raleigh, NC
@nharris

I encountered in issue with mythfrontend not starting that may be related. I posted it here:

http://mysettopbox.tv/phpBB2/viewtopic.php?p=122794#122794

Let me know if I should open a flyspray ticket


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 19, 2009 1:06 pm 
Offline
Joined: Mon Oct 09, 2006 11:27 am
Posts: 75
Location: Raleigh, NC
Sorry for all the posts, but I just figured out my "workaround" breaks mythfrontend. I'll edit the post accordingly.

Craig


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 19, 2009 2:44 pm 
Offline
Joined: Thu Sep 07, 2006 11:20 am
Posts: 389
All, please try a "pacman -Syu" again. This should fix the problem.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 19, 2009 3:17 pm 
Offline
Joined: Mon Oct 09, 2006 11:27 am
Posts: 75
Location: Raleigh, NC
tried pacman -Syu, but no updates ... says my local database is up to date.


Top
 Profile  
 
PostPosted: Sun Jul 19, 2009 5:27 pm 
Offline
Joined: Wed Nov 09, 2005 1:21 pm
Posts: 161
Location: Manchester UK
Ok

I did craigtv's Fix which got mplayer working again !!

just done



Code:
> pacman -Syu
:: Synchronizing package databases...
downloading core-testing.db.tar.gz...
downloading extra-testing.db.tar.gz...
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
Proceed with installation? [Y/n]
Targets (17): system-templates-1.0-29  LinHES-config-2.0-59  libmng-1.0.10-3 
              fbsplash-1.5.4.3-15  imlib2-1.4.1-2  jasper-1.900.1-2 
              lcms-1.17-3  libcups-1.3.9-4  libwmf-0.2.8.4-5  lirc-0.8.5CVS-14 
              mjpegtools-1.9.0-4  mplayer-29426-1  myth2ipod-0.2-17 
              mythtv-0.21-74  pil-1.1.6-6  runit-scripts-1.8.0-93 
              tweaker-1-43 

Total Download Size:    36.19 MB
Total Installed Size:   86.13 MB


and rebooted and the myth frontend didnt start so i ran mythtv from an x window and found the sementation fault !!!!

I have now removed libjpeg.so.62 and the front end now comes up

but I have my origonal problem again

Code:
> mplayer
mplayer: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory
 

I am using the "Internal" Player for now but it would be nice to have mplayer working so i can watch .mov files dowloaded with get_iplayer.

I did contemplate creating a shell scriprt that symlinked libjpeg, ran mplayer then removed the symlink but thats even too patchy for me..




PS myth gallery still isnt showing any pictures !!

_________________
Running:-
Intel 930 3GHz dual Core
Thermaltake Fanless CPU Cooler
Asus P5GS
Samsung 750G Sata HDD
8400 512m Video Card
2 * jetway DVB-t
1 * Haupage DVB-S2 Card
Samsung Sata 16x DVDRW
2048M Ram
1 * Netop Ion 330


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 19, 2009 10:04 pm 
Offline
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location: Los Angeles
I have the libjpeg.so.62 problem as well. FE works mplayer does not. This after I -Syu'ed.

_________________
Mike
My Hardware Profile


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 20, 2009 4:51 pm 
Offline
Joined: Mon Oct 09, 2006 11:27 am
Posts: 75
Location: Raleigh, NC
I did another pacman update and saw an mplayer update come through. However, I still have the same libjpeg.so.62 issue.

Do we need to uninstall and reinstall some items to get it to get the dependencies?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 20, 2009 6:11 pm 
Offline
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location: Los Angeles
craigtv:

If you look in /var/log/pacman.log you can see exactly what pacman upgraded and use that as a guide to rollback the bad changes. Just note the previous versions of the upgraded packages (it'll tell you in the log) and then:

Code:
# cd /data/var/cache/pacman/pkg
# pacman -U <old_packages.tar.gz>


This will only work if you have not cleaned your pacman cache. Personally, I'm stuck becasue I did clean mine a few months back and I'm missing some of the old packages. :cry:

If you're in my boat, the "S.S. WAF Falling due to no mplayer", you just need to wait for nharris, cesman, jams or another dev to fix the problem.

_________________
Mike
My Hardware Profile


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 20, 2009 6:16 pm 
Offline
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location: Los Angeles
It seems my ffmpeg is borked too:

Quote:
ffmpeg -i 00700.m2ts
ffmpeg: error while loading shared libraries: libfaad.so.1: cannot open shared object file: No such file or directory

_________________
Mike
My Hardware Profile


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 20, 2009 6:27 pm 
Offline
Joined: Tue Oct 17, 2006 10:03 pm
Posts: 49
Basically what's going on is they're releasing updates to audio/video libraries before updates to applications which depends on those libraries are available. It's easy to fix, although annoying and would have been easy to prevent from happening.

Reposting from my Flyspray comment:

Comment by Nick C. (nickca) - Tuesday, 21 July 2009, 00:21 GMT — Edit

An update to libfaad broke it as well. The problem isn't libjpeg, it's that they're releasing updates to libraries that mplayer depends on without updating mplayer to use them, so it's mplayer that needs to be recompiled.

I know this isn't Ubuntu and there's only a few people working on LinHES, but could we maybe hold off on making library updates available until updates to major components of the system that depend on those libraries are also available? Some people run pacman -Su every day or two, and so far it's never broken anything like this.

Anyway, to fix mplayer for now, do this as root:
# ln -s /usr/lib/libjpeg.so.7.0.0 /usr/lib/libjpeg.so.62
# ln -s /usr/lib/libfaad.so.2.0.0 /usr/lib/libfaad.so.1

If mplayer won't start again after that, check the mythfrontend log for what library it's looking for and do the same as above: fake it out by making a symlink with the version of the library it's looking for to the version you have.

EDIT
Sorry, apparently others have already tried the symlink fix, and it borks the frontend. I haven't restarted the frontend since doing it, so I didn't know.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 20, 2009 10:14 pm 
Offline
Joined: Tue Oct 17, 2006 10:03 pm
Posts: 49
OK, a better fix until they get all this sorted out is just to recompile mplayer yourself, which isn't that hard. Just follow step 2 from my old tutorial here. Download this version of the VDPAU kit (direct link to the tarball) (even if you don't use VDPAU, the kit includes a script that automatically does the SVN checkout, configuration and compilation). Once you compile it, back up your original mplayer and mencoder:

Code:
# mv /usr/bin/mplayer /usr/bin/mplayer.orig_dist
# mv /usr/bin/mencoder /usr/bin/mencoder.orig_dist

Then copy the new mplayer and mencoder binaries in their place (assuming you build mplayer in /usr/src):
Code:
# mv /usr/src/mplayer-vdpau-3532130/mplayer-vdpau/mplayer /usr/bin/
# mv /usr/src/mplayer-vdpau-3532130/mplayer-vdpau/mencoder /usr/bin/


Oh, and if you made fake symlinks to libjpeg before, be sure to delete them so they don't cause problems with the frontend.

Whenever the LinHES guys get a new mplayer out (check by doing pacman -Sy, then pacman -Su, rather than pacman -Syu, actually that's a good idea in general), reverse the process before you update:
Code:
# rm /usr/bin/mplayer
# rm /usr/bin/mencoder
# mv /usr/bin/mplayer.orig_dist /usr/bin/mplayer
# mv /usr/bin/mencoder.orig_dist /usr/bin/mencoder


Oh, and to the LinHES team: please don't forget to update mplayer-vdpau-nogui along with the regular mplayer package.

If anyone needs it, I could post a tarball with prebuilt versions of mplayer and mencoder if it ends up taking a while for the team to get the update out.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 50 posts ] 
Go to page 1, 2, 3, 4  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu