Re: mplayer multicast start up behavior

Reimar Döffinger <[email protected]> Sat, 23 Dec 2023 20:33:53 +0100
Newsgroups gmane.comp.video.mplayer.user
Message-ID <[email protected]>

> On 19 Dec 2023, at 19:42, Michael Hawkins <[email protected]> wrote:
> 
> Apologies for the previous thread hijack and top post.
> 
> I'm trying to use mplayer to receive multicast audio, I ran into a
> problem where mplayer won't start unless the multicast is already
> streaming. ffplay does not have this problem.
> 
> See
> https://superuser.com/questions/307130/ffmpeg-command-to-stream-video-to-a-multicast-address
> 
> If you try to start mplayer before the stream is there, it will fail
> with:
> 
> Timeout! No data from host 239.1.2.3
> udp_streaming_start failed
> No stream found to handle url udp://239.1.2.3:4567
> 
> Is there a way to make mplayer start without the stream already being
> present?

Maybe use -loop 0 to make it retry forever?