
Recherche avancée
Autres articles (89)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, 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 (...) -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
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 (...)
Sur d’autres sites (7591)
-
Revision fb1f6f1db4 : Fix segment feature data type. It has a range of -255,255, so should be int16_t
7 juin 2013, par Ronald S. BultjeChanged Paths :
Modify /vp9/common/vp9_blockd.h
Fix segment feature data type.It has a range of -255,255, so should be int16_t, not int8_t.
Change-Id : I5ef4b6aefb6212b0f35f4754f3c4d73fddbc52a0
-
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
?

-
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 ?