GithubHelp home page GithubHelp logo

Comments (6)

wader avatar wader commented on May 26, 2024 1

Thanks! it seem decode fine with master version which is not that different from 0.6. So i wonder if you might be running this on a system with not much memory? fq do use a lot of memory at the moment.

➜  fq git:(master) βœ— go run . -o line_bytes=10 -d mp3 . ~/Downloads/7.mp3
         β”‚00 01 02 03 04 05 06 07 08 09β”‚0123456789β”‚.{}: /Users/wader/Downloads/7.mp3 (mp3)
0x0000000β”‚49 44 33 04 00 00 00 03 3d 75β”‚ID3.....=uβ”‚  headers[0:1]:
0x000000aβ”‚54 53 53 45 00 00 00 0e 00 00β”‚TSSE......β”‚
*        β”‚until 0xdefe.7 (57087)       β”‚          β”‚
0x000def8β”‚                     ff fb 54β”‚       ..Tβ”‚  frames[0:102265]:
0x000df02β”‚00 00 00 00 00 00 00 00 00 00β”‚..........β”‚
0x000df0cβ”‚00 00 00 00 00 00 00 00 00 00β”‚..........β”‚
*        β”‚until 0x12c79be.7 (19634880) β”‚          β”‚
0x12c79b8β”‚                     54 41 47β”‚       TAGβ”‚  footers[0:1]:
0x12c79c2β”‚00 00 00 00 00 00 00 00 00 00β”‚..........β”‚
0x12c79ccβ”‚00 00 00 00 00 00 00 00 00 00β”‚..........β”‚
*        β”‚until 0x12c7a3e.7 (end) (128)β”‚          β”‚

BTW if you you'r only interested in the id3v2 tag you can use -d id3v2 which will use a lot less memory as fq will not decode any frames (notice the gap0 field which contains the frames)

➜  fq git:(master) βœ— go run . -o line_bytes=10 -d id3v2 . ~/Downloads/7.mp3
         β”‚00 01 02 03 04 05 06 07 08 09β”‚0123456789β”‚.{}: /Users/wader/Downloads/7.mp3 (id3v2)
0x0000000β”‚49 44 33 04 00 00 00 03 3d 75β”‚ID3.....=uβ”‚  header{}:
0x000000aβ”‚54 53 53 45 00 00 00 0e 00 00β”‚TSSE......β”‚  frames[0:9]:
0x0000014β”‚03 4c 61 76 66 35 38 2e 32 30β”‚.Lavf58.20β”‚
*        β”‚until 0xcb.7 (194)           β”‚          β”‚
0x00000c8β”‚            00 00 00 00 00 00β”‚    ......β”‚  padding: raw bits (all zero)
0x00000d2β”‚00 00 00 00 00 00 00 00 00 00β”‚..........β”‚
*        β”‚until 0xdefe.7 (56883)       β”‚          β”‚
0x000def8β”‚                     ff fb 54β”‚       ..Tβ”‚  gap0: raw bits
0x000df02β”‚00 00 00 00 00 00 00 00 00 00β”‚..........β”‚
0x000df0cβ”‚00 00 00 00 00 00 00 00 00 00β”‚..........β”‚
*        β”‚until 0x12c7a3e.7 (end) (1963β”‚          β”‚

from fq.

wader avatar wader commented on May 26, 2024

Hi, thanks for the report! That is weird, guessing something tries to allocate a lot of memory. Is it possible to share the file or at least the header? if you don't wan't it in public you can send it in an email also. Otherwise i will have to debug-guide you somehow.

from fq.

morrispetris avatar morrispetris commented on May 26, 2024

Thanks. I've sent you email, with the file.

from fq.

morrispetris avatar morrispetris commented on May 26, 2024

Thanks. Let me try in another machine

from fq.

morrispetris avatar morrispetris commented on May 26, 2024

Thanks. It works when I used another machine with 4GB RAM.

from fq.

wader avatar wader commented on May 26, 2024

πŸ‘ good, there is 100000+ frames to keep track of so will use some memory :) but thanks for the report and i will try figure if there is some better way to fail on OOM that explains what is going on.

from fq.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.