#!/bin/bash
while [ $# -gt 0 ]; do
ffmpeg -i "$1" 2> tmp.txt
while read -r first _ _ start _ end; do
if [[ $first = Chapter ]]; then
read # discard line with Metadata:
read _ _ chapter
ffmpeg -vsync 2 -i "$1" -ss "${start%?}" -to "$end" -vn -ar 44100 -ac 2 -ab 128 -f mp3 "$chapter.mp3"
Page Updates |
---|
Apache Bench load testing |
Console::Blackjack |
RetroPie Arcade |
Factorio on systemd |
Generate new Factorio map |
Recent Articles |
---|
Install xfce4 on Debian |
Console Blackjack in Perl |
Selenium::WebDriver::Error::UnknownError |
Game of Life in C++ using the SDL2 |
PigPen (dots and boxes) in C++ using the SDL2 |
Copyright © 2005 - 2021
All Rights Reserved