[MPlayer-users] udp multicast quick start

Mac Smith macsmith.us at gmail.com
Sat Sep 3 13:18:10 CEST 2011


On 03-Sep-2011, at 4:18 PM, Reimar Döffinger wrote:

> On Sat, Sep 03, 2011 at 04:14:19PM +0530, Mac Smith wrote:
>> 
>> On 03-Sep-2011, at 4:01 PM, Reimar Döffinger wrote:
>> 
>>> On Sat, Sep 03, 2011 at 03:49:21PM +0530, Mac Smith wrote:
>>>> I am playing a udp multicast stream (mpeg2 transport stream) using the following command
>>>> 
>>>> mplayer -vo vdpau -vc ffmpeg12vdpau udp://239.1.1.1:1234
>>>> 
>>>> 
>>>> It plays well but when it starts, it waits for 4-5 seconds after a message  "TS file format detected." I googled and found that adding a "-demuxer" option would solve the problem, so i added "-demuxer +mpegts", it improved only by 0.5 seconds, if i add "-demuxer mpeges" than its a very very quick start but the video is very very bad. 
>>>> 
>>>> It looks like mplayer checks something from the stream, how can i skip all this checks to do a quick play.
>>> 
>>> I think VDPAU can only start decoding at an I-frame, so you have to
>>> reduce the I-frame interval at the encoder end.
>> 
>> even if I user -vo xv it takes the same time to start. And its a live stream from IPTV headend i have no control over it.
> 
> I forgot to say that specifying -demuxer reduces the delay _before_ the
> "... file format detected" message, not the one after.
> You could try setting -tsprobe to some lower value.
> I assume you don't have a cache enabled (-nocache)?
> What is the bitrate of the stream?
> 

wow! -tsprobe solved it, thanks a lot Reimar.

--
Mac



More information about the MPlayer-users mailing list