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: 282

Filed under:
|
|
|

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

how to use time out in mplayer?

Posted by manoj on Super User See other posts from Super User or by manoj
Published on 2010-06-13T23:56:25Z Indexed on 2010/06/14 0:03 UTC
Read the original article Hit count: 283

Filed under:
|
|
|

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 -t 00:00:10 -acodec libmp3lame -ab 24 -ar 8000 audio.mp3

Thanks in advance.

© Super User or respective owner

Related posts about timeout

Related posts about stream