:: [Frei0r] Can't use some frei0r effe…
Page principale
Supprimer ce message
Répondre à ce message
Auteur: Bohdan Prokopovych
Date:  
À: frei0r, ffmpeg-user
Nouveaux-sujets: Re: [Frei0r] Can't use some frei0r effects on Windows (through FFmpeg)
Sujet: [Frei0r] Can't use some frei0r effects on Windows (through FFmpeg)
Hi.

I'm using FFmpeg with frei0r library enabled, and everything works just
fine except several effects.
I can't make Cartoon and Edgeglow effects to work. Lot of other works ok,
except these two. I hit this issue only on Windows, everything is ok on OS
X.

There is some problem in my cartoon.dll and edgeglow.dll files — FFmpeg
just don't see them in my FREI0R_PATH variable.

I'll provide FFmpeg output for cartoon effect. As I can see FFmpeg looks
for cartoon.dll in my FREI0R_PATH and can't see it there (but it's there).
This problem happenes only with cartoon and edgeglow. All the rest frei0r
effects which where compiled in the same way and are located in the same
folder works as expected.

Thanks for help.

-----------------------

My FFmpeg command:

> -v debug -i C:\path\to\input.mp4 -vf frei0r=filter_name=cartoon -pix_fmt yuva420p -y -codec:v libx264 -strict -2 C:\path\to\output.mp4
>
>

FFmpeg output:

> ffmpeg version N-76262-g2ccc1b3 Copyright (c) 2000-2015 the FFmpeg developers  built with gcc 5.2.0 (GCC)  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib  libavutil      55.  4.100 / 55.  4.100  libavcodec     57.  9.100 / 57.  9.100  libavformat    57. 11.100 / 57. 11.100  libavdevice    57.  0.100 / 57.  0.100  libavfilter     6. 13.100 /  6. 13.100  libswscale      4.  0.100 /  4.  0.100  libswresample   2.  0.100 /  2.  0.100  libpostproc    54.  0.100 / 54.  0.100Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\path\to\input.mp4':  Metadata:    major_brand     : isom    minor_version   : 512    compatible_brands: isomiso2avc1mp41    encoder         : Lavf56.40.101  Duration: 00:00:10.04, start: 0.036281, bitrate: 1193 kb/s    Stream #0:0(und), 1, 1/15360: Video: h264 (High), 1 reference frame (avc1 / 0x31637661), yuv420p(left), 1280x720 [SAR 1:1 DAR 16:9], 1/60, 1061 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)    Metadata:      handler_name    : VideoHandler    Stream #0:1(und), 2, 1/44100: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)    Metadata:      handler_name    : SoundHandlerSuccessfully opened the file.Parsing a group of options: output file C:\path\to\output.mp4.Applying option vf (set video filters) with argument frei0r=filter_name=cartoon.Applying option pix_fmt (set pixel format) with argument yuva420p.Applying option codec:v (codec name) with argument libx264.Successfully parsed a group of options.Opening an output file: C:\path\to\output.mp4.Successfully opened the file.detected 4 logical cores[Parsed_frei0r_0 @ 0371dbe0] compat: called with args=[filter_name=cartoon][Parsed_frei0r_0 @ 0371dbe0] Setting 'filter_name' to value 'cartoon'[Parsed_frei0r_0 @ 0371dbe0] Looking for frei0r effect in 'C:\Users\root\resources\frei0r/cartoon.dll'.[Parsed_frei0r_0 @ 0371dbe0] Looking for frei0r effect in '/usr/local/lib/frei0r-1/cartoon.dll'.[Parsed_frei0r_0 @ 0371dbe0] Looking for frei0r effect in '/usr/lib/frei0r-1/cartoon.dll'.[Parsed_frei0r_0 @ 0371dbe0] Looking for frei0r effect in '/usr/local/lib64/frei0r-1/cartoon.dll'.[Parsed_frei0r_0 @ 0371dbe0] Looking for frei0r effect in '/usr/lib64/frei0r-1/cartoon.dll'.[Parsed_frei0r_0 @ 0371dbe0] Could not find module 'cartoon'.[AVFilterGraph @ 04cc7080] Error initializing filter 'frei0r' with args 'filter_name=cartoon'Error opening filters![AVIOContext @ 04daec60] Statistics: 0 seeks, 0 writeouts[AVIOContext @ 0371e8a0] Statistics: 75284 bytes read, 2 seeks

>
>