
Recherche avancée
Médias (1)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (92)
-
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 (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (10051)
-
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
?