[MPlayer-users] How to use -slave option with bash and terminal (python)

Peter Irbizon peterirbizon at gmail.com
Thu Jun 2 19:11:22 CEST 2016


Hello, I have this bash_script.sh
#!/bin/bash
res=$(mkfifo /home/user/mplayer-control)
res=$(mplayer -slave -input file=/home/user/mplayer-control movie.mp4)

When I run it, mplayer starts. But I am not able to pause it from another
terminal with:
echo "pause" > /home/user/mplayer-control

What am I doing wrong?


More information about the MPlayer-users mailing list