You are not logged in.
I would like to try and push the output of FFMPEG and HandBrake into a dialog window using the dialog command.
I noticed there is a tailbox option but I cannot find much information on how to use this.
Does anyone have any examples I could work off?
I thought maybe using something like the below would work. But it doesn't.
ffmpeg -i 02.ts -acodec pcm_s16le -ac 2 02.wav | dialog --title "Extracing" --tailbox 10 75
What would be the best way to this to create something like this?
Offline
Tailbox requires a file parameter. So you'll need to do one of the following:
ffmpeg -i 02.ts -acodec pcm_s16le -ac 2 02.wav > outfile &
dialog --title "Extracing" --tailbox outfile 10 75
dialog --title "Extracing" --tailbox <(ffmpeg -i 02.ts -acodec pcm_s16le -ac 2 02.wav) 10 75
In the first case, you may need to use `mkfifo outfile` then change the > to a >>.
EDIT: wait, why are you trying to use tailbox? Progress box is exactly what you want.
Last edited by Trilby (2013-11-11 23:53:00)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Hmm.. I see that it just spews out of the box and doesn't following the box's width or length. That is a shame Back to the drawing board.
Offline