
Recherche avancée
Médias (1)
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (97)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
Les notifications de la ferme
1er décembre 2010, parAfin d’assurer une gestion correcte de la ferme, il est nécessaire de notifier plusieurs choses lors d’actions spécifiques à la fois à l’utilisateur mais également à l’ensemble des administrateurs de la ferme.
Les notifications de changement de statut
Lors d’un changement de statut d’une instance, l’ensemble des administrateurs de la ferme doivent être notifiés de cette modification ainsi que l’utilisateur administrateur de l’instance.
À la demande d’un canal
Passage au statut "publie"
Passage au (...)
Sur d’autres sites (6943)
-
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
-
What's the proper way to use Docker multi-stage builds to copy a package installed with apt ?
25 décembre 2023, par Leo JiangI have
apt-get -y install ffmpeg --no-install-recommends
in my dockerfile and it's taking up more than half the image size (500MB). I read somewhere that I can try using Docker multi-stage build to reduce the file size.

Am I supposed to do something like :


FROM node:20.9.0-slim
RUN apt-get -y update \
 && apt-get -y install ffmpeg --no-install-recommends \
 && apt-get clean

FROM node:20.9.0-slim
COPY --from=0 /usr/bin/ffmpeg
COPY --from=0 /usr/bin/ffplay
COPY --from=0 /usr/share/ffmpeg/ffprobe.xsd
COPY --from=0 /usr/share/lintian/overrides/ffmpeg



I ran
dpkg -L ffmpeg
to see that ffmpeg has 30 files. Am I supposed to copy over all of the files or is just/usr/bin/ffmpeg
enough ? If I have to copy all of them, it seems like it'll break easily.

-
ffplay - change playback speed without re-encoding
18 novembre 2017, par Timothy TanI have some .264 video files that I would like to view at half playback speed, without encoding them into a new file. I remember using ffplay to do this in the past, but it was some time ago, and I can’t seem to be able to do it now. From lots of searching, this is what is supposed to work :
ffplay -f h264 -vf "setpts=2.0*PTS" filename.264
However this does not seem to change the playback speed at all. If I try :
ffplay -f h264 -filter:v "setpts=2.0*PTS" filename.264
I get an error message saying ’Failed to set value ’setpts=2.0*PTS’ for option ’filter:v’ : Option not found’.
I specifically remember being able to do this before but cannot find any information about this now. Converting the videos is not really an option because the files are finicky and often cause an error halfway through converting, corrupting the whole file.
Is there a simple solution to this problem ? Am I typing one of the commands wrongly ?