2020-06-08 03:29:51 +03:00
|
|
|
# ffmpeg -f lavfi -i sine -t 10ms test.mp3
|
2022-05-21 20:33:52 +03:00
|
|
|
$ fq -i . test.mp3
|
2021-08-28 21:07:57 +03:00
|
|
|
mp3> .headers[0].magic == "ID3"
|
2020-06-08 03:29:51 +03:00
|
|
|
true
|
2021-08-28 21:07:57 +03:00
|
|
|
mp3> .headers[0].version == 4
|
2020-06-08 03:29:51 +03:00
|
|
|
true
|
2021-08-28 21:07:57 +03:00
|
|
|
mp3> .frames[0].header.protection == true
|
2021-11-05 19:24:49 +03:00
|
|
|
false
|
2021-08-28 21:07:57 +03:00
|
|
|
mp3> .headers[0].flags + {}
|
2020-06-08 03:29:51 +03:00
|
|
|
{
|
|
|
|
"experimental_indicator": false,
|
|
|
|
"extended_header": false,
|
|
|
|
"unsynchronisation": false,
|
|
|
|
"unused": 0
|
|
|
|
}
|
2021-08-28 21:07:57 +03:00
|
|
|
mp3> ._unknown
|
2020-06-08 03:29:51 +03:00
|
|
|
false
|
2021-08-28 21:07:57 +03:00
|
|
|
mp3> format
|
2020-06-08 03:29:51 +03:00
|
|
|
"mp3"
|
2021-08-28 21:07:57 +03:00
|
|
|
mp3> .headers[0].magic | format
|
2020-06-08 03:29:51 +03:00
|
|
|
null
|
2021-08-28 21:07:57 +03:00
|
|
|
mp3> ._format
|
|
|
|
"mp3"
|
|
|
|
mp3> .headers[0].magic._format
|
|
|
|
null
|
|
|
|
mp3> ^D
|
|
|
|
$ fq -d raw .
|
2021-12-08 18:20:37 +03:00
|
|
|
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.{}: <stdin> (raw)
|
2021-11-05 17:04:26 +03:00
|
|
|
0x0|61 62 63 0a| |abc.| | unknown0: raw bits
|
2020-06-08 03:29:51 +03:00
|
|
|
stdin:
|
|
|
|
abc
|