Created
January 22, 2016 11:44
-
-
Save cerisier/eaf01db560769cfe0b5d to your computer and use it in GitHub Desktop.
WIP of ffmpeg metadata to cue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AUDIO="file.m4a" | |
INPUT=$(ffprobe -v error -select_streams a:0 -show_chapters -of csv=print_section=1 AUDIO); | |
paste <(echo "$INPUT" | cut -d ',' -f 5 | cut -d '.' -f 1 | while read line; do date -d @$line; done) <(echo "$INPUT" | cut -d ',' -f 8) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment