
Recherche avancée
Autres articles (88)
-
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 (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (18480)
-
avcodec/mediacodecdec : restructure mediacodec_receive_frame
24 avril 2018, par Aman Guptaavcodec/mediacodecdec : restructure mediacodec_receive_frame
The new logic follows a recommendation by @rcombs to use
dequeueInputBuffer with a timeout of 0 as a way to detect
whether the codec wants more data. The dequeued buffer index is
kept in MediaCodecDecContext until it can be used next.A similar technique is also used by the Google's official media
player Exoplayer : see MediaCodecRenderer.feedInputBuffer().Signed-off-by : Aman Gupta <aman@tmm1.net>
Signed-off-by : Matthieu Bouron <matthieu.bouron@gmail.com> -
What is the most suitable H265 setting converting from H264 on ffmpeg ?
9 juin 2017, par minion007Currently, I was trying to convert my videos no matter personal videos or movies from H264 to H265. But that was much harder than what I expected.
Firstly, it took me over 10 hours to build ffmpeg on Linux and I believe I’m still having some problems on dealing with this.
Secondly, I notice there is degradation after converting by using the setting or parameters from Internet or ffmpeg official website. On the other hand, the video size would be the same or even bigger than the original video size if I use small crf like 23 or 28.
For instance, sudo ffmpeg -i input.mp4 -c:v hevc -x265-params lossless -preset medium -crf 30 -c:a copy output.mkv
sudo ffmpeg -i input.mp4 -c:v libx265 -x265-params lossless -preset medium -crf 30 -c:a copy output.mkv
the above two settings give me the very small video size (between 21% 23% of the original video) which is the main reason why I want to convert my videos to H265 but drawback would be the quality of converted video is worse than the original video (I would may be between 30% 35% degradation).
Thirdly, the size of video would be much bigger than the original size of video if I use the lossless parameter.
sudo ffmpeg -i input.mp4 -c:v libx265 -x265-params lossless=1 -preset medium -crf 30 -c:a copy output.mkv
the above setting can keep the quality of the original video but size would be huge (above 200% of original video).
Is there any suggestion ?
-
OpenFaas. Write python function with FFmpeg using
11 août 2021, par Валентин НикинI need to write OpenFaas function which can accept binary file as parameter. This function will extract some data from that binary file. Based on that data function will generate ffmpeg command. And finally function must be call ffmpeg to process generated command and return file as output.


Function language must be python, because I need to use some python modules to process input binary file.


The main questions :


- 

- Can I accept binary a file as function parameter (in python function) ?
- Can I call ffmpeg from python function, and return binary file as output ?






I have already met with alexellis official example (https://github.com/alexellis/openfaas-streaming-templates) but that example used bash language.


I have one idea, but I don't know is it correct.
Maybe I can use example with bash, to accept binary file as parameter, then I call python script, after that I call ffmpeg, and return file as output as described in the example.
But I need some python modules available with pip. So, I don't know how I can got this.


I'm newest in OpenFaas, so any idea would be appriciated