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:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Wrong bitrate+mpeg-layer of ripped MP3's
« previous next »
  • Print
Pages: [1]

Author Topic: Wrong bitrate+mpeg-layer of ripped MP3's  (Read 1811 times)

Offline DO1FJN

  • Member
  • *
  • Posts: 3
Wrong bitrate+mpeg-layer of ripped MP3's
« on: February 07, 2007, 02:03:58 AM »
This is no rockbox bug.
My idea is a 'smarter' exception handling for defect MP3's.

My problem:
I have a lot of MP3s recorded with an older streamripper (linux console version, V1.61.11). These files are often split incorrect and don't have a valid first frame.

The behavior of rockbox is:
- displaying random bitrates and mpeg-layers like 'MP1 446pbs'
- in result rockbox calculates a wrong playing time
- the file is played correct by the decoder thread but sometimes I hear a short noise at the beginning (wrong decoding the truncated first frame)

How make it better?
I think the decoding-thread can feetback a 'change' of the layer + bitrate to the control-thread.
Or:
More pre-decoding to determine that the first frame was truncated and take the infos from the first valid frame.

Deluxe decoding (idea):
The decoding-thead can keep a file-rest (incomplete frame) and fix the next title, if this title has the opposite frame-part. With this idea I could listen the ripped stream gapless and with no noises between the tracks.

With newer streamripper versions I have now an identical end / begin frame: I hear a short repeat. But is ok - I can live with this. Handling of these exception makes the decoder to complex, I think: Every last frame of a file must be compared with the first frame of the next track (and skipped if equal)...

I will upload some sample files, if needed, and email the link to developer who asked me.

rockbox = great work.

Best regards,
Jan, DO1FJN
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Wrong bitrate+mpeg-layer of ripped MP3's
« Reply #1 on: February 07, 2007, 08:55:58 AM »
Why not use a ripper that doesn't create broken, or repeating, files? It sounds like you want Rockbox to solve the problem of other software creating bad files.

There are many formats that support true gapless, or you can use Lame MP3 which supports at least gapless playback even though the files technically have a hidden gap (that never gets played unless your MP3 player doesn't support the gapless tags, but Rockbox does).
Logged

Offline DO1FJN

  • Member
  • *
  • Posts: 3
Re: Wrong bitrate+mpeg-layer of ripped MP3's
« Reply #2 on: February 07, 2007, 12:54:16 PM »

>Why not use a ripper that doesn't create broken, or repeating, files?
I use an actual ripper, but I HAVE thousends of MP3-files on CDs ripped years ago.

I suggest my idea, special exception handling, have no disadvantages. Only more stability, no wrong track times, bitrates and mpeg-layers.

Kind regards
Jan
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Wrong bitrate+mpeg-layer of ripped MP3's
« Reply #3 on: February 07, 2007, 01:26:04 PM »
It seems to me that Rockbox should report that a file is invalid, rather than trying to work around the invalidity of it, if it's not a valid file.
Logged

Offline senab

  • Artist
  • Member
  • *
  • Posts: 188
  • The Mighty Senab!!!
    • senab.co.uk
Re: Wrong bitrate+mpeg-layer of ripped MP3's
« Reply #4 on: February 08, 2007, 03:40:57 AM »
Try using Foobar2000's rebuild MP3 stream feature.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Wrong bitrate+mpeg-layer of ripped MP3's
 

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

Page created in 0.073 seconds with 15 queries.