mirror of
https://github.com/wader/fq.git
synced 2024-12-24 13:52:02 +03:00
a7a101ca67
Also add authors to avro and macho decoders Generated with: for i in $(go run . -r -n '_registry | [([([.files[][].name | split(".")[0]] | unique[]), (.formats[].name)] | count[] | select(.[1] == 2)[0]), (.formats[] | select(.decode_in_arg).name)] | unique[]'); do DIR=$(dirname $(find format -name $i.go)); echo "$ fq -h $i" > "$DIR/testdata/help_$i.fqtest" ; done
22 lines
506 B
Plaintext
22 lines
506 B
Plaintext
$ fq -h mp3
|
|
mp3: MP3 file decoder
|
|
|
|
Options
|
|
=======
|
|
|
|
max_sync_seek=32768 Max byte distance to next sync
|
|
max_unique_header_configs=5 Max number of unique frame header configs allowed
|
|
|
|
Decode examples
|
|
===============
|
|
|
|
# Decode file as mp3
|
|
$ fq -d mp3 . file
|
|
# Decode value as mp3
|
|
... | mp3
|
|
# Decode file using mp3 options
|
|
$ fq -d mp3 -o max_sync_seek=32768 -o max_unique_header_configs=5 . file
|
|
# Decode value as mp3
|
|
... | mp3({max_sync_seek:32768,max_unique_header_configs:5})
|
|
|