unable to seek through streaming video (continue loading streaming video)

View previous topic View next topic Go down

unable to seek through streaming video (continue loading streaming video)

Post by fohrums on Mon May 19, 2014 3:15 pm

Windows 8.1
K-lite Version 10.5.0 Standard

When streaming media (in this case .mp4) of any format it's a gamble whether it works or not. Kind of like a good day and a bad day.

My problem is (i'm thinking it's from the splitter) i'm unable to seek the video when i'm streaming.
Here we have an image. It correctly shows the duration of the video and the seekbar indicator respectively once I move the seekbar whether it'll be from a shortcut or simply clicking will have the player load it and continue to play for a brief moment and simply stop forcing the seekbar indicator to the very end and player stops. This is also when seeking back from a loaded point, it's like the player doesn't properly cache it; it reloads it.



It's like my best bet is to leave the player alone and if I want to go back or move forward i'm unable to, we call this "tough luck".

fohrums

Posts : 4
Join date : 2014-05-19

View user profile

Back to top Go down

Re: unable to seek through streaming video (continue loading streaming video)

Post by Admin on Tue May 20, 2014 12:45 am

Streaming is mostly intended for real-time playback. The stream is not cached, there is just a small buffer. Whether seeking works properly depends on the type of file. For example, some formats store the index table that contains vital information for seeking at the end of the file.

For more flexible playback, you should just download the file.

You could disable the internal HTTP source filter in MPC-HC. Maybe the standard filter from Windows works better in this specific situation.

Admin
Admin

Posts : 2982
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: unable to seek through streaming video (continue loading streaming video)

Post by fohrums on Tue May 20, 2014 10:29 am

You could disable the internal HTTP source filter in MPC-HC. Maybe the standard filter from Windows works better in this specific situation.

This is what i'm looking for. It's unfortunate that it's not as good as PotPlayer's built-in codecs that allow it to skip the stream. With disabling the internal HTTP filter mpc-hc defaults to this:
-LAV Splitter [NOT source]
-File Source (URL)



Admin wrote:...The stream is not cached, there is just a small buffer.

with this method the stream is "How far it loads % (percentile)" meaning i'm only able to seek how far i've downloaded the video. BUT what's cool about this is when mpc-hc closes or crashes the stream isn't lost i'm able to reopen the same link and it starts to re-download where it left off with me being able to seek the video throughout.

*Ultimately the downloaded file is in the temp folder? so it will be deleted anyways?

fohrums

Posts : 4
Join date : 2014-05-19

View user profile

Back to top Go down

Re: unable to seek through streaming video (continue loading streaming video)

Post by Admin on Thu May 22, 2014 2:29 am

Yes, the "File Source (URL)" source filter does cache the downloaded part of a streamed file. I don't know if the temporary file is deleted automatically. I can recommend CCleaner program for cleaning up your computer.

Can you give me an example link of a mp4 file that didn't work good with the internal source filter? Maybe it can be improved.

Admin
Admin

Posts : 2982
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: unable to seek through streaming video (continue loading streaming video)

Post by fohrums on Thu May 22, 2014 11:55 am

Admin wrote:I can recommend CCleaner program for cleaning up your computer.
those things do more harm than good.

Can you give me an example link of a mp4 file that didn't work good with the internal source filter? Maybe it can be improved.

Hopefully it can be improved.
.mp4 link

fohrums

Posts : 4
Join date : 2014-05-19

View user profile

Back to top Go down

Re: unable to seek through streaming video (continue loading streaming video)

Post by Admin on Thu May 22, 2014 10:46 pm

That link is not working anymore here. I suspect the seeking limitation is due to restrictions set by the server that is hosting the file.

Please try this link:
http://samples.libav.org/V-codecs/AVC1/bb2.mp4
Seeking works fine here when streaming from that URL.

Admin
Admin

Posts : 2982
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: unable to seek through streaming video (continue loading streaming video)

Post by fohrums on Fri May 23, 2014 9:51 am

Admin wrote:
Please try this link:
http://samples.libav.org/V-codecs/AVC1/bb2.mp4
Seeking works fine here when streaming from that URL.

It might be the length of that clip (22 sec.). In real time application (a longer video) the seeking will not work properly.

fohrums

Posts : 4
Join date : 2014-05-19

View user profile

Back to top Go down

Re: unable to seek through streaming video (continue loading streaming video)

Post by Admin on Sat May 24, 2014 2:26 am

It has short duration, but relatively big filesize, larger than what is buffered. So it should be sufficient as a test sample.

I am pretty sure the seeking problems are due to server restrictions. Not every server allows RESTART (= resume download at arbitrary position), which is needed for seeking.

Admin
Admin

Posts : 2982
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: unable to seek through streaming video (continue loading streaming video)

Post by Sponsored content Today at 11:45 am


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum