aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Preview won't work anymore  (Read 2798 times)

Supersnail

  • Full Member
  • ***
  • Karma: 4
  • Offline Offline
  • Posts: 186
Preview won't work anymore
« on: July 20, 2004, 06:31:42 PM »

Hi,

After I upgraded from 2.0.0rc3 to 2.0.0rc4 (and rc4a and rc5) preview stopped working. In rc3 it still worked. The command hasn't changed and when I copy-paste the command in a Konsole and add the part-filename to it it works. But not when I right-click on a filename and choose preview.
When I do that I see the MPlayer windows very short (half a second or so) and then it dissappears. In the Konsole from where I start aMule I see this:
Quote
: Onbekend bestand of map
Can't open '/home/frank/.mplayer/codecs.conf': Onbekend bestand of map
Can't open '/usr/local/etc/mplayer/codecs.conf': Onbekend bestand of map
Failed to open /dev/rtc: Onbekend apparaat (it should be readable by the user.)
Can't open input config file /home/frank/.mplayer/input.conf: Onbekend bestand of map
Can't open input config file /usr/local/etc/mplayer/input.conf: Onbekend bestand of map
Falling back on default (hardcoded) input config
The selected video_out device is incompatible with this codec.

"Onbekend bestand of map" means "Unknown file or directory" and "Onbekend apparaat" means "Unknown device".

The only message that could tell what went wrong is "The selected video_out device is incompatible with this codec.". Though that doesn't explain why it does work when I copy-paste the command.

Anyone got any idea why it doesn't work anymore?
Thanks in advance.
« Last Edit: July 20, 2004, 06:38:59 PM by Supersnail »
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: Preview won't work anymore
« Reply #1 on: July 20, 2004, 07:09:27 PM »

Supersnail,

Seems to me that this problem is not amule-related. Haven't you recently made an update to your system? Maybe some libs have changed and mplayer is complaining. Try to run mplayer by hand:

mplayer ~/path/to/video.mpg

And see if the results are different.

Cheers!
Logged

Supersnail

  • Full Member
  • ***
  • Karma: 4
  • Offline Offline
  • Posts: 186
Re: Preview won't work anymore
« Reply #2 on: July 20, 2004, 07:26:57 PM »

Already tried that and that works.

That's what I meant with
Quote
when I copy-paste the command in a Konsole and add the part-filename to it it works.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Preview won't work anymore
« Reply #3 on: July 20, 2004, 07:36:36 PM »

Same bug here
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: Preview won't work anymore
« Reply #4 on: July 20, 2004, 08:11:42 PM »

not a bug. it's on aMule common problems for ages already :-D
call xterm instead of directly mplayer
mplayer needs a console output to display text. if it fins no console, it just won't start.
I use the following:
xterm -T "aMule's Preview" -iconic -e mplayer -idx
it will work, try it.
And next time take a look at http://www.amule.org/wiki/index.php/AMule_problems
;-)
Greetings!
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Preview won't work anymore
« Reply #5 on: July 20, 2004, 08:55:56 PM »

it was working before
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: Preview won't work anymore
« Reply #6 on: July 20, 2004, 09:03:07 PM »

kry... read the wiki please xP
it did before because mplayer replaced the aMule process and so, used aMule's console. Since rc4 it doesn't replace the process, it runs as a separete process (aMule is no longer frozen while mplayer is running).
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Preview won't work anymore
« Reply #7 on: July 20, 2004, 09:19:59 PM »

fix it!
Logged