[FFmpeg-user] Filter Question

Hanna Frangiyyeh frangiyyeh at gmail.com
Wed Jan 5 00:26:29 EET 2022


Hi Michael;
I getting now the error message below:

PS D:\TEMP\Source Files\Audio>
D:\Apps\AudioRendering\AudioRendering\AudioRendering\ffmpeg.exe -i
"D:\TEMP\Source Files\
720E\MLB21_INT_PLAYER_720.mov" -i "D:\TEMP\Source
Files\Audio\file_example_WAV_1MG.wav" -filter_complex 'split [rgb_in][
alpha_in];[rgb_in] lutrgb=a=minval [rgb_out];[alpha_in] format=rgba, split
[T1], fifo, lutrgb=r=maxval:g=maxval:b=maxval
, [T2] overlay [rgb_out][T1] fifo, lutrgb=r=minval:g=minval:b=minval
[T2][alpha_out]' -map '[rgb_out]' "D:\TEMP\Source F
iles\Done\MLB21_INT_PLAYER_720_ProRes422-1080_ST_F.MOV" -map '[alpha_out]'
"D:\TEMP\Source Files\Done\MLB21_INT_PLAYER_7
20_ProRes422-1080_ST_M.MOV" -acodec copy -map 0:0 -map 1:a:0 -y  1:a:0 -y
ffmpeg version 2021-12-09-git-b9f4c1231f-full_build-www.gyan.dev Copyright
(c) 2000-2021 the FFmpeg developers
  built with gcc 11.2.0 (Rev2, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static
--disable-w32threads --disable-autodetect --enable-fontc
onfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp
--enable-lzma --enable-libsnappy --enable-zlib --enab
le-librist --enable-libsrt --enable-libssh --enable-libzmq
--enable-avisynth --enable-libbluray --enable-libcaca --enabl
e-sdl2 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d
--enable-libzvbi --enable-librav1e --enable-libsvtav1 --en
able-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2
--enable-libxvid --enable-libaom --enable-libopenjpeg -
-enable-libvpx --enable-libass --enable-frei0r --enable-libfreetype
--enable-libfribidi --enable-libvidstab --enable-lib
vmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid
--enable-ffnvcodec --enable-nvdec --enable-nvenc --
enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libshaderc
--enable-vulkan --enable-libplacebo --enable-opencl --
enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt
--enable-libopencore-amrwb --enable-libmp3lame --
enable-libshine --enable-libtheora --enable-libtwolame
--enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable
-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis
--enable-ladspa --enable-libbs2b --enable-libfl
ite --enable-libmysofa --enable-librubberband --enable-libsoxr
--enable-chromaprint
  libavutil      57. 10.101 / 57. 10.101
  libavcodec     59. 14.100 / 59. 14.100
  libavformat    59.  9.102 / 59.  9.102
  libavdevice    59.  0.101 / 59.  0.101
  libavfilter     8. 19.100 /  8. 19.100
  libswscale      6.  1.101 /  6.  1.101
  libswresample   4.  0.100 /  4.  0.100
  libpostproc    56.  0.100 / 56.  0.100
Trailing option(s) found in the command: may be ignored.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\TEMP\Source
Files\720E\MLB21_INT_PLAYER_720.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2021-06-22T21:35:23.000000Z
  Duration: 00:00:03.00, start: 0.000000, bitrate: 1371375 kb/s
  Stream #0:0[0x1](eng): Video: qtrle (rle  / 0x20656C72),
argb(progressive), 1280x720, 1368581 kb/s, SAR 1:1 DAR 16:9,
59.94 fps, 59.94 tbr, 60k tbn (default)
    Metadata:
      creation_time   : 2021-06-22T21:35:23.000000Z
      handler_name    : Apple Video Media Handler
      vendor_id       : appl
      encoder         : Animation
      timecode        : 00:00:00;00
  Stream #0:1[0x2](eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
    Metadata:
      creation_time   : 2021-06-22T21:35:23.000000Z
      handler_name    : Time Code Media Handler
      timecode        : 00:00:00;00
[wav @ 000001c0145f2440] Discarding ID3 tags because more suitable tags
were found.
Guessed Channel Layout for Input Stream #1.0 : stereo
Input #1, wav, from 'D:\TEMP\Source Files\Audio\file_example_WAV_1MG.wav':
  Metadata:
    title           : Impact Moderato
    album           : YouTube Audio Library
    artist          : Kevin MacLeod
    genre           : Cinematic
  Duration: 00:00:33.53, bitrate: 256 kb/s
  Stream #1:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 8000 Hz, stereo,
s16, 256 kb/s
[AVFilterGraph @ 000001c0146020c0] No output pad can be associated to link
label 'T1'.
Error initializing complex filters.
Invalid argument
PS D:\TEMP\Source Files\Audio>

Thank you.
Hanna


On Tue, Jan 4, 2022 at 1:39 PM Michael Koch <astroelectronic at t-online.de>
wrote:

> Am 04.01.2022 um 22:26 schrieb Hanna Frangiyyeh:
> > Ok, I added the commas, now I have the following error:
> > PS D:\TEMP\Source Files\Audio>
> > D:\Apps\AudioRendering\AudioRendering\AudioRendering\ffmpeg.exe  -i
> > "D:\TEMP\Source Files
> > \720E\MLB21_INT_PLAYER_720.mov" -i "D:\TEMP\Source
> > Files\Audio\file_example_WAV_1MG.wav" -vf scale=1920:1080 -filter_com
> > plex 'split [rgb_in][alpha_in],[rgb_in] lutrgb=a=minval
> > [rgb_out],[alpha_in] format=rgba, split [T1], fifo, lutrgb=r=max
> > val:g=maxval:b=maxval, [T2] overlay [rgb_out][T1] fifo,
> > lutrgb=r=minval:g=minval:b=minval [T2][alpha_out]' -map '[rgb_ou
> > t]' "D:\TEMP\Source
> > Files\Done\MLB21_INT_PLAYER_720_ProRes422-1080_ST_F.MOV" -map
> '[alpha_out]'
> > "D:\TEMP\Source Files\Do
> > ne\MLB21_INT_PLAYER_720_ProRes422-1080_ST_M.MOV" -acodec copy -map 0:0
> -map
> > 1:a:0 -y
>
> sorry, I meant semicolons.
> I'm not sure if it's ok to use -vf and -filter_complex in the same
> command line. It's better if you insert the scale filter at the
> beginning of the complex filtergraph.
>
> Michael
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>


More information about the ffmpeg-user mailing list