[MPlayer-users] seeking in a flv

Reimar Döffinger Reimar.Doeffinger at gmx.de
Tue Jul 13 19:40:56 CEST 2010


On Tue, Jul 13, 2010 at 12:04:56PM +0200, Gautier wrote:
> Now I have another problem :
> 
> If the server is a little slow to send the movie mplayer exit
> (nop_streaming_read error : Resource temporarily unavailable). If I
> add the loop option it sends a new get request. It's not a problem
> when I'm at the beginning of the movie, but if I do a seek and then
> the server takes time to answer mplayer send a new get corresponding
> to the position where it was before seeking and not the position where
> it should be after seeking.
> 
> Is there a way to force mplayer to wait indefinitely ?

I don't think indefinitely is possible, however you can make
it a lot longer (I think 10 minutes or so) by commenting out the lines
        setsockopt(socket_server_fd, SOL_SOCKET, SO_RCVTIMEO, &to, sizeof(to));
        setsockopt(socket_server_fd, SOL_SOCKET, SO_SNDTIMEO, &to, sizeof(to));
in stream/tcp.c


More information about the MPlayer-users mailing list