Amarok cannot play *.ra files with background sound

Bug #91500 reported by Anurag Mishra
18
Affects Status Importance Assigned to Milestone
amarok (Ubuntu)
Invalid
Undecided
Unassigned
xine-lib (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: amarok

Amarok appears to play *.ra files but doesn't produce any sound. The whole file finishes without producing any sound.

ProblemType: Bug
Architecture: i386
Date: Sun Mar 11 18:19:38 2007
DistroRelease: Ubuntu 7.04
Uname: Linux anmishra-desktop 2.6.20-9-generic #2 SMP Mon Feb 26 03:01:44 UTC 2007 i686 GNU/Linux

Revision history for this message
Dan O'Huiginn (daniel-ohuiginn) wrote :

Have you installed the w32codecs package, which Amarok needs to play realaudio? (see https://help.ubuntu.com/community/RestrictedFormats/WindowsCodecs)

This sounds like a bug either way: if amarok can't play a file, it should be giving you a message that the format is unsupported.

Changed in amarok:
status: Unconfirmed → Needs Info
Revision history for this message
Anurag Mishra (raag) wrote : Re: [Bug 91500] Re: Amarok cannot play *.ra files

I do have the w32 codecs installed.

Anurag

On 3/11/07, Dan O'Huiginn <email address hidden> wrote:
>
> Have you installed the w32codecs package, which Amarok needs to play
> realaudio? (see
> https://help.ubuntu.com/community/RestrictedFormats/WindowsCodecs)
>
> This sounds like a bug either way: if amarok can't play a file, it
> should be giving you a message that the format is unsupported.
>
> ** Changed in: amarok (Ubuntu)
> Status: Unconfirmed => Needs Info
>
> --
> Amarok cannot play *.ra files
> https://launchpad.net/bugs/91500
>

--
***********************************
Anurag Mishra
Graduate Research Assistant,
Biological Systems Engineering,
Virginia Tech, Blacksburg, VA-24061.

Revision history for this message
Dan O'Huiginn (daniel-ohuiginn) wrote : Re: Amarok cannot play *.ra files

OK. Try installing the package 'xine-ui'. Now play a file from the console ('xine somefile.ra'). Does your file play properly? What output do you get on the console?

Also, I notice you say *.ra. What about *.ram files? Do you get the problem with both audio and video?
[there are test files at http://service.real.com/test/]

Dan

Revision history for this message
Anurag Mishra (raag) wrote : Re: [Bug 91500] Re: Amarok cannot play *.ra files

I tried the files on the page you recommended

The real audio 8 and G2 Sample clips with only voice data worked, but
not the clips with background sound. Terminal had a command saying
"Necessary Extra data missing"

I got the same response for *.ra files.

Thanks
Anurag

On 3/11/07, Dan O'Huiginn <email address hidden> wrote:
> OK. Try installing the package 'xine-ui'. Now play a file from the
> console ('xine somefile.ra'). Does your file play properly? What output
> do you get on the console?
>
> Also, I notice you say *.ra. What about *.ram files? Do you get the problem with both audio and video?
> [there are test files at http://service.real.com/test/]
>
> Dan
>
> --
> Amarok cannot play *.ra files
> https://launchpad.net/bugs/91500
>

--
***********************************
Anurag Mishra
Graduate Research Assistant,
Biological Systems Engineering,
Virginia Tech, Blacksburg, VA-24061.

Revision history for this message
Dan O'Huiginn (daniel-ohuiginn) wrote : Re: Amarok cannot play *.ra files

You're right - I can reproduce this. The clips without background noise work in xine and amarok; the ones with background noise don't in either.

Some people have found a workaround to fix it in xine. It works for me - does it for you?
http://lenrek.wordpress.com/2007/02/15/the-crazy-world-of-media-player-in-linux/
http://ubuntuforums.org/showthread.php?p=2185827

Pasting from that last page:

Open up ~/.xine/catalog.cache in a text editor and find this section:

[/usr/lib/xine/plugins/1.1.4/xineplug_decode_real_audio.so]
size=11300
mtime=1171041406
type=131
api=15
id=realadec
version=10104
supported_types=52494336 52559872 52756480
decoder_priority=5

Bump up the 'decoder_priority' value to 10. That should get audio with Real files working.

I don't understand the details of all this, so make the change at your own risk.

That doesn't sort out the original problem in amarok, though. I'm going to poke around and see what I can find...

Changed in amarok:
assignee: nobody → daniel-ohuiginn
status: Needs Info → Confirmed
Revision history for this message
Dan O'Huiginn (daniel-ohuiginn) wrote :

OK. Here is a workaround for amarok. Again, beware: I'm not sure what the implications of making this change are; it may well do Bad Things to your system in some way. But since you're running feisty anyway, I guess you're OK with that.

Here's the fix:
- close amarok
- open up ~/.kde/share/apps/amarok/xine-config
- find the section:

# priority for real decoder
# numeric, default: 0
#engine.decoder_priorities.real:0

change the last line to:
#engine.decoder_priorities.real:10

now try listening to a clip with background sound, and it should work.

I'm not sure what the long-term solution to this is: presumably the priority setting is what it is for a reason...

Revision history for this message
Anurag Mishra (raag) wrote : Re: [Bug 91500] Re: Amarok cannot play *.ra files

It didn't make any difference. The first time Amarok crashed, and
after I restarted it, it didn't produce any sound with those file. I
haven't had chance to try the Xine fix yet.

Anurag

On 3/11/07, Dan O'Huiginn <email address hidden> wrote:
> OK. Here is a workaround for amarok. Again, beware: I'm not sure what
> the implications of making this change are; it may well do Bad Things to
> your system in some way. But since you're running feisty anyway, I guess
> you're OK with that.
>
> Here's the fix:
> - close amarok
> - open up ~/.kde/share/apps/amarok/xine-config
> - find the section:
>
> # priority for real decoder
> # numeric, default: 0
> #engine.decoder_priorities.real:0
>
> change the last line to:
> #engine.decoder_priorities.real:10
>
> now try listening to a clip with background sound, and it should work.
>
> I'm not sure what the long-term solution to this is: presumably the
> priority setting is what it is for a reason...
>
> ** Summary changed:
>
> - Amarok cannot play *.ra files
> + Amarok cannot play *.ra files with background sound
>
> --
> Amarok cannot play *.ra files with background sound
> https://launchpad.net/bugs/91500
>

--
***********************************
Anurag Mishra
Graduate Research Assistant,
Biological Systems Engineering,
Virginia Tech, Blacksburg, VA-24061.

Revision history for this message
Anurag Mishra (raag) wrote :

Actually after amarok crashed, it made another file name xine.config~
with default values for the decoder.

Anurag

On 3/11/07, Dan O'Huiginn <email address hidden> wrote:
> OK. Here is a workaround for amarok. Again, beware: I'm not sure what
> the implications of making this change are; it may well do Bad Things to
> your system in some way. But since you're running feisty anyway, I guess
> you're OK with that.
>
> Here's the fix:
> - close amarok
> - open up ~/.kde/share/apps/amarok/xine-config
> - find the section:
>
> # priority for real decoder
> # numeric, default: 0
> #engine.decoder_priorities.real:0
>
> change the last line to:
> #engine.decoder_priorities.real:10
>
> now try listening to a clip with background sound, and it should work.
>
> I'm not sure what the long-term solution to this is: presumably the
> priority setting is what it is for a reason...
>
> ** Summary changed:
>
> - Amarok cannot play *.ra files
> + Amarok cannot play *.ra files with background sound
>
> --
> Amarok cannot play *.ra files with background sound
> https://launchpad.net/bugs/91500
>

--
***********************************
Anurag Mishra
Graduate Research Assistant,
Biological Systems Engineering,
Virginia Tech, Blacksburg, VA-24061.

Revision history for this message
randy.liden (randy-liden) wrote :

I tested your tweaks to both config files Dan and it's working good for me. So far Amarok hasn't crashed. If I start to experience excessive crashiness when listening to real media I will report back.

Changed in amarok:
assignee: daniel-ohuiginn → nobody
Changed in xine-lib:
status: Unconfirmed → Confirmed
Revision history for this message
Brad (brad-m-sims) wrote :

The tweaks didn't work for me... All I know is it worked perfectly fine in Edgy.

Revision history for this message
febrile (febrile) wrote :

The fix that worked for me was:

# priority for realadec decoder
# numeric, default: 0
engine.decoder_priorities.realadec:10

(rather than the real decoder priority)
I'm using gxine (Xubuntu), so config file locations slightly different: ~/.gxine/config

Revision history for this message
Harald Sitter (apachelogger) wrote :

Not an Amarok issue - marking bug as invalid for Amarok.

Changed in amarok:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.