[FFmpeg-devel] configuring the max_packet_size
michaelni at gmx.at
Thu Jul 3 03:41:44 CEST 2014
On Wed, Jul 02, 2014 at 10:44:24PM +0100, declan harrison wrote:
> On Wed, Jul 2, 2014 at 4:32 PM, Michael Niedermayer <michaelni at gmx.at>
> > On Wed, Jul 02, 2014 at 02:44:25PM +0100, declan harrison wrote:
> > > Hi
> > >
> > > I'm wondering is it possible to configure the max_packet_size, when
> > > performing writes of large frames.
> > >
> > > So I have defined ffmpeg to use a custom protocol handler in my
> > > application, so the write method of my handler gets called by the API
> > when
> > > it writes out the packet from the MP4 muxer.
> > you can set max_packet_size from youe URLProtocol initialization
> > does this not work ?
> > or is there some other problem ?
> > Michael
> So the open of the custom protocol handler I now see I can set the context
> URLContext, which does indeed set the buffer size. So what I was wondering
> if it would be possible to set this on/just before each write? Dynamically
> change this buffer size to fit each frame.
why do you want to do that ?
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
If a bugfix only changes things apparently unrelated to the bug with no
further explanation, that is a good sign that the bugfix is wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 181 bytes
Desc: Digital signature
More information about the ffmpeg-devel