[MPlayer-users] mplayer in background

Larry Reznick lreznick at idistream.com
Thu Jul 26 15:58:24 CEST 2007


Carles Pagès wrote:
> Thanks a lot Giacomo, that solved my problem!
>
> 2007/7/26, Giacomo Comes <comes at naic.edu>:
>   
>> On Thu, Jul 26, 2007 at 01:47:53PM +0200, Carles Pagès wrote:
>>     
>>> Hi,
>>>
>>> I'm trying to launch mplayer in background but when I run this command:
>>>
>>> # mplayer rtsp://192.168.2.225/audio1 -vc null -vo null -ao
>>> pcm:file=/tmp/fifo < /dev/null 2>&1 1>/dev/null &
>>>       
>> I'm not sure if this is the solution to your problem, but with
>> your command line you are still redirectind stderr to the terminal.
>> You should invert the order: 1>/dev/null 2>&1
>>
>> Giacomo

If you're using bash, you can combine the two using the "&>/dev/null" 
syntax.


--Larry



More information about the MPlayer-users mailing list