rejetto forum

Does HFS support Progressive download?

iG0R · 7 · 2509

0 Members and 1 Guest are viewing this topic.

Offline iG0R

  • Occasional poster
  • *
    • Posts: 4
    • View Profile
Hello everyone.
I faced with an issue while transferring video content directly to a standalone video player on my PC. To view any video on desired location it needed to be full downloaded till this location.
So, the question is - does HFS support "progressive download" method?
If "yes", where it could be turned on, if "no" - is it possible to make support of this download method in HFS?
Thank you.
« Last Edit: October 31, 2016, 11:33:52 AM by iG0R »


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13310
    • View Profile
welcome igor,
there's no such thing on the server side. It's the player. Maybe that player has an issue with that file format. Not all file formats are the same, some are better for the streaming.


Offline iG0R

  • Occasional poster
  • *
    • Posts: 4
    • View Profile
Hello, rejetto.
Thank you for reply.
I tried many files with different formats mp4, avi, mkv etc., which were downloaded from video-hostings that allow their users to play back this files at any location without downloading the entire file.
I think at least the MP4-files have specific metadata at the beginning of these files, which allow to play back them from any location.
I want to clarify what I had in mind.
Quote
Progressive download is a technique used to stream media from a web server to a client such as a video player on a laptop or mobile phone.

Without progressive download, a client has to download the entire media file before video playback can start. Media files are typically large, so users must wait a significant time before they can watch the video, resulting in a disappointing user experience. With progressive download, only a small part of the video file has to be dowloaded before playback begins. (Even with progressive download, low bandwidth can make the download lag behind the rate of play, in which case playback pauses until enough material is downloaded for viewing to continue.)

Progressive download is possible because at the start of the download the media server sends metadata about the video file to the video player. The metadata functions like a table of contents, enabling playback to begin without all the data being available.

Pseudo-streaming is a related technology that enables users to jump to different points in the video (called seeking), including sections for which the data has not yet been downloaded.

So, I think it's not an issue with a player (MPC-HC). It is a function of a server to answer in right way on clients requests (MPC-HC).

Best regards and thank you for your job.


Offline bmartino1

  • Tireless poster
  • ****
    • Posts: 901
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
vlc with hfs...

more info on video streaming here:
http://www.rejetto.com/forum/hfs-~-http-file-server/information-(mime-types)-embed-pdfsvideo-and-audio/

yes, but not realy... i was going o stay out of this one... but this can be accoplished via:
you have to define the mime types, tell them to do that(open directly in browser)... and have the play with a codec/ encode them to play them... such as the live tpl...

#
http://www.rejetto.com/forum/html-templates/video-support-in-hfs-using-vlc-ready/

#
http://www.rejetto.com/forum/rawr-designs/latest-releases/



Files i try to keep and share can be found on my google drive:

https://drive.google.com/drive/folders/1FOWi3Gqaldld6JLXvZ-biDv4RSguf0IC


Offline iG0R

  • Occasional poster
  • *
    • Posts: 4
    • View Profile
Hello, bmartino1.
Thank you.
All this topics mean to use embedded player inside a browser or is it possible to use standalone one, e.g. MPC-HC in Windows or MX-Player in Android, to play back?

PS. Here's the thread http://www.rejetto.com/forum/html-templates/video-support-in-hfs-using-vlc-ready/msg1045112/#msg1045112 inside the topic between mysoogal and slasherx in which they discuss what I mean concerning video streaming methods.
mysoogal wrote:
Quote
i think it is the web servers issue more then anything  ;D

HTTP Progressive Download versus Streaming Media

http://en.wikipedia.org/wiki/Progressive_download#HTTP_Progressive_Download_versus_Streaming_Media

i think apache2 and lighty web server have module for h.264 streaming which will allow you to seek ahead in the video file. but i havn't looked into this.

their is also a php script that does this enables you to seek in flv or avi files. i think vlc is not the issue here :O more to do with web server setups.
« Last Edit: November 02, 2016, 06:30:10 AM by iG0R »


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13310
    • View Profile
i think the metadata (if not simply the file size) is not really necessary, because VLC is indeed doing the job correctly with HFS. I just made a test with an MKV to be sure, but i made use of it several times.

Extra information is probably necessary for "second perfect" seeking in case of VBR encoding. Without this, seeking is still possible nonetheless, and the error won't be huge.
Anyway, HFS doesn't support any extra information specific for videos, despite it is probably not impossible for an advanced user to create a solution, as HFS is scriptable.