[FFmpeg-trac] #5354(avfilter:new): Concat filter breaks alpha overlay

FFmpeg trac at avcodec.org
Tue Mar 22 16:28:37 CET 2016


#5354: Concat filter breaks alpha overlay
-------------------------------------+-------------------------------------
             Reporter:  d-fens_      |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avfilter
              Version:  git-master   |               Resolution:
             Keywords:  overlay      |               Blocked By:
  regression                         |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by d-fens_):

 seems also broken:

 {{{
 ffmpeg  -i "overlay.png" -i "in.mp4" -filter_complex " [1:v]
 setsar=sar=1/1 [sa
 red];  [sared][0:v] overlay=format=yuv420p [overlay];[1:v][overlay]
 concat=n=2"
 -y out.mp4
 ffmpeg version N-79075-ga7b8a6e Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 5.3.0 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-av
 isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
 --enab
 le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-
 libcaca --
 enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm
 --enable-l
 ibilbc --enable-libmodplug --enable-libmfx --enable-libmp3lame --enable-
 libopenc
 ore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus
 --ena
 ble-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr
 --enabl
 e-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab
 --enable-l
 ibvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack
 --enable-li
 bwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid
 --enab
 le-libzimg --enable-lzma --enable-decklink --enable-zlib
   libavutil      55. 19.100 / 55. 19.100
   libavcodec     57. 28.103 / 57. 28.103
   libavformat    57. 28.102 / 57. 28.102
   libavdevice    57.  0.101 / 57.  0.101
   libavfilter     6. 39.102 /  6. 39.102
   libswscale      4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc    54.  0.100 / 54.  0.100
 Input #0, png_pipe, from 'overlay.png':
   Duration: N/A, bitrate: N/A
     Stream #0:0: Video: png, rgba(pc), 1920x1080 [SAR 7087:7087 DAR 16:9],
 25 tb
 r, 25 tbn, 25 tbc
 Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'in.mp4':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2avc1mp41
     encoder         : Lavf57.25.100
   Duration: 00:00:01.02, start: 0.021333, bitrate: 2236 kb/s
     Stream #1:0(eng): Video: h264 (High) (avc1 / 0x31637661),
 yuvj420p(pc), 1920
 x1080, 2138 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
     Metadata:
       handler_name    : VideoHandler
     Stream #1:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz,
 stereo, flt
 p, 127 kb/s (default)
     Metadata:
       handler_name    : SoundHandler
 [overlay @ 00000000005afde0] [Eval @ 000000000032e980] Undefined constant
 or mis
 sing '(' in 'yuv420p'
 [overlay @ 00000000005afde0] Unable to parse option value "yuv420p"
 [overlay @ 00000000005afde0] [Eval @ 000000000032e9f0] Undefined constant
 or mis
 sing '(' in 'yuv420p'
 [overlay @ 00000000005afde0] Unable to parse option value "yuv420p"
 [overlay @ 00000000005afde0] Error setting option format to value yuv420p.
 [Parsed_overlay_1 @ 00000000005a1840] Error applying options to the
 filter.
 [AVFilterGraph @ 000000000059bb20] Error initializing filter 'overlay'
 with args
  'format=yuv420p'
 Error initializing complex filters.
 Invalid argument
 }}}

 is this also a regresion caused by
 [http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=13c62525362595cc914161aaa192953dd9077233
 13c62525362595cc914161aaa192953dd9077233] ?

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5354#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list