[FFmpeg-devel] codecpar regressions

Michael Niedermayer michael at niedermayer.cc
Sat Apr 2 00:04:47 CEST 2016


On Fri, Apr 01, 2016 at 01:53:45AM +0200, Michael Niedermayer wrote:
> Hi
> 
> from #ffmpeg-devel
> <Daemon404> im not doing any fixes today though, im beat.
> ...
> <Daemon404> michaelni, if im not around mail me them, or putthem on github or something
> 
> i found another regression, thought "here" is a good "something"
> that way more people can search for and fix regressions
> 
> heres one regression:
> ./ffmpeg -i Broadway-5.1-48khz-448kbit.ac3 -t 10 out.wav
> ./ffmpeg-codecpar-2016-0331-23 -i Broadway-5.1-48khz-448kbit.ac3 -t 10 out-codecpar.wav
> 
>  ls -alF out-codecpar.wav out.wav
> -rw-r----- 1 michael michael 6681702 Apr  1 01:38 out-codecpar.wav
> -rw-r----- 1 michael michael 5760102 Apr  1 01:38 out.wav
> 
> the codecpar case also fills the screen with
> Non-monotonous DTS in output stream 0:0; previous: 75264, current: 66048; changing to 75264. This may result in incorrect timestamps in the output file
> warnings
> 
> not yet rebased onto origin tree used for the testing:
> https://github.com/dwbuiten/FFmpeg/tree/codecpar
> 
> PS: i suggest to wait at least 48h with no new regressions being found
> before this is pushed, its a exceptionally large merge

another regression:
./ffmpeg -i ~/tickets/2397/242_4.mkv -filter_complex '[0:v][0:s:1]overlay' out.avi

  Duration: 00:00:08.07, start: 0.067000, bitrate: 2535 kb/s
    Stream #0:0: Video: h264 (High), yuv420p, 720x480, SAR 1:1 DAR 3:2, 29.97 fps, 29.97 tbr, 1k tbn (default)
    Stream #0:1: Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s (default)
    Stream #0:2(fre): Subtitle: dvd_subtitle, 720x480 (default)
    Stream #0:3(chi): Subtitle: dvd_subtitle, 720x480
    Stream #0:4(chi): Subtitle: dvd_subtitle, 720x480
==22373== Invalid read of size 8
==22373==    at 0x6E8BA4: avformat_match_stream_specifier (utils.c:4551)
==22373==    by 0x41856B: check_stream_specifier (cmdutils.c:1964)
==22373==    by 0x426648: init_input_filter (ffmpeg_filter.c:259)
==22373==    by 0x4269AB: init_complex_filtergraph (ffmpeg_filter.c:317)
==22373==    by 0x421170: init_complex_filters (ffmpeg_opt.c:1881)
==22373==    by 0x4257DE: ffmpeg_parse_options (ffmpeg_opt.c:3047)
==22373==    by 0x43AC01: main (ffmpeg.c:4309)
==22373==  Address 0x10b46848 is 0 bytes after a block of size 40 alloc'd
==22373==    at 0x4C2C861: realloc (vg_replace_malloc.c:662)
==22373==    by 0xFC3D98: av_realloc (mem.c:168)
==22373==    by 0xFC3EE6: av_realloc_array (mem.c:212)
==22373==    by 0x6E72A0: avformat_new_stream (utils.c:3940)
==22373==    by 0x5F0500: matroska_parse_tracks (matroskadec.c:1853)
==22373==    by 0x5F23DA: matroska_read_header (matroskadec.c:2294)
==22373==    by 0x6DA6B8: avformat_open_input (utils.c:544)
==22373==    by 0x41C7DE: open_input_file (ffmpeg_opt.c:949)
==22373==    by 0x42562E: open_files (ffmpeg_opt.c:3003)
==22373==    by 0x4257AC: ffmpeg_parse_options (ffmpeg_opt.c:3040)
==22373==    by 0x43AC01: main (ffmpeg.c:4309)
==22373==
==22373== Invalid read of size 8
==22373==    at 0x6E8BA7: avformat_match_stream_specifier (utils.c:4551)
==22373==    by 0x41856B: check_stream_specifier (cmdutils.c:1964)
==22373==    by 0x426648: init_input_filter (ffmpeg_filter.c:259)
==22373==    by 0x4269AB: init_complex_filtergraph (ffmpeg_filter.c:317)
==22373==    by 0x421170: init_complex_filters (ffmpeg_opt.c:1881)
==22373==    by 0x4257DE: ffmpeg_parse_options (ffmpeg_opt.c:3047)
==22373==    by 0x43AC01: main (ffmpeg.c:4309)
==22373==  Address 0xd8 is not stack'd, malloc'd or (recently) free'd
==22373==
==22373==
==22373== Process terminating with default action of signal 11 (SIGSEGV)
==22373==  Access not within mapped region at address 0xD8
==22373==    at 0x6E8BA7: avformat_match_stream_specifier (utils.c:4551)
==22373==    by 0x41856B: check_stream_specifier (cmdutils.c:1964)
==22373==    by 0x426648: init_input_filter (ffmpeg_filter.c:259)
==22373==    by 0x4269AB: init_complex_filtergraph (ffmpeg_filter.c:317)
==22373==    by 0x421170: init_complex_filters (ffmpeg_opt.c:1881)
==22373==    by 0x4257DE: ffmpeg_parse_options (ffmpeg_opt.c:3047)
==22373==    by 0x43AC01: main (ffmpeg.c:4309)



[...]


-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Opposition brings concord. Out of discord comes the fairest harmony.
-- Heraclitus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160402/f28dde52/attachment.sig>


More information about the ffmpeg-devel mailing list