Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


   


   


   















      :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mp4: start time is out mp4 stsc chunks


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: mp4: start time is out mp4 stsc chunks
  • From: Andrey Feldman <pr1@xxxxxx>
  • Date: Tue, 23 Apr 2013 12:18:17 +0400
  • In-reply-to: <CABAS4GLtmi=B48fDUW0B2YetdyKzNJhyDFL_Dy3N9Q_nALvi+w@mail.gmail.com>
  • References: <CABAS4GJgeqSwKzm=f_MDNWSKpLT_3sXRKMmy7Wh1GwvXdZ7Aew@mail.gmail.com> <20130422201004.GO92338@mdounin.ru> <CABAS4GLtmi=B48fDUW0B2YetdyKzNJhyDFL_Dy3N9Q_nALvi+w@mail.gmail.com>

, ffmpeg stsc :
stsc
size = 28
type = stsc
entry_count = 1
first_chunk = 1, samples_per_chunk = 1, sample_description_index = 1

:
stsc
size = 40
type = stsc
entry_count = 2
first_chunk = 1, samples_per_chunk = 426, sample_description_index = 1
first_chunk = 2, samples_per_chunk = 183, sample_description_index = 1

.
ffmpeg -i lys-20031106.avi -s 480x270 -vcodec libx264 -crf 23 -r 25 -g 25 -acodec libfaac -ar 44100 -b:a 64k -y test.mp4

ffmpeg -version
ffmpeg version 0.8.6-6:0.8.6-0ubuntu0.12.10.1, Copyright (c) 2000-2013 the Libav developers
built on Apr 2 2013 17:02:16 with gcc 4.7.2
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
ffmpeg 0.8.6-6:0.8.6-0ubuntu0.12.10.1
libavutil 51. 22. 1 / 51. 22. 1
libavcodec 53. 35. 0 / 53. 35. 0
libavformat 53. 21. 1 / 53. 21. 1
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 15. 0 / 2. 15. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 52. 0. 0 / 52. 0. 0




2013/4/23 Eric Benjamin <bener.beer@xxxxxxxxx>
ffmpeg ( )
# ffmpeg -i "<INPUT>"-s 480x270 -c:v libx264 -crf 23 -r 25 -g 25 -acodec libfaac -ar 44100 -b:a 64k -y "<TMPOUTPUT>"

: .




23 2013 ., 0:10 Maxim Dounin <mdounin@xxxxxxxxxx> :
Hello!

On Mon, Apr 22, 2013 at 01:37:22PM +0400, Eric Benjamin wrote:

> !
>
> mp4. .
> - : "start time is out mp4 stsc chunks"
>
> ( ?start=XXX)
>
> .
> , , .
>
> "", ffmpeg -
> mp4?

debug log' - , stsc -
:

2013/04/22 04:54:10 [debug] 11101#0: *1456 mp4 stsc atom update
2013/04/22 04:54:10 [debug] 11101#0: *1456 start_sample:450, chunk:1, chunks:1, samples:426, id:1
2013/04/22 04:54:10 [debug] 11101#0: *1456 start_sample:24, chunk:2, chunks:0, samples:183
2013/04/22 04:54:10 [error] 11101#0: *1456 start time is out mp4 stsc chunks in "/opt/site/htdocs/177.high.mp4", client: 127.0.0.1, server: videofarm, request: "GET /177.high.mp4?start=18 HTTP/1.0", host: "videofarmext"

- "chunks:0", ..
sample-to-chunk chunk'.
.

mp4-
.

--
Maxim Dounin
http://nginx.org/en/donation.html

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru


_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru



--
--
Andrey Feldman

Attachment: test.mp4
Description: video/mp4

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.