Error getting video thumbnails with mplayer in loop
问题 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'.