WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Cannot Play MP3 in Helix  (Read 7460 times)

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Cannot Play MP3 in Helix
« on: November 01, 2010, 03:28:38 AM »
In TC3.1, Helix is installed to OnBoot. 

Running Helix_Update
Code: [Select]
This script updates Helix.tcz to include the MP3 plugin
Do you want to continue? [y/n] y

Connecting to forms.real.com (207.188.5.188:80)
Connecting to www.real.com (207.188.5.44:80)
Connecting to client-software.real.com (88.221.88.73:80)
RealPlayer11GOLD.rpm 100% |*******************************|  5768k 00:00:00 ETA

rpm2cpio: no gzip/bzip2/xz magic
cp: can't stat 'opt/real/RealPlayer/plugins/mp3*': No such file or directory

Done!
Go into your tce folder and delete the old Helix.tcz
Then rename Helix.tcz.new as Helix.tcz

You can also delete RealPlayer11GOLD.rpm from your home directory

Reboot and run the updated Helix

Remember to select your ALSA/OSS audio driver in Tools>Preferences>Hardware

Press Enter to finish


Files Obtained
ls Real*
Code: [Select]
RealPlayer11GOLD.rpm

ls -1l /mnt/hda9/tce/optional/Helix*
Code: [Select]
-rw-rw-r--    1   2220032 Oct 31 13:22 /mnt/hda9/tce/optional/Helix.tcz
-rw-r--r--    1        69 Nov  1 05:32 /mnt/hda9/tce/optional/Helix.tcz.dep
-rw-rw-r--    1        44 Oct 31 13:17 /mnt/hda9/tce/optional/Helix.tcz.md5.txt
-rw-r--r--    1   2220032 Nov  1 05:43 /mnt/hda9/tce/optional/Helix.tcz.new


Helix.tcz is then deleted and Helix.tcz.new renamed as Helix.tcz, and the machine is rebooted.


On attempting to play an MP3
Code: [Select]
The player does not have the capabilities to play back this content.
The content is supported by realplayer
The following components are required: mp3

ls -1 /usr/local/lib/Helix/plugins
Code: [Select]
audplin.so
aufformat.so
authmgr.so
clbascauth.so
dtdrplin.so
httpfsys.so
hxrecordengine.so
hxsdp.so
hxxml.so
memfsys.so
oggfformat.so
pcmrend.so
ramfformat.so
ramrender.so
sdpplin.so
smplfsys.so
vidsite.so
vorbisrend.so


Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Re: Cannot Play MP3 in Helix
« Reply #1 on: November 05, 2010, 02:54:33 AM »
Any suggestions how this problem might be diagnosed/resolved?

My reading is that the update script runs, the update is obtained but is not adding the mp3 capability after restarting with the new Helix.tcz.

Is this the cause?
Abstract from the report produced by the update script detailed in the opening post
Code: [Select]
rpm2cpio: no gzip/bzip2/xz magic
cp: can't stat 'opt/real/RealPlayer/plugins/mp3*': No such file or directory
   

Offline gutmensch

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 605
  • I can make it disappear, have no fear!
    • remembrance blog
Re: Cannot Play MP3 in Helix
« Reply #2 on: November 05, 2010, 04:39:28 AM »
Try to decompress the rpm yourself...
Code: [Select]
rpm2cpio RealPlayer11GOLD.rpm | cpio -idv
It seems that either the .rpm file is not valid or the rpm2cpio / cpio mechanism fails for some reason...
If I seem unduly clear to you, you must have misunderstood what I said. (Alan Greenspan)

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Re: Cannot Play MP3 in Helix
« Reply #3 on: November 05, 2010, 09:57:15 AM »
Try to decompress the rpm yourself...
Code: [Select]
rpm2cpio RealPlayer11GOLD.rpm | cpio -idv
It seems that either the .rpm file is not valid or the rpm2cpio / cpio mechanism fails for some reason...
The suggested command failed
rpm2cpio RealPlayer11GOLD.rpm | cpio -idv
Code: [Select]
rpm2cpio: no gzip/bzip2/xz magic

Tried multiple times on multiple different downloads with an unchanged result.

Installed cpio.tcz and repeated the manual decompress, again multiple times, all failed with the same message as shown above.
   

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Cannot Play MP3 in Helix
« Reply #4 on: November 05, 2010, 01:11:25 PM »
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Re: Cannot Play MP3 in Helix
« Reply #5 on: November 07, 2010, 06:42:11 AM »
I have managed to eliminate a corrupt download as the cause of this problem.

Using Lubuntu, a copy of RealPlayer11GOLD.rpm was downloaded and successfully decompressed with the command rpm2cpio RealPlayer11GOLD.rpm | cpio -idv

The rpm file was copied to the home directory in TC3.1 and the command run again.  This time it failed:
Code: [Select]
rpm2cpio: no gzip/bzip2/xz magic
Trying the command a sudo also failed.

The same result was obtained after loading and using the cpio.tcz extension.
   
   

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: Cannot Play MP3 in Helix
« Reply #6 on: November 07, 2010, 07:15:04 PM »
As far as I can tell the issue here is with the BusyBox 'rpm2cpio', so using the GNU 'cpio' (i.e. the 'cpio.tcz' extenision) would not make any difference.

I had a bit a look into the BusyBox source code and 'RealPlayer11GOLD.rpm'. I've now come to the conclusion that the cpio-archive in that file has been compressed with the LZMA method, which BusyBox 'rpm2cpio' does not "like". It could support gzip, bzip2 or xz, but not lzma (maybe someone wants to raise an enhancement request against 'BusyBox' for that).

I realised that there are other versions of 'rpm2cpio' available via two extenions (i.e. 'file-roller.tcz' and 'xarchiver.tcz'), but looking at the long list of dependencies for each of them I decided to not bother with them. Instead I downloaded 'p7zip.tcz' and was able to use 7z x -so RealPlayer11GOLD.rpm | cpio -idm

I would image that the 'updatehelix' script could be changed to reflect those findings. In which case a cleanup step should also be changed to rm -rf opt usr rules.log to take care of all extracted files from the cpio-archive.

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Re: Cannot Play MP3 in Helix
« Reply #7 on: November 12, 2010, 11:07:17 AM »
I would image that the 'updatehelix' script could be changed to reflect those findings. In which case a cleanup step should also be changed to rm -rf opt usr rules.log to take care of all extracted files from the cpio-archive.
Installing p7zip.tcz and amending the script does work - thanks for the suggestion.

As the updatehelix menu option does not work as described in the info file It might it be a good opportunity to make the workaround a permanent fix by changing the script and dep list?
   

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Cannot Play MP3 in Helix
« Reply #8 on: November 12, 2010, 11:23:17 AM »
Perhaps a .deb instead of a .rpm could be used in specific case?
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)