
Recherche avancée
Médias (91)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
-
Les Miserables
4 juin 2012, par
Mis à jour : Février 2013
Langue : English
Type : Texte
-
Ne pas afficher certaines informations : page d’accueil
23 novembre 2011, par
Mis à jour : Novembre 2011
Langue : français
Type : Image
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Richard Stallman et la révolution du logiciel libre - Une biographie autorisée (version epub)
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (64)
-
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. -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras. -
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
Sur d’autres sites (12893)
-
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


-
Generating fragmented mp4 ffmpeg is causing the video to have a duration of 0ms in bento4
23 octobre 2020, par nobossIm using ffmpeg to generate a fragmented mp4 with the following command :


ffmpeg -re -i ./input.mp4 -g 52 \
-strict experimental -acodec aac -ab 64k -vcodec libx264 -vb 448k \
-f mp4 -movflags frag_keyframe+empty_moov \
./output.mp4



When I'm playing it in an HTMLMediaElement the
video.duration = Infinity
.
When I inspect the file withmp4info
from bento4 I get :

File:
 major brand: isom
 minor version: 200
 compatible brand: isom
 compatible brand: iso2
 compatible brand: avc1
 compatible brand: mp41
 fast start: yes

Movie:
 duration: 612961 ms
 time scale: 1000
 fragments: no

Found 2 Tracks
Track 1:
 flags: 3 ENABLED IN-MOVIE
 id: 1
 type: Video
 duration: 0 ms
 language: und
 media:
 sample count: 15322
 timescale: 12800
 duration: 7844864 (media timescale units)
 duration: 612880 (ms)
 bitrate (computed): 2587.007 Kbps
[...]
Track 2:
 flags: 3 ENABLED IN-MOVIE
 id: 2
 type: Audio
 duration: 0 ms
 language: eng
 media:
 sample count: 26398
 timescale: 44100
 duration: 27031552 (media timescale units)
 duration: 612960 (ms)
 bitrate (computed): 128.584 Kbps
[...]



Has someone any idea what I'm doing wrong ?


-
VIDEO HLS (m3u8) - Simulate a local connection rate ?
13 octobre 2017, par kouakou alexyI am in local development, wampserver and laravel 5.3
I use ffmpeg to convert video files to HLS (video.m3u8).
The quality adapts according to the user’s connection speed. Youtube uses this technology.
I now want to test according to the bitrate but I am in local.
The video plays automatically in the best format.Is there a solution to simulate a local connection rate ?