1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-22 10:22:31 +01:00
lossless-cut/test/formats.sh
Mikael Finstad 62c29af1de Fix file-opened which returns an array
This fixes a crash when cutting after opening with ctrl+O

Also add more intelligent format detection.
Beause ffprobe only returns a list of formats
2016-11-08 20:45:25 +01:00

2 lines
116 B
Bash
Executable File

for f in *; do echo -n "$f: "; ffprobe -show_format -of json -i "$f" | json format.format_name; done 2> /dev/null