[MPlayer-users] seek or "set_property time_pos" with URL

Reyada Wolak reyada.wolak at gmail.com
Wed Jul 22 17:52:19 CEST 2009


I'm not sure about the behavior of 'seek' when the file is streamed from the
internet and not locally. it seems that it is only capable of doing so if
the period (in sec) is within the cache i.e. it cannot seek to any point in
the file unless it is played at least once. is it correct? in some players
e.g. RealPlayer you can stream to any point from the URL and the playing
will start immediately without the need to download the whole file locally
at the beginning.

On Tue, Jul 21, 2009 at 8:50 PM, Reyada Wolak <reyada.wolak at gmail.com>wrote:

> I tried this in Linux as well. the same issue, set_property time_pos OR
> seek after loadfile directly will not work. be aware that I'm using slave
> mode from my Java rapper:
> loadfile <http URL> 0 \n seek <sec> 2          (in one command)
>
> It only happens with HTTP URL. With local files, it is working fine.
>
>
> On Thu, Jul 9, 2009 at 8:27 PM, Reyada Wolak <reyada.wolak at gmail.com>wrote:
>
>> Hi,
>>
>> I have notice that seek or "set_property time_pos" is not working with
>> HTTP URL if it comes after loadfile directly.
>>
>> loadfile <http URL> 0
>> seek <sec> 2
>> OR set_property time_pos <sec>
>>
>> it works fine after the clip start playing but not if you want to start
>> load at a specifc position.
>>
>> loadfile from local file and then seek works fine as well:
>>
>> loadfile file 0
>> seek <sec> 2
>>
>> it is only not working with URL. I'm using r29280-4.5.0 on Win32 mingw32
>>
>
>


More information about the MPlayer-users mailing list