使用Vogon时出现“错误配置过滤器” FFmpeg问题

时间:2018-07-08 14:12:11

标签: python-2.7 ffmpeg

先决条件:

  

vogon,python 2.7,ffmpeg 2.3.6(较新的版本引起了+一个错误:   由于Vogon本身过期,“配置复杂的过滤器时出错”,我   假设)

 sample_project/
    ├── adwords_video_csv.py
    ├── adwords_video_csv.pyc
    ├── assets
    │   ├── car_ad.mp4
    │   ├── README.txt
    │   └── vogon.png
    ├── edit_config.py
    ├── output
    │   └── README.txt
    ├── sample.csv
    ├── sample.json
    ├── sample_win.json
    ├── vogon.py
    ├── vogon.pyc
    ├── yt_upload.py
    └── yt_upload.pyc

在执行命令后得到这样的消息:

python vogon.py sample.json --noauth_local_webserver
Input #1, image2, from 'assets/vogon.png':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #1:0: Video: png, rgba, 400x223 [SAR 2835:2835 DAR 400:223], 25 tbr, 25 tbn, 25 tbc
[Parsed_movie_1 @ 0x1b35480] Failed to avformat_open_input '/tmp/vogon_Ql9UW7.gif'
[AVFilterGraph @ 0x1af08e0] Error initializing filter 'movie' with args '/tmp/vogon_Ql9UW7.gif'
Error configuring filters.
vogon.py -h: 

positional arguments:
  config_file           Configuration JSON file

optional arguments:
  -h, --help            show this help message and exit
  --auth_host_name AUTH_HOST_NAME
                        Hostname when running a local web server.
  --noauth_local_webserver
                        Do not run a local web server.
  --auth_host_port [AUTH_HOST_PORT [AUTH_HOST_PORT ...]]
                        Port web server should listen on.
  --logging_level {DEBUG,INFO,WARNING,ERROR,CRITICAL}
                        Set the logging level of detail.
  --youtube_upload      Upload generated videos to YouTube
  --preview_line PREVIEW_LINE
                        Generate only one video, for the given CSV line number

让我认为这是一个ffmgep问题。会是什么呢?

0 个答案:

没有答案