Hi all,
I've written an application to record audio streams continuously for
broadcasters using the FFmpeg libraries. For most stream types it's working
without any problems. One major exception are M4A encoded audio streams,
received from a professional DAB+ receiver. Because of the tables inc
he memory usage increases up to about 8.8 MB (on Windows 10)
until the stream ends.
Jörg
> 在 2019年10月21日,下午3:50,Jörg Beckmann 写道:
>
> Hi all,
>
> I've written an application to record audio streams continuously for
> broadcasters using the FFmpeg libraries. For most st
Hi,
this patch invents a new option "discard_fragments" for the MP4/Quicktime/MOV
decoder. If the option is not set, nothing changes at all. If it is set, old
fragments are discarded as far as possible on each call to switch_root. For
pure audio streams, the memory usage is now constant. For vi
15
An: FFmpeg development discussions and patches
Betreff: [SCISYS Possible Spam] Re: [FFmpeg-devel] [PATCH] Patch for memory
optimization with QuickTime/MP4
Am Mo., 2. Dez. 2019 um 10:05 Uhr schrieb Jörg Beckmann
:
>
> Hi,
>
> this patch invents a new option "discard_fragments&
SCISYS Possible Spam] Re: [FFmpeg-devel] [SCISYS Possible Spam] Re:
[PATCH] Patch for memory optimization with QuickTime/MP4
Am Mo., 2. Dez. 2019 um 11:06 Uhr schrieb Jörg Beckmann
:
> The for-loop and the warning are copied from somewhere else in the decoder.
> I'm also quite sure th
After discussion with Carl Eugen, I replaced the "if" in line 7737 with an
assert().
There is still the question, whether mov_switch_root() might be called when
reading from a file. If someone is really really sure that it cannot happen at
all, the check in mov_read_seek() could be removed.
Jö
4
>
> On Mon, Dec 02, 2019 at 02:12:14PM +, Jörg Beckmann wrote:
> > After discussion with Carl Eugen, I replaced the "if" in line 7737 with an
> > assert().
> >
> > There is still the question, whether mov_switch_root() might be called when
> read
Hi,
I recreated the patch from a clean source tree and applied it to a clean source
tree:
$ patch -p1 -i ../ffmpeg.patch
patching file libavformat/isom.h
patching file libavformat/mov.c
Hope it works now.
Cheers,
Jörg
---
libavformat/isom.h | 1 +
libavformat/mov.c | 50
copy -c:v copy -c:s copy -f ismv -movflags
frag_keyframe -movflags faststart tcp://localhost:1234?listen" and "ffmpeg -i
tcp://localhost:1234 -c:a copy -c:v copy -c:s copy -y ".
Signed-off-by: Jörg Beckmann
---
libavformat/isom.h | 1 +
libavformat/mov.c | 50 ++
zation with QuickTime/MP4
>
> On Mon, Dec 09, 2019 at 10:22:15 +, Jörg Beckmann wrote:
>
> Just some formal stuff:
>
> > Subject: Patch for memory optimization with QuickTime/MP4
>
> This subject should be created by the actual patch, because, they way you
> sub
quot; and
"ffmpeg -i tcp://localhost:1234 -c:a copy -c:v copy -c:s copy -y ".
Signed-off-by: Jörg Beckmann
---
libavformat/isom.h | 1 +
libavformat/mov.c | 49 -
2 files changed, 49 insertions(+), 1 deletion(-)
diff --git a/libavforma
Is there still something wrong with this patch?
Cheers,
Jörg
> -Ursprüngliche Nachricht-
> Von: ffmpeg-devel Im Auftrag von Jörg
> Beckmann
> Gesendet: Montag, 9. Dezember 2019 16:05
> An: ffmpeg-devel@ffmpeg.org
> Betreff: [FFmpeg-devel] [PATCH v5] avformat/mov: M
ory optimization with QuickTime/MP4
>
> Am Mo., 9. Dez. 2019 um 16:05 Uhr schrieb Jörg Beckmann
> :
> >
> > Invents a new option "discard_fragments" for the MP4/Quicktime/MOV decoder.
> >
> > If the option is not set, nothing changes at all. If it is set, ol
Hi,
is there something I can do to get this patch applied?
Cheers,
Jörg
> -Ursprüngliche Nachricht-
> Von: ffmpeg-devel Im Auftrag von Jörg
> Beckmann
> Gesendet: Montag, 9. Dezember 2019 16:05
> An: ffmpeg-devel@ffmpeg.org
> Betreff: [FFmpeg-devel] [PATCH v5] av
avformat/mov: Memory optimization with QuickTime/MP4
>
> Am Mo., 16. Dez. 2019 um 12:13 Uhr schrieb Jörg Beckmann
> :
> >
> >
> > > -Ursprüngliche Nachricht-
> > > Von: ffmpeg-devel Im Auftrag von
> > > Carl Eugen Hoyos
> > > Gesendet
GetModuleHandle functions" by Martin Storsjö
>
> On Wed, 8 Jan 2020, Jörg Beckmann wrote:
>
> > Hi,
> >
> > with this patch, FFmpeg does not compile for me on Cygwin anymore:
> >
> > ---
> > fftools/cmdutils.c:
use for several weeks. For video streams, it is tested with some examples, but
is
more or less experimental. Therefore "auto" turns it on for pure audio streams
only.
Signed-off-by: Jörg Beckmann mailto:joerg.beckm...@scisys.com
---
libavformat/isom.h | 1 +
libavformat/mov.c | 60
zation with QuickTime/MP4
>
> On Wed, Jan 08, 2020 at 13:26:35 +, Jörg Beckmann wrote:
> > Invents a new option "discard_fragments" for the MP4/Quicktime/MOV decoder.
>
> Strictly speaking, it's a demuxer and not a decoder. ;-)
>
> > If this option is
Hi,
is there anything I can do to get this patch applied?
Cheers,
Jörg
> -Ursprüngliche Nachricht-
> Von: ffmpeg-devel Im Auftrag von Jörg
> Beckmann
> Gesendet: Mittwoch, 8. Januar 2020 15:49
> An: FFmpeg development discussions and patches
> Betreff: Re: [FFmpe
ory optimization with QuickTime/MP4
>
> On Wed, Jan 08, 2020 at 13:26:35 +, Jörg Beckmann wrote:
> > Invents a new option "discard_fragments" for the MP4/Quicktime/MOV decoder.
>
> Strictly speaking, it's a demuxer and not a decoder. ;-)
>
> > If th
20 matches
Mail list logo