I need to get video thumbnails with mplayer using a loop, but mplayer gives me error. However the same command works fine out of the loop
How do I prevent my command is affected by the loop?
I've tried to encapsulate in a sub-shell or redirected stdin / stdout ... but I fail
This is the code
while read video; do
....
mplayer -ss 60 -nosound -vo jpeg -frames 1 "$video"
done < video_list.txt
output mplayer
......
No bind found for key '~'.
No bind found for key 'l'.
No bind found for key 'b'.
No bind found for key 'H'.
No bind found for key 'R'.
No bind found for key 'Y'.
No bind found for key 'B'.
No bind found for key '"'.
No bind found for key 'l'.
No bind found for key '='.
No bind found for key '"'.
No bind found for key '"'.
Dead key input on file descriptor 0
===== PAUSE =====
Exiting... (Quit)