Open gamedazed opened 1 year ago
I'm unable to reproduce on both Manjaro (Native) and Debian (WSL1). I can only assume the problem is your custom ffmpeg build.
If this helps, here is the ffmpeg banner output from my Manjaro install
ffmpeg version n6.0 Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 13.1.1 (GCC) 20230429
configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libjxl --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librav1e --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-nvdec --enable-nvenc --enable-opencl --enable-opengl --enable-shared --enable-version3 --enable-vulkan
libavutil 58. 2.100 / 58. 2.100
libavcodec 60. 3.100 / 60. 3.100
libavformat 60. 3.100 / 60. 3.100
libavdevice 60. 1.100 / 60. 1.100
libavfilter 9. 3.100 / 9. 3.100
libswscale 7. 1.100 / 7. 1.100
libswresample 4. 10.100 / 4. 10.100
libpostproc 57. 1.100 / 57. 1.100
Could you try with --verbose-ffmpeg and see the ffmpeg output?
I saw this issue on OSX, using TwitchDownloaderCLI 1.53.2
--verbose-ffmpeg gives:
<FFMPEG LOG> libavutil 58. 6.100 / 58. 6.100
<FFMPEG LOG> libavcodec 60. 9.100 / 60. 9.100
<FFMPEG LOG> libavdevice 60. 2.100 / 60. 2.100
<FFMPEG LOG> libavformat 60. 4.101 / 60. 4.101
<FFMPEG LOG> libavfilter 9. 5.100 / 9. 5.100
<FFMPEG LOG> libswscale 7. 2.100 / 7. 2.100
<FFMPEG LOG> Unrecognized option 'preset'.
<FFMPEG LOG> libswresample 4. 11.100 / 4. 11.100
<FFMPEG LOG> Error splitting the argument list: Option not found
I solved this by removing other versions of ffmpeg from PATH and reinstalling it with brew install ffmpeg
I figured that would be the solution. I wonder what version of FFmpeg you were using because the libs are more or less up to date.
Also I believe if you put an FFmpeg binary in the same folder as TwitchDownloaderCLI, that will be prioritized over PATH.
cc @gamedazed
Checklist
Edition
Command Line Interface
Describe your issue here
The chatrender command fails in Ubuntu 20.04, but works in WIndows (CLI version using the same command). The JSON being used as input was created with the emotes embedded in the file and was produced with the same instance of TwitchDownloaderCLI. The stacktrace looks like it's complaining about the options I used, but I'm pretty sure the issue is something related to the way ffmpeg was built on Ubuntu (admittedly, my own doing).
Ubuntu 20.04 (Focal)
Latest TwitchDownloaderCLI
TwitchDownloaderCLI 1.53.0
ffmpeg built for hardware encoding
Consider the following command:
Passing the same command to Windows works great using the same JSON as input and the same destination as the output.
Now here's a point of isolation to consider. Passing the --fmpeg-path option to the Ubuntu side command and referencing the ffmpeg instance in Windows actually works (albeit slower). Here's the ffmpeg build used in Windows:
Which build option am I missing? Is it instead a later version of libavformat or something like that causing the issues? All other TwitchDownloaderCLI commands work.
Add any related files or extra information here
VOD ID: 1861806201