[FFmpeg-devel] [PATCH] limit chunk size to 1GB

Michael Niedermayer michaelni at gmx.at
Mon Jan 23 21:45:29 CET 2012


On Mon, Jan 23, 2012 at 11:58:32AM -0800, Alex Zhukov wrote:
> On Mon, Jan 23, 2012 at 11:52 AM, Michael Niedermayer <michaelni at gmx.at> wrote:
> >
> > On Mon, Jan 23, 2012 at 02:20:34PM +0200, Maksym Veremeyenko wrote:
> > > Hi,
> > >
> > > i was experimenting with remuxing 5GB mov file by ffmpeg and found
> > > that resulting file was not playable by quicktime - it update
> > > picture during seeking on timeline only. after some bisecting of
> > > code i found that it happens since commit:
> > >
> > > http://git.videolan.org/?p=ffmpeg.git;a=commit;h=fc09bf57a60d4c4a6d339b204b3282337067c06d
> > >
> > > in my case resulting file has only ONE video track with constant
> > > frame size codec. as result after that commit mov file contains only
> > > one chunk.
> > >
> > > after some attempts to find proper value i found that first working
> > > value was 1GB.
> >
> > applied, thanks
> >
> >
> > >
> > > decreasing value makes quicktime opening video faster...
> >
> > hmm, i guess 1mb is a more reasonable default then
> > ill change it to that unless someone screams ...
> i scream. my frames are sometimes bigger than 1MB, is it possible to
> pack 1 frame into several chunks?

if you are afraid, i suggest you try to set it to 1 byte and see if it
has any negative effect

It should not, nor should it do anything to your gigabyte frames
it just wont merge multiple frames into chunks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The real ebay dictionary, page 3
"Rare item" - "Common item with rare defect or maybe just a lie"
"Professional" - "'Toy' made in china, not functional except as doorstop"
"Experts will know" - "The seller hopes you are not an expert"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120123/9830ae72/attachment.asc>


More information about the ffmpeg-devel mailing list