
Recherche avancée
Médias (91)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
avec chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
sans chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
config chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (106)
-
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. -
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 (...)
Sur d’autres sites (11244)
-
avformat:matroskadec : use a define to mark the EBML length is unknown
23 février 2019, par Steve Lhommeavformat:matroskadec : use a define to mark the EBML length is unknown
Unifying the way the EBML unknown length is signaled, rather than using two
incompatible values. UINT64_MAX cannot be read as a valid EBML length with the
current code.Co-authored-by : Steve Lhomme <robux4@ycbcr.xyz>
Co-authored-by : Dale Curtis <dalecurtis@chromium.org>
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc> -
How to create a m3u8 Byte-Range playlist without creating a new file
20 mars 2019, par Rodrigo ValençaI’ve found some nice related questions,such as this one How to create byte-range m3u8 playlist for HLS ? but the best answer, that provide us this ffmpeg command
ffmpeg -i sample.ts -hls_time 20 -hls_flags single_file out.m3u8
creates a new .ts file to use in the m3u8. In my application we need to create the m3u8 file, but we want it to be faster than the solution provided, it was unworkable for us. I think that the provided solution is a little slow ’cause it has to create a new file, do you guys know a solution that uses a already existing encoded ts file ? -
How to set the length metadata property with fluent-ffmpeg ?
8 avril 2024, par volume oneI have transcoded a sample video using
fluent-ffpmeg
and want to set thelength
metadata property so that the<video></video>
player knows how long the video is going to be.

To get the duration of the video I did this :


import ffmpeg from 'fluent-ffmpeg';

function ffprobePromise() {
 return new Promise((resolve, reject) => {
 ffmpeg.ffprobe('/path/to/file'), function (err, metadata) {
 FileDuration = metadata.format.duration;
 resolve()
 });
 })}

 await ffprobePromise();

 ffmpeg('path/to/output')
 .videoCodec('libx264')
 .audioCodec('libmp3lame')
 .duration(FileDuration) // !! not setting 'length' metadata property in file
 .size(`960x400`)
 // Stream output requires manually specifying output formats
 .format('mp4')
 .outputOptions(['-movflags dash', `-metadata length=${FileDuration}`]) // also not setting length in metadata



Here is the sample file that was created : https://devxxx001.s3.amazonaws.com/sample_960x400_47sec.mp4


If you download and view the properties of that file, there is no
length
property in the metadata. Hence when you play the file, the video player is not able to determine the total duration of the video. You'll notice it keeps jumping up as the video plays.

The ffmpeg documentation states that you can use
ffmpeg -i in.avi -metadata title="my title" out.flv
to set the title for example. But how do you do this withfluent-ffmpeg
?