[FFmpeg-trac] #3977(undetermined:closed): PNG / watermark files do not work with -vf filter

FFmpeg trac at avcodec.org
Thu Sep 25 22:45:36 CEST 2014


#3977: PNG / watermark files do not work with -vf filter
-------------------------------------+-------------------------------------
             Reporter:               |                    Owner:
  SeventhCycle                       |                   Status:  closed
                 Type:  defect       |                Component:
             Priority:  normal       |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:               |  worksforme
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by SeventhCycle):

 I went ahead and downloaded the same version of the big buck bunny file
 that you're using and ran the same command. It looks like out.mov is 22758
 bytes. There's no encode processing: the error seems to prevent any sort
 of encoding.

 I'm using a static versions of FFmpeg built here (if that helps any):
 http://johnvansickle.com/ffmpeg/
 http://johnvansickle.com/ffmpeg/builds/ffmpeg-git-20140925-64bit-
 static.tar.xz


 {{{
 $ ffmpeg -i BigBuckBunny_640x360.m4v -vf
 movie=sample-128.png[o],[in][o]overlay -qscale 2 -strict -2 -vcodec mpeg4
 -acodec aac out.mov

 ffmpeg version N-40926-g303fc9b-   http://johnvansickle.com/ffmpeg/
 Copyright (c) 2000-2014 the FFmpeg developers
   built on Sep 25 2014 01:22:09 with gcc 4.8 (Debian 4.8.3-11)
   configuration: --enable-gpl --enable-version3 --disable-shared
 --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-
 libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-
 libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig
 --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb
 --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
 gray --enable-libopenjpeg --enable-libopus --disable-ffserver --enable-
 libass --enable-gnutls --cc=gcc-4.8
   libavutil      54.  7.101 / 54.  7.101
   libavcodec     56.  1.101 / 56.  1.101
   libavformat    56.  5.100 / 56.  5.100
   libavdevice    56.  1.100 / 56.  1.100
   libavfilter     5.  1.102 /  5.  1.102
   libswscale      3.  1.100 /  3.  1.100
   libswresample   1.  1.100 /  1.  1.100
   libpostproc    53.  1.100 / 53.  1.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'BigBuckBunny_640x360.m4v':
   Metadata:
     major_brand     : M4V
     minor_version   : 1
     compatible_brands: M4V M4A mp42isom
     creation_time   : 2008-06-03 05:23:28
     copyright       : © 2008 Blender Foundation | www.bigbuckbunny.org
     title           : Big Buck Bunny
     artist          : Peach Open Movie Team
     composer        : Sacha Goedegebure / Ton Roosendaal
     date            : 2008
   Duration: 00:09:56.46, start: 0.000000, bitrate: 1626 kb/s
     Stream #0:0(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo,
 fltp, 127 kb/s (default)
     Metadata:
       creation_time   : 2008-06-03 05:23:28
       handler_name    : Apple Sound Media Handler
     Stream #0:1(eng): Video: h264 (Constrained Baseline) (avc1 /
 0x31637661), yuv420p(tv, smpte170m), 640x360, 1495 kb/s, 24 fps, 24 tbr,
 2400 tbn, 4800 tbc (default)
     Metadata:
       creation_time   : 2008-06-03 05:23:28
       handler_name    : Apple Video Media Handler
 Please use -q:a or -q:v, -qscale is ambiguous
 Output #0, mov, to 'out.mov':
   Metadata:
     major_brand     : M4V
     minor_version   : 1
     compatible_brands: M4V M4A mp42isom
     date            : 2008
     copyright       : © 2008 Blender Foundation | www.bigbuckbunny.org
     title           : Big Buck Bunny
     artist          : Peach Open Movie Team
     composer        : Sacha Goedegebure / Ton Roosendaal
     encoder         : Lavf56.5.100
     Stream #0:0(eng): Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 640x360,
 q=2-31, 200 kb/s, 24 fps, 12288 tbn, 24 tbc (default)
     Metadata:
       creation_time   : 2008-06-03 05:23:28
       handler_name    : Apple Video Media Handler
       encoder         : Lavc56.1.101 mpeg4
     Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo,
 fltp, 128 kb/s (default)
     Metadata:
       creation_time   : 2008-06-03 05:23:28
       handler_name    : Apple Sound Media Handler
       encoder         : Lavc56.1.101 aac
 Stream mapping:
   Stream #0:1 -> #0:0 (h264 (native) -> mpeg4 (native))
   Stream #0:0 -> #0:1 (aac (native) -> aac (native))
 Press [q] to stop, [?] for help
 Error while filtering.
 frame=    1 fps=0.0 q=2.0 Lsize=      22kB time=00:00:00.51 bitrate=
 356.4kbits/s
 video:10kB audio:11kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 7.893614%
 }}}

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


More information about the FFmpeg-trac mailing list