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
| | |-+  Bug when seeking m4a files [Sansa Clip Plus] V3.13
« previous next »
  • Print
Pages: [1]

Author Topic: Bug when seeking m4a files [Sansa Clip Plus] V3.13  (Read 1730 times)

Offline WAWA01

  • Member
  • *
  • Posts: 13
Bug when seeking m4a files [Sansa Clip Plus] V3.13
« on: September 30, 2014, 05:02:15 AM »
I have Sansa Clip Plus using Rockbox version 3.13 (b662e3a).

When I try to seek m4a files (move forward or backward) the playback goes back to the beginning of the file.
Is there a way to fix this? maybe the dev version doesn't have this issue?

Here's an example file: https://mega.co.nz/#!NckmQQzI!t5Q0FQS5LQSYN5gwZZtPamradO7pquMndiJMvNimphs

Thanks.
« Last Edit: September 30, 2014, 05:08:18 AM by WAWA01 »
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Bug when seeking m4a files [Sansa Clip Plus] V3.13
« Reply #1 on: September 30, 2014, 12:53:20 PM »
Looking at that file, the seek frames are computed correctly, but the seek table in the header always decodes locations to the start of the file.  I don't know much about MP4, but maybe the file isn't meant to be seekable (was it a streamed file?).  Most likely repacking the file with a tool like mp4box, ffmpeg or some other mp4 tool will rewrite the seektable and fix the problem. 
Logged

Offline WAWA01

  • Member
  • *
  • Posts: 13
Re: Bug when seeking m4a files [Sansa Clip Plus] V3.13
« Reply #2 on: September 30, 2014, 01:32:25 PM »
It was streamed yes.

By repacking the file do you basically mean to resave the file with these programs?
Looks like those two you mentioned doesn't have GUI, is there a more noobish program that you know of?
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Bug when seeking m4a files [Sansa Clip Plus] V3.13
« Reply #3 on: September 30, 2014, 01:55:49 PM »
Quote from: WAWA01 on September 30, 2014, 01:32:25 PM
By repacking the file do you basically mean to resave the file with these programs?
Looks like those two you mentioned doesn't have GUI, is there a more noobish program that you know of?

I think there about a thousand GUIs for both of those programs.  I haven't used any of them however. 
Logged

Offline WAWA01

  • Member
  • *
  • Posts: 13
Re: Bug when seeking m4a files [Sansa Clip Plus] V3.13
« Reply #4 on: September 30, 2014, 02:27:16 PM »
Okay I'll look for it.

Quote
Looking at that file, the seek frames are computed correctly, but the seek table in the header always decodes locations to the start of the file.

BTW, what did you use to check that? (or how did you do it?)
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Bug when seeking m4a files [Sansa Clip Plus] V3.13
« Reply #5 on: September 30, 2014, 02:35:46 PM »
Quote from: WAWA01 on September 30, 2014, 02:27:16 PM
Okay I'll look for it.

Quote
Looking at that file, the seek frames are computed correctly, but the seek table in the header always decodes locations to the start of the file.

BTW, what did you use to check that? (or how did you do it?)

I added comments to this file:

http://git.rockbox.org/?p=rockbox.git;a=blob;f=lib/rbcodec/codecs/libm4a/m4a.c;h=5fe778ac033c689f7496e72f806194e1484a5aff;hb=HEAD#l152

Then did a few seeks using the simulator and looked to see what positions and file offsets were calculated. 
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Bug when seeking m4a files [Sansa Clip Plus] V3.13
 

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

Page created in 0.066 seconds with 15 queries.