mirror of
https://github.com/wader/fq.git
synced 2024-12-27 15:42:07 +03:00
ee66fece18
Now ex "tovalue | .some.thing" on a decode value will make some.thing be jq value instead of a decode value which woud be displayed as a decode treee, seems confusing. I think this is more intuetive and make more sense.
27 lines
474 B
Plaintext
27 lines
474 B
Plaintext
$ fq -V '.headers[0].header[]' test.mp3
|
|
"ID3"
|
|
4
|
|
0
|
|
{
|
|
"experimental_indicator": false,
|
|
"extended_header": false,
|
|
"unsynchronisation": false,
|
|
"unused": 0
|
|
}
|
|
35
|
|
$ fq -Vr '.headers[0].header[]' test.mp3
|
|
ID3
|
|
4
|
|
0
|
|
{
|
|
"experimental_indicator": false,
|
|
"extended_header": false,
|
|
"unsynchronisation": false,
|
|
"unused": 0
|
|
}
|
|
35
|
|
$ fq -o bits_format=base64 -V '.frames[0].audio_data' test.mp3
|
|
"AAAAAAA="
|
|
$ fq -o bits_format=base64 -Vr '.frames[0].audio_data' test.mp3
|
|
AAAAAAA=
|