Xilinx / video-sdk

https://xilinx.github.io/video-sdk
Other
30 stars 14 forks source link

Compile FFMPEG with openssl #87

Closed andrewbeer-hub closed 4 months ago

andrewbeer-hub commented 5 months ago

https://xilinx.github.io/video-sdk/v3.0/using_ffmpeg.html#rebuilding-ffmpeg

I tried to use the guide above to allow the xlinx ffmpeg executable to leverage https protocol. I want to use s3 objects as ffmpeg sources. ffmpeg -i http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4 WORKS ffmpeg -i https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4 gives following error: https protocol not found, recompile FFmpeg with openssl, gnutls or securetransport enabled. Not so much an issue as a help request - thanks

NastoohX commented 5 months ago

Hi, Thank you for your question. You'll need to add openssl library to your build image. Kindly, have a look at https://trac.ffmpeg.org/wiki/CompilationGuide, for your specific OS, and follow the relevant/similar instructions to include openssl. For example, if you are building for a Debian based distro, you need to:

  1. sudo apt install libssl-dev
  2. include --enable-openssl to your configure command

Let us know how it goes. Cheers,

NastoohX commented 4 months ago

Closing this ticket due to inactivity. Feel free to reopen if needed. Cheers,