how to use time out in mplayer?
Posted
by manoj
on Stack Overflow
See other posts from Stack Overflow
or by manoj
Published on 2010-06-14T15:38:14Z
Indexed on
2010/06/14
15:42 UTC
Read the original article
Hit count: 300
I am trying to save audio using mplayer from a live http stream. saving audio is successful. If there is no live stream playing it does not exit automatically. Is there any way to set timeout if there is no live stream?
code : mplayer -i url -t 00:00:10 -acodec libmp3lame -ab 24 -ar 8000 audio.mp3
Thanks in advance.
© Stack Overflow or respective owner