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
| | |-+  Using MP4Box to fix iTunes-downloaded mp4 files
« previous next »
  • Print
Pages: 1 [2]

Author Topic: Using MP4Box to fix iTunes-downloaded mp4 files  (Read 15588 times)

Offline soap

  • Member
  • *
  • Posts: 1678
  • Creature of habit.
Re: Using MP4Box to fix iTunes-downloaded mp4 files
« Reply #15 on: August 29, 2010, 07:29:56 PM »
Quote from: Bockrox on August 29, 2010, 06:14:35 PM
No offense taken. I used the Rockbox Utility to install r27943. That overwrites the entire directory, right?

Yea, you're right.

Edit (by gevaerts): I'm assuming that you mean "right", not "tight" as your fingers typed
« Last Edit: August 30, 2010, 03:45:24 AM by gevaerts »
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: Using MP4Box to fix iTunes-downloaded mp4 files
« Reply #16 on: August 30, 2010, 04:06:19 AM »
Quote from: Bockrox on August 29, 2010, 05:33:27 PM
In fact, r27943 even caused some issues with my theme, but that may be my own fault.


Just checking...but, what issues did you see exactly?

PS: Have you tried using a metadata tag editor (like Mp3Tag) to strip the file(s) of metadata tags and see if you can play the file(s) then?
I've seen funky metadata tags cause all kinds of weird and unpredictable things...so, it's worth a shot.



[St.]
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline Lear

  • Developer
  • Member
  • *
  • Posts: 533
Re: Using MP4Box to fix iTunes-downloaded mp4 files
« Reply #17 on: August 30, 2010, 01:05:00 PM »
Heh, for me the track plays on a FuzeV2 - if I play another (AAC) track first. So maybe there's a buffering-related problem too.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Using MP4Box to fix iTunes-downloaded mp4 files
« Reply #18 on: August 30, 2010, 01:29:09 PM »
Quote from: Lear on August 30, 2010, 01:05:00 PM
Heh, for me the track plays on a FuzeV2 - if I play another (AAC) track first. So maybe there's a buffering-related problem too.

Sounds like something isn't being initialized correctly.
Logged

Offline Lear

  • Developer
  • Member
  • *
  • Posts: 533
Re: Using MP4Box to fix iTunes-downloaded mp4 files
« Reply #19 on: August 30, 2010, 02:33:45 PM »
Quote from: saratoga on August 30, 2010, 01:29:09 PM
Sounds like something isn't being initialized correctly.

Maybe, but what happens here is that during buffering, the codec first skips to the end of the file, then searches back to the beginning.

If another file is played first, the buffering is complete when the codec does the skipping forth and back. The only reason I tried with an AAC file was that I happened to have one in the same directory.

[Edit]

Tested on an e200. The file worked (when played directly) if dircache was on. That suggests a buffering problem, I'd say (and especially the timing between the codec, audio and buffer threads). Also, playing an MP3 file first also helps.
« Last Edit: August 30, 2010, 03:41:14 PM by Lear »
Logged

Offline Buschel

  • Developer
  • Member
  • *
  • Posts: 190
Re: Using MP4Box to fix iTunes-downloaded mp4 files
« Reply #20 on: August 30, 2010, 06:36:30 PM »
Bockrox, please check again with r27950. Lear, kugel and I did some research and hope to have found the root cause.
Logged
iPod 5.5G 30GB, iPod nano 2G 8GB, 97% MPC and growing...
 

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Using MP4Box to fix iTunes-downloaded mp4 files
« Reply #21 on: August 30, 2010, 06:59:58 PM »
Nice find.  That looks like a nasty bug.
Logged

Offline Bockrox

  • Member
  • *
  • Posts: 26
Re: Using MP4Box to fix iTunes-downloaded mp4 files
« Reply #22 on: August 30, 2010, 11:48:07 PM »
Still no luck with r27956, unfortunately.

There are two interesting things I do notice with this build, however.

If I try to play an album that is made up of "unplayable" m4a tracks (like the one I posted earlier), Rockbox skips every other track. It will start at track 1, immediately skip to track 3, quickly skip to track 5, etc.

The other interesting thing is that Rockbox displays the text "(no id3)" on the WPS of "unplayable" songs.

Weird...
Logged

Offline Buschel

  • Developer
  • Member
  • *
  • Posts: 190
Re: Using MP4Box to fix iTunes-downloaded mp4 files
« Reply #23 on: August 31, 2010, 01:30:01 PM »
Hmm, is the file you have linked playing, if you move it to another directory that only contains other playable files? Can you provide links to some other files that do not play?
Logged
iPod 5.5G 30GB, iPod nano 2G 8GB, 97% MPC and growing...
 

Offline Bockrox

  • Member
  • *
  • Posts: 26
Re: Using MP4Box to fix iTunes-downloaded mp4 files
« Reply #24 on: August 31, 2010, 02:09:11 PM »
Putting the song in a directory that contains playable files doesn't have any effect. In fact, it causes Rockbox to skip over one playable file.

For example:
Code: [Select]
01 Playable 1.mp3
02 Playable 2.mp3
03 Unplayable.m4a
04 Playable 4.mp3
05 Playable 5.mp3

If I play "02 Playable 2.mp3" until it finishes, Rockbox then tries to play "03 Unplayable.m4a", fails, and then skips to "05 Playable 5.mp3".

To the earlier question of whether removing the tags makes any difference -- unfortunately, it doesn't seem to. The file I posted in this thread was stripped of all tags to make it less identifiable. This is the same file I have been testing on my iPod.
Logged

Offline Bockrox

  • Member
  • *
  • Posts: 26
Re: Using MP4Box to fix iTunes-downloaded mp4 files
« Reply #25 on: September 02, 2010, 07:24:16 PM »
Random thought.

As I wrote in the first post (and sourced in my second) I have heard that the solution is to use mp4creator --optimize on the files in question. As I said, my distro doesn't seem to ship that package, but if anybody is interested in optimizing the file I posted and sending it back to me, I can try it on my iPod and report back.
Logged

Offline Buschel

  • Developer
  • Member
  • *
  • Posts: 190
Re: Using MP4Box to fix iTunes-downloaded mp4 files
« Reply #26 on: September 05, 2010, 04:22:14 AM »
Bockrox, another thing you might try is to test with enabled vs. disabled DirCache (see manual). Also: Are you sure you have fully updated your .rockbox folder to the current version? I cannot explain why the file works for me on my iPod 5G and not on yours (for the same test case, of course).
Logged
iPod 5.5G 30GB, iPod nano 2G 8GB, 97% MPC and growing...
 

  • Print
Pages: 1 [2]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Using MP4Box to fix iTunes-downloaded mp4 files
 

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

Page created in 0.101 seconds with 14 queries.