148 reputation
16
bio website mtrl.co.uk
location Leeds, United Kingdom
age 33
visits member for 2 years, 6 months
seen Apr 13 at 11:00

Aug
23
awarded  Notable Question
May
16
awarded  Popular Question
Mar
15
awarded  Editor
Mar
15
revised Strange errors when using ffmpeg in a loop
edited body
Apr
14
awarded  Scholar
Apr
14
accepted Strange errors when using ffmpeg in a loop
Apr
13
awarded  Supporter
Apr
13
awarded  Teacher
Apr
13
answered Strange errors when using ffmpeg in a loop
Apr
12
awarded  Student
Apr
12
comment Strange errors when using ffmpeg in a loop
I've found the solution. The bash script seems to product input (Namely the 'c' key) which interferes with the ffmpeg process. Piping "< /dev/null" into ffmpeg like so: ffmpeg -i "./$f" -vcodec libx264 -vprofile high -preset slow -b:v 500k -maxrate 500k -bufsize 1000k -threads 0 -acodec libfaac -ab 128k "./mp4s/$MP4FILENAME" < /dev/null Fixes the issue. via [linuxquestions.org/questions/programming-9/… [1]: linuxquestions.org/questions/programming-9/…
Apr
12
asked Strange errors when using ffmpeg in a loop