Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Real Media Live Stream
« previous next »
  • Print
Pages: [1]

Author Topic: Real Media Live Stream  (Read 1110 times)

Offline plonk

  • Member
  • *
  • Posts: 3
Real Media Live Stream
« on: October 08, 2009, 06:54:58 AM »
Hello,

I have already established that this is not purely a rockbox issue, but thought someone may have an idea.

If I dump a realaudio file from the BBC iplayer, for an already broadcast program, it plays fine in Rockbox. (the audio codec is ffcook)

If I dump a live stream (the idea being to play it back later), it doesn't play in Rockbox. I think this is because the meta-data of the file shows the audio length as zero. Interestingly VLC also seems to have this problem, but mplayer (used to dump the stream originally), plays the file fine.

Any ideas? I did a quick google but couldn't see anything obvious.

An example short stream can be found at
http://files.getdropbox.com/u/1397036/test.ra

Update:
By poking around in the source code, I found that the duration is read from the "PROP" header area of the file by rm.c in the source. I found the correct bit in the the working audio file and fiddled with the hex and it does change the duration.

I'm going to see if I can write a little routine to update the duration. I'll update this in case anyone is interested.

Update 2:
My endless googling has brought to my attention that the BBC (the reason for this) are shortly to drop Real streams. I have now turned my attention to aac files which the flvstreamer generates. Out of interest I did manage to update the duration, but it didn't fix the issue.
« Last Edit: October 12, 2009, 08:33:53 AM by plonk »
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Real Media Live Stream
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.045 seconds with 15 queries.