Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eli/static ffmpeg #721

Merged
merged 13 commits into from
Nov 6, 2023
Merged

Eli/static ffmpeg #721

merged 13 commits into from
Nov 6, 2023

Conversation

mjh1
Copy link
Contributor

@mjh1 mjh1 commented Oct 31, 2023

No description provided.

@mjh1 mjh1 marked this pull request as draft October 31, 2023 10:47
@mjh1 mjh1 closed this Nov 3, 2023
@mjh1 mjh1 reopened this Nov 3, 2023
@mjh1 mjh1 force-pushed the eli/static-ffmpeg branch from 17992c3 to 24464d6 Compare November 3, 2023 15:16
@mjh1
Copy link
Contributor Author

mjh1 commented Nov 5, 2023

@hjpotter92 finally found the problem at least, I think you were right and there's a missing option, this static build can't read from remote URLs:

ffmpeg -i https://storage.googleapis.com/livepeer-test-vod/test-max/BigBuckBunny-30sec.mp4?
ffmpeg version 6.0-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 8 (Debian 8.3.0-6)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
  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
[tcp @ 0x58f7240] Failed to resolve hostname storage.googleapis.com: System error

That works fine with the apt version of ffmpeg

@mjh1
Copy link
Contributor Author

mjh1 commented Nov 5, 2023

@hjpotter92
Copy link
Member

The "run nscd service" solution sounds a bit hacky but not really my area of expertise.. WDYT @iameli @hjpotter92 do we resort to compiling ourselves or install from another apt repo? ubuntuhandbook.org/index.php/2023/03/ffmpeg-6-0-released-how-to-install-in-ubuntu-22-04-20-04

I'll push a commit to test if the ppa from blog post ppa:ubuntuhandbook1/ffmpeg6 is working. would have been ok with installing nscd as well, although that requires a systemd service to be setup and running as well. since we already have the set of flags we need for compiling ffmpeg6, we could try that too if the ppa installation doesn't work out for us.

@mjh1 mjh1 marked this pull request as ready for review November 6, 2023 11:17
@mjh1 mjh1 requested a review from hjpotter92 November 6, 2023 11:17
@mjh1 mjh1 merged commit f3ad8f1 into main Nov 6, 2023
23 checks passed
@mjh1 mjh1 deleted the eli/static-ffmpeg branch November 6, 2023 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants