Welcome! Log In Create A New Profile

Advanced

Re: mp4 video streaming: fast start up, but gets stuck...

Maxim Dounin
February 06, 2017 08:52AM
Hello!

On Mon, Feb 06, 2017 at 12:43:24PM +0200, ST wrote:

> I have two mp4 files served by nginx: A ( https://goo.gl/lYGXjC ) and B
> ( https://goo.gl/ZsnX7M ). File A starts pretty fast ca. 2s and it
> buffers/caches "future" content, however to B it takes more than 6s and
> it doesn't seem to buffer/cache. However A gets stuck periodically which
> makes it impossible to view (probably when it fails to cache), while B
> plays nicely all the time. Here are my questions: 1. What makes A start
> up so fast? 2. Is it possible to have both - fast start AND stable
> playing? I have not encoded neither of the files but here is the ffmpeg
> -i output of both ( http://pastebin.com/SuwYZkWP ) and AtomicParsley -T
> of A ( http://pastebin.com/GRWJkqNy ) and B
> ( http://pastebin.com/YGq0HjCU ). If you need any additional
> information, please, let me know.

The obvious difference is 1.6M metadata in B (compared to 68k in A).
I don't think there is anything nginx-related here, rather, you
should look into encoding of both files.

--
Maxim Dounin
http://nginx.org/
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

mp4 video streaming: fast start up, but gets stuck...

ST February 10, 2017 11:32AM

Re: mp4 video streaming: fast start up, but gets stuck...

Maxim Dounin February 06, 2017 08:52AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 235
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready