Comments (6)
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.
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.
Thanks. I've sent you email, with the file.
from fq.
Thanks. Let me try in another machine
from fq.
Thanks. It works when I used another machine with 4GB RAM.
from fq.
π 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)
- [Feature request] Support cwf, swf, zwf HOT 1
- [Feature request] Support pdf HOT 1
- [Feature] Support for Doom WAD Files HOT 5
- [feature] add decimal floating-point number support HOT 2
- typo HOT 3
- [Documentation] Any interest in creating a man page? HOT 5
- Feature request: zero-length start/end properties HOT 7
- Support for non-canonical tags with html HOT 5
- Color output is unreadable on terminals using light backgrounds. HOT 4
- make use of kaitai struct for additional formats? HOT 4
- [Feature request] Support image/bmp HOT 1
- Format Decoder Conventions HOT 3
- zip: last_modification_date and last_modification_time are mislabeled or swapped HOT 2
- gzip files can contain multiple concatenated gzips HOT 8
- Investigate Data Format Description Language (DFDL) HOT 4
- Consider relicensing internal/mathex/float80.go HOT 3
- Enhancing Stream Processing Capabilities for Real-Time Binary Data Analysis HOT 1
- Winget support HOT 1
- readline upgrade HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fq.