I've built a bash script with linux YAD in which there are several ways to handle video or audio files with FFmpeg. The command
Code: Select all
ffmpeg -i "$filename" -vn -ar 44100 -ac 2 -ab 320k "$basePath".mp3
achim
Code: Select all
ffmpeg -i "$filename" -vn -ar 44100 -ac 2 -ab 320k "$basePath".mp3
I work with Linux Mint 18.3 Cinnamon. File Manager Nemo has a terminal window where I can watch the progress of starting the YAD script. In this window I have to quit FFmpeg with Ctrl-c. Without a script (ie via a terminal), the command works without errors. But I would like to work with the YAD script. By the way, FFmpeg gives another message: WARNING: library configuration mismatch. FFmpeg is up to date, maybe a bug?phat7 wrote:Then where is the problem? All you gave us is a command that you said doesn't work. Now it does. If you don't run it from the command line then how can you stop it with ctrl+c?
How you start the script ? If you click on it, Nemo gives choice to run in Terminal.achim wrote:I work with Linux Mint 18.3 Cinnamon. File Manager Nemo has a terminal window where I can watch the progress of starting the YAD script. In this window I have to quit FFmpeg with Ctrl-c. Without a script (ie via a terminal), the command works without errors. But I would like to work with the YAD script.
Code: Select all
./ffsplit
Hello achim.achim wrote:Hello everybody,
I've built a bash script with linux YAD in which there are several ways to handle video or audio files with FFmpeg. The command
does the work, but FFmpeg does not stop. Here I always have to help with ctrl+c. Does anyone know a better solution?Code: Select all
ffmpeg -i "$filename" -vn -ar 44100 -ac 2 -ab 320k "$basePath".mp3
achim
Code: Select all
ParmS="loglevel info -window_title ${TitrE}"
ffplay -$ParmS -hide_banner -x "$X" -y "$Y" "$B" -autoexit
Code: Select all
ffmpeg -i "$filename" -vn -ar 44100 -ac 2 -ab 320k "$basePath".mp3 -autoexit
Unrecognized option 'autoexit'.
Error splitting the argument list: Option not found
Code: Select all
ffmpeg -i "$ filename" -vn -ar 44100 -ac 2 -ab 320k "$ basePath" .mp3
sleep 2
xdotool key "Return"