
Recherche avancée
Médias (91)
-
Spitfire Parade - Crisis
15 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Wired NextMusic
14 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (66)
-
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)
Sur d’autres sites (12604)
-
playing video while encoding with ffmpeg
28 novembre 2013, par user1857519in my Webapplication the user should be able to upload his own videos (either format).
I am using ffmpeg to encode the video to .mp4 and .flv using the command :ffmpeg -i uservid.whatever output.mp4 output.flv
while ffmpeg encodes the video, it's loaded in the flowplayer on the users-page. But flowplayer always says "file not found" cause ffmpeg is not yet finish with encoding.
Is there a possibility to load the video in a certain player even if it is not yet completly encoded ? maybe there is a ffmpeg option ?
Thanks
-
Issue #16
15 décembre 2013, par GrandtIssue #16
* Fixed : An issue, where PNG images exceeding the maximum specified
sizes were broken during resizing.
* Fixed : Issue #16, where ePub 3 multimedia needed to be added to the
automatic chapter processing.
* Fixed : Potential issue related to Issue #16 with loading large files
from external sources, where these might result in memory errors. These
will now be loaded into a temp file on the server, before being added to
the book. -
Returning ffprobe metadata to another function using fluent-ffmpeg
28 avril 2021, par noquierouserI'm trying to use
fluent-ffmpeg
'sffprobe
to get the metadata of a file and add it to a list, but I want to separate the process of getting the metadata from the method related to checking the file, mostly because theaddFileToList()
function is quite long as is and theffprobe
routine is quite long as well.

I've tried the following code, but it doesn't give the results I'm expecting :


export default {
 // ...
 methods: {
 getVideoMetadata (file) {
 const ffmpeg = require('fluent-ffmpeg')
 ffmpeg.ffprobe(file.name, (err, metadata) => {
 if (!err) {
 console.log(metadata) // this shows the metadata just fine
 return metadata
 }
 })
 },
 addFileToList (file) {
 // file checking routines
 console.log(this.getVideoMetadata(file)) // this returns null
 item.metadata = this.getVideoMetadata(file)
 // item saving routines
 } 
 }
}



I've already tried to nest the
getVideoMetadata()
routines insideaddFileToList()
, and it works, but not as intended, because the actions are carried, but not the first time, only the second time. It seems to be an async issue, but I don't know how can I tackle this.

What can I do ? Should I stick to my idea of decoupling
getVideoMetadata()
or should I nest it insideaddFileToList()
and wrestle withasync
/await
?