
Recherche avancée
Médias (2)
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (53)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (6830)
-
To concat two videos, one of which is the first video webcam recorder and the other is the normal video(Mp4) using ffmpeg
8 décembre 2020, par Zargam HusaynTwo videos have to be join in which the first video is a webcam recorder and the other is a normal video in which the first video I set up plays correctly but the second video does not play, only the audio is heard.


foreach ($video as $value) {
 exec("ffmpeg -i ".$this->APP_PATH.$value." -c:v libx264 -c:a aac -b:a 192k ".$this->TEMP_PATH.++$this->temp_file.".mp4");
 exec("ffmpeg -i ".$this->TEMP_PATH.$this->temp_file.".mp4 -c:a aac -ar 48000 -ac 2 -c:v copy -video_track_timescale 600 ".$this->TEMP_PATH.++$this->temp_file.".mp4");
 $text .= "file '".$this->TEMP_PATH.$this->temp_file.".mp4'\n";
 }
 
 $file = $this->TEMP_PATH.++$this->temp_file.".txt";
 //chmod($this->TEMP_PATH, 0777);
 file_put_contents($file,$text);
 chmod($file, 0777);

 Log::info(" ********** file paths ********** ".$text);

 exec("ffmpeg -safe 0 -f concat -i ".$file." -c copy ".$this->TEMP_PATH.$this->final);



-
FFMPEG Video to still images and back to video loss less
4 novembre 2012, par RigoniI'm trying to extract image from an uncompressed AVI video using ffmpeg with the command :
ffmpeg -i sorce.avi -f image2 -pix_fmt bgr24 images/%1d.bmp
All is ok, but now I need to revert these images back to a video file.
I'm trying using this command :ffmpeg -f image2 -r 24 -i marked/%1d.bmp -y -vcodec ffv1 -pix_fmt bgr24 test.avi
But, the output video is compressed and with bad quality.
Is there any way to extract the images in RGB format and than back to a lossless video ?
I also tryed to use -vcodec rawvideo, but the quality still bad.
Best regards.
-
Subtitles aren't being burnt into the video | embedding srt into video frames [closed]
29 février 2024, par X3R0Describe the bug


I'm trying to burn a subtitles.srt file onto the video (having the subtitle embeded within the frames themselves)


To Reproduce


both `input.mp4` and `subtitles.srt` are available to the WASM FFMPEG FS
const converted = await ffmpegRef.current.exec([
 '-i', "input.mp4", // Input File
 '-i', 'subtitles.srt', // Burn subtitles into video
 '-vf', 'subtitles=subtitles.srt', // Burn subtitles into video
 "output.mp4" // Output File
]);



Expected behavior


The Subtitles should be burned into the video.


Desktop :


- 

- OS : Windows 10
- Browser Chrome
- Version 122.0.6261.94 (Official Build) (64-bit) (cohort : M122 Rollout)








Additional context


Example extract from the
subtitles.srt
file

1
00:00:00,280 --> 00:00:01,379
Hi,

2
00:00:01,379 --> 00:00:01,679
and

3
00:00:01,679 --> 00:00:01,980
welcome

4
00:00:01,980 --> 00:00:02,200
to

5
00:00:02,200 --> 00:00:03,220
ClipDrop.

6
00:00:03,799 --> 00:00:03,919
Congratulations

7
00:00:03,919 --> 00:00:04,400
on

8
00:00:04,400 --> 00:00:04,719
being

9
00:00:04,719 --> 00:00:05,040
selected

10
00:00:05,040 --> 00:00:05,259
to

11
00:00:05,259 --> 00:00:05,480
do