Nginx mp4 module about "keyframe aligning"

hi all

I use mp4 module to cut big mp4 file into little mp4 file , I found a
peoblem about “keyframe aligning”

so I do a patch to solve this problem

pach is here :

https://gist.github.com/oikomi/6194ef2ee8a5c5a55375

Best Regards,
Harold Miao

Hello!

On Mon, Aug 04, 2014 at 05:41:26PM +0800, Harold.Miao wrote:

hi all

I use mp4 module to cut big mp4 file into little mp4 file , I found a
peoblem about “keyframe aligning”

so I do a patch to solve this problem

pach is here :

https://gist.github.com/oikomi/6194ef2ee8a5c5a55375

It’s not clear what is the problem you are trying to solve, but
from the patch I suspect that it’s about seeking to a key frame
instead of a frame pointed out by the start time. It’s believed
that it’s a caller responsibility to provide correct start time.


Maxim D.
http://nginx.org/

hi

to get a precise start time for a key frame ? It is very very
difficulty
to caller.

in addition, most people use this module to do a integer cut ,like
0s-10s
10s-20s 30s-40s…

Maxim D. [email protected]于2014年8月4日星期一写道:

Maxim D.
http://nginx.org/


nginx mailing list
[email protected] <javascript:;>
http://mailman.nginx.org/mailman/listinfo/nginx

Best Regards,
Harold Miao

ok, I see. I just use this module to cut big file manually and transfer
it
into hls.
Thank you!

Maxim D. [email protected]于2014年8月4日星期一写道:

0s-10s


nginx mailing list
[email protected] <javascript:;>
http://mailman.nginx.org/mailman/listinfo/nginx

Best Regards,
Harold Miao

Hello!

On Mon, Aug 04, 2014 at 07:37:11PM +0800, Harold.Miao wrote:

hi

to get a precise start time for a key frame ? It is very very difficulty
to caller.

in addition, most people use this module to do a integer cut ,like 0s-10s
10s-20s 30s-40s…

The module is was originally designed to be used in Flash-based
pseudostreaming, and flash players are perfectly able to use
correct seek points.


Maxim D.
http://nginx.org/