[FFmpeg-devel] filter vf_findandcover

JULIAN GARDNER joolzg at btinternet.com
Wed Apr 29 23:58:55 CEST 2015


Just thought i would give this a test and took a video i had, cropped a static bit from the picture, using gimp, and tried to run this.
but I have the same problem as one of my own filters, png decode does not work, well not with a png generated with gimp.
anybody know how to export a VALID png file.

command line and output
encoder at encoder:~/ffmpeg$ ./ffmpeg -i /home/encoder/dumps/stream.ts -vf 'scale=640:360,foc=object=ball.png' -y -f mpegts a.ts
ffmpeg version N-69739-gbc3514b Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
  configuration: --bindir=/home/encoder/bin --enable-gpl --enable-version3 --enable-nonfree --disable-ffserver --disable-dxva2 --disable-vaapi --disable-vda --disable-vdpau --disable-libxcb --enable-libmp3lame --enable-postproc --enable-libfaac --enable-libzvbi --enable-libx264 --enable-libx265 --cc='ccache cc'
  libavutil      54. 18.100 / 54. 18.100
  libavcodec     56. 21.102 / 56. 21.102
  libavformat    56. 19.101 / 56. 19.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 10.100 /  5. 10.100
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
[mpegts @ 0x25ce1a0] New SDT(0x0011) Table, version 255 to 0
[mpegts @ 0x25ce1a0] New PMT(0x0040) Table, version 255 to 0
Input #0, mpegts, from '/home/encoder/dumps/stream.ts':
  Duration: 00:15:00.04, start: 8526.864000, bitrate: 9900 kb/s
  Program 48 
    Metadata:
      service_name    : DTV3
      service_provider: 
    Stream #0:0[0x41]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
    Stream #0:1[0x42]: Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 128 kb/s
[png @ 0x260cda0] PNG2
[png @ 0x260cda0] PNG3
[Parsed_foc_1 @ 0x260b640] Failed to decode image from file
[png @ 0x25c2a60] PNG2
[png @ 0x25c2a60] PNG3
[Parsed_foc_1 @ 0x260b640] Error loading image file 'ball.png'
[AVFilterGraph @ 0x25d31a0] Error initializing filter 'foc' with args 'object=ball.png'
Error opening filters!





More information about the ffmpeg-devel mailing list