
Recherche avancée
Autres articles (66)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
Sur d’autres sites (6626)
-
How to get ffmpeg to run on Heroku ? (libpulsecommon-15.99.so error)
10 octobre 2023, par Fabien SnauwaertI'm trying to run ffmpeg on Heroku using an Aptfile (for use in a Flask app where I want to be able to perform audio conversions using pydub, which works fine locally.)


# Aptfile
libsndfile1
libsndfile1-dev
ffmpeg
libvpx7
libpulse0
pulseaudio



I've got these buildpacks :


# Output from `heroku buildpacks`
1. heroku-community/apt
2. heroku/python



And I keep getting this error with a simple
heroku run 'ffmpeg --version'
:



ffmpeg : error while loading shared libraries : libpulsecommon-15.99.so : cannot open shared object file : No such file or directory




This is on Heroku-22, but I was getting the same error on Heroku-20.


Now I've spent hours on this and I'm still confused as to...


- 

- What is
libpulsecommon-15.99.so
even part of ? - Is it a case of the library not being installed ? Or being installed but not found ?






- 

ls $HOME/.apt/usr/lib/x86_64-linux-gnu | grep libpulse
(where$HOME
is/app/
) gives :




libpulse-simple.so.0
libpulse-simple.so.0.1.1
libpulse.so.0
libpulse.so.0.24.1



- 

echo $LD_LIBRARY_PATH
returns/app/.heroku/vendor/lib:/app/.heroku/python/lib:/app/.apt/usr/lib/x86_64-linux-gnu:/app/.apt/usr/lib/i386-linux-gnu:/app/.apt/usr/lib:




I'm lost and these are hours of my life I'm not going to get back 🤔😅



I'm also wondering if there's much a point trying to get ffmpeg to work on Heroku this way : with the dependencies listed above (in the Aptfile), I'm already at 487 MB in slug size (out of a 300 MB soft limit, 500 MB hard limit), for a codebase under 1 MB.


Any help welcome. I'll update the question as needed.


- What is
-
checkasm : hevc_pel : Check the full output in hevc_epel/hevc_qpel
12 mars 2024, par Martin Storsjö -
h264 : fix AVDISCARD_NONKEY for some interlaced content
24 juillet 2015, par John Högbergh264 : fix AVDISCARD_NONKEY for some interlaced content
When skip_frame is set to _NONKEY the decoder skips everything except intra
slices, which breaks frames that consist of an intra field together with any
other field type ; half the frame becomes garbage. This patch fixes the issue by
letting non-intra slices through if they’re part of a keyframe.Signed-off-by : Anton Khirnov <anton@khirnov.net>