Skip to main content

Topic: This AAC file has no "seekbar" (Read 6930 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • Jarzka
  • [*]
This AAC file has no "seekbar"
Hi

I downloaded a music video from YouTube and extracted the audio out with MP4Box. Here is the result:
https://www.sugarsync.com/pf/D317495_2839236_755670

foobar2000 plays it well but there is no seekbar slider. However if I play the file with Windows Media Player the seekbar slider works normally so I guess the problem is not in the file itself?
  • Last Edit: 29 December, 2011, 02:31:38 AM by Jarzka

  • The Link
  • [*][*][*][*][*]
This AAC file has no "seekbar"
Reply #1
Raw aac streams don't support sample exact seeking (without parsing the whole file first), so foobar disables seeking. Programs that let you seek in the file are not sample exact. To enable seeking in foobar, put the raw aac file in a mp4 container. You can do this with mp4box as far as I know.

  • ggmanci
  • [*]
This AAC file has no "seekbar"
Reply #2
Raw aac streams don't support sample exact seeking (without parsing the whole file first), so foobar disables seeking. Programs that let you seek in the file are not sample exact. To enable seeking in foobar, put the raw aac file in a mp4 container. You can do this with mp4box as far as I know.


It seems like a Microsoft style answer: "It's not a bug, it's a feature"...

I don't know the reason why you can seek in aac files with Media Player Classic, with old "Winamp", with VLC and even with the stupid Windows Media Player and you can't in foobar, unless you put the audio file in an mp4 container.  If I want an mp4 container it's ok, but if I want only seek into a dumb aac file, why it's not possible?

Forgive my poor english.

Regards

ggmanci

  • db1989
  • [*][*][*][*][*]
  • Global Moderator
This AAC file has no "seekbar"
Reply #3
foobar2000 mandates sample-exact seeking for the sake of accurate timing and processing. This is not possible in raw AAC files—at least not without consuming a lot of time in order to construct a seek-table like that present in an MP4 container. Thus, foobar2000 disables all seeking within raw AAC.

The other players you mention are presumably not sample-exact, and therefore are not really relevant.

Almost all of this was already stated above by The Link.

  • eahm
  • [*][*][*][*][*]
This AAC file has no "seekbar"
Reply #4
MPC-HC does it, it uses FFmpeg like foobar2000. Again, can this be implemented in foobar2000?
  • Last Edit: 07 April, 2014, 07:01:35 PM by eahm

  • nu774
  • [*][*][*][*][*]
  • Developer
This AAC file has no "seekbar"
Reply #5
MPC-HC does it, it uses FFmpeg like foobar2000. Again, can this be implemented in foobar2000?

Haven't you read the previous replies?
MPC-HC doesn't support sample accurate seek on ADTS. In fact, you will notice that even duration shown by MPC-HC for ADTS is not correct.
ADTS header doesn't contain timestamp, serial numbers or something that is required to tell frame's position, which means that you cannot even do seek bisection on ADTS (like in the case of MPEG-TS or Ogg).

  • eahm
  • [*][*][*][*][*]
This AAC file has no "seekbar"
Reply #6
Oops my bad, the name Media Player Classic always confuses me, I always think they talk about the older/different version.

Thanks nu774.
  • Last Edit: 07 April, 2014, 11:26:20 PM by eahm

  • Yegor
  • [*][*][*][*]
  • Developer
This AAC file has no "seekbar"
Reply #7
Jeez, why not let users seek those raw aac files using some sort of fallback that can be enabled with a checkbox in the Advanced section of preferences?

And if it "mandates sample-exact seeking" why not at least report the reason to the user? It just feels like it simply doesn't work, like it's a bug.

  • ExUser
  • [*][*][*][*][*]
  • Read-only
This AAC file has no "seekbar"
Reply #8
Add a "Package in MP4 container" context menu command and that solves it. Hell, you could add this with foo_run and MP4Box.

OP should really just update his process to get MP4Box to emit valid MP4 streams. -isma is the option, I think.
  • Last Edit: 25 September, 2014, 11:57:38 AM by Canar

  • Yegor
  • [*][*][*][*]
  • Developer
This AAC file has no "seekbar"
Reply #9
Thank you, but I'm not really asking for workarounds. I'm suggesting to avoid non-obvious behavior.

  • ExUser
  • [*][*][*][*][*]
  • Read-only
This AAC file has no "seekbar"
Reply #10
I'm suggesting to avoid non-obvious behavior.
Playing raw AAC is non-obvious behaviour.

  • Porcus
  • [*][*][*][*][*]
This AAC file has no "seekbar"
Reply #11
Add a "Package in MP4 container" context menu command and that solves it. Hell, you could add this with foo_run and MP4Box.


Maybe suggest an ffmpeg -codec copy thing under converter?

  • Kohlrabi
  • [*][*][*][*][*]
  • Global Moderator
This AAC file has no "seekbar"
Reply #12
Thank you, but I'm not really asking for workarounds. I'm suggesting to avoid non-obvious behavior.
Using raw AAC is non-obvious. Why is it so hard for you to create compliant MP4 files?

For some reasons people with silly raw AAC files pop up regularly. Maybe Peter should add an option to "Multiplex into MP4", since f2k already uses ffmpeg. This would be similar to the MP3 VBR header fix stuff.
  • Last Edit: 01 October, 2014, 04:20:31 AM by Kohlrabi
It's only audiophile if it's inconvenient.

  • Porcus
  • [*][*][*][*][*]
This AAC file has no "seekbar"
Reply #13
Maybe suggest an ffmpeg -codec copy thing under converter?


Huh, what am I doing wrong?



Outputs a 24 byte file and complains it cannot write to it.

  • lvqcl
  • [*][*][*][*][*]
  • Developer
This AAC file has no "seekbar"
Reply #14
fb2k decodes your aac file to PCM 32bit and sends this pcm to ffmpeg. I think it's not what you want.

Maybe foo_run will do the trick.

  • Kohlrabi
  • [*][*][*][*][*]
  • Global Moderator
This AAC file has no "seekbar"
Reply #15
fb2k decodes your aac file to PCM 32bit and sends this pcm to ffmpeg. I think it's not what you want.
In theory it'd be nice if Converter offered an option checkbox "Don't decode files before sending to encoder". In practice though I can see a lot of people shooting themselves in the foot. The better you hide an option, and the more you stress it's advanced and for special cases, the more people who should not use it will try to.
It's only audiophile if it's inconvenient.

  • marc2003
  • [*][*][*][*][*]
This AAC file has no "seekbar"
Reply #16
Maybe foo_run will do the trick.


that should work as you'd only be passing the filename for ffmpeg to process. the only thing you might need to consider is how it handles selections of multiple tracks??

  • Porcus
  • [*][*][*][*][*]
This AAC file has no "seekbar"
Reply #17
I think it's not what you want.


Thanks. Never got so far as to bitcompare, obviously.