
Recherche avancée
Médias (1)
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
Autres articles (51)
-
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...) -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...) -
L’utiliser, en parler, le critiquer
10 avril 2011La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
Une liste de discussion est disponible pour tout échange entre utilisateurs.
Sur d’autres sites (8089)
-
FFMPEG decoding video produces discolored YUV frame
13 mai 2019, par Jeff GongI am using FFMPEG directly to decode a single video frame encoded in H.264 from a test video I’m running using the following command :
ffmpeg -i test.mp4 -ss 00:00:00 -vframes 1 -pix_fmt yuv420 output.yuv
For some reason, when I open the file on a YUV viewer, I can distinctly tell that the colors are slightly off compared to the original input. I’ve tried to play with the colorspace and color matrix options, but nothing I do seems to replicate exactly the original colors.
For example, I’ve also tried the following commands :
ffmpeg -i test.mp4 -ss 00:00:00 -vframes 1 -pix_fmt yuv420p -vf colormatrix=bt470:bt709 output.yuv
and
ffmpeg -i test.mp4 -ss 00:00:00 -vframes 1 -pix_fmt yuv420p -color_primaries bt709 -color_trc linear -colorspace bt709 output.yuv
-
PHP Sort Order Process Codeiginiter
5 août 2017, par Alan El-nino Malmsteeni use php codeigniter to manage video using FFMPEG, but i dont know how to delete original video after convertion successful.
if(!($_FILES["upload_video"]["type"] == "video/mp4"))
{
$prename = $r.'.'.$ext;
$video = $prename.'.mp4';
$directory_path = "/home/templates/videos/".$prename;
$directory_path_full = "/home/templates/videos/".$prename;
exec("ffmpeg -i ".$directory_path_full." ".$directory_path.".mp4");
// Delete original format video
$this->load->helper("file");
unlink($directory_path_full);
}else{
$video = $r.'.'.$ext;
}When i use "unlink" it work good to delete file, but the video is corrupt (maybe php directly delete it when converting progress)
So, can you help me to create sort order php process for this case ? -
ffmpeg-python multiple outputs at different resolutions
3 janvier 2021, par Darius MandresI am using
ffmpeg-python
to convert.mp4
files to HLS streamable formats. Currently I can get it to work at full resolution using this piece of code

video = ffmpeg.input(file_path)
output = ffmpeg.output(
 video,
 filename=f"{base_path}{uuid}.m3u8",
 format="hls",
 start_number=0,
 hls_time=10,
 hls_list_size=0
)

output.run()



If the original video is
1920x1080
the resulting.ts
files will be of the same resolution. What do I have to do to get multiple resolutions ? Say360p
480p
,720p
?

And how does
ffmpeg
handle a resolution when the original is smaller ? Say I try to convert a480p
video to a resolution of720p
?