[FFmpeg-devel] [PATCH v3 21/26] fftools/ffmpeg: Introduce subtitle filtering and new frame-based subtitle encoding

Soft Works softworkz at hotmail.com
Thu Jan 20 17:17:32 EET 2022



> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of Michael
> Niedermayer
> Sent: Thursday, January 20, 2022 11:07 AM
> To: FFmpeg development discussions and patches <ffmpeg-devel at ffmpeg.org>
> Subject: Re: [FFmpeg-devel] [PATCH v3 21/26] fftools/ffmpeg: Introduce
> subtitle filtering and new frame-based subtitle encoding
> 
> On Thu, Jan 20, 2022 at 03:25:29AM +0000, ffmpegagent wrote:
> > From: softworkz <softworkz at hotmail.com>


[..]

> > ---
> >  fftools/ffmpeg.c                          |  501 ++++-----
> >  fftools/ffmpeg.h                          |   13 +-
> >  fftools/ffmpeg_filter.c                   |  235 ++--
> >  fftools/ffmpeg_hw.c                       |    2 +-
> >  fftools/ffmpeg_opt.c                      |    3 +-
> >  tests/ref/fate/filter-overlay-dvdsub-2397 |  182 +--
> >  tests/ref/fate/sub-dvb                    |  162 +--
> >  tests/ref/fate/sub2video                  | 1091 +++++++++++++++++-
> >  tests/ref/fate/sub2video_basic            | 1239 +++++++++++++++++++--
> >  tests/ref/fate/sub2video_time_limited     |   78 +-
> >  10 files changed, 2837 insertions(+), 669 deletions(-)
> 
> segfaults
> 
> Stream mapping:
>   Stream #0:2 -> #0:0 (ass (ssa) -> subrip (srt))
> Press [q] to stop, [?] for help
> ==4485== Invalid read of size 8
> ==4485==    at 0x3052F7: transcode (in /home/michael/ffmpeg-
> git/ffmpeg/ffmpeg_g)
> ==4485==    by 0x2DDCCB: main (in /home/michael/ffmpeg-git/ffmpeg/ffmpeg_g)
> ==4485==  Address 0x10 is not stack'd, malloc'd or (recently) free'd
> ==4485==
> ==4485==
> ==4485== Process terminating with default action of signal 11 (SIGSEGV)
> ==4485==  Access not within mapped region at address 0x10
> ==4485==    at 0x3052F7: transcode (in /home/michael/ffmpeg-
> git/ffmpeg/ffmpeg_g)
> ==4485==    by 0x2DDCCB: main (in /home/michael/ffmpeg-git/ffmpeg/ffmpeg_g)
> ==4485==  If you believe this happened as a result of a stack
> ==4485==  overflow in your program's main thread (unlikely but
> ==4485==  possible), you can try to increase the size of the
> ==4485==  main thread stack using the --main-stacksize= flag.
> ==4485==  The main thread stack size used in this run was 8388608.
> 
> 
> will send you the sample privatly


Great, thanks!

Patches 19,20,21,22 and 23 do not appear on Patchwork.

Do you have an idea why?

sw


More information about the ffmpeg-devel mailing list