
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (73)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)
Sur d’autres sites (7840)
-
FFMPEG batch convert mkv with subtitles hardcode - tv shows [duplicate]
5 décembre 2017, par ValantisThis question already has an answer here :
hello i want to convert hardcode mkv files with their subs ( .srt ) for single episode for example i use
ffmpeg -i video.avi -vf subtitles=subtitle.srt out.avi
and its ok.. i want to try if is possible to make a bash batch script to do that on a directory with several mkv’s there..
i tried with that code but the result of the show is the same with all episodes something i must changed to make it work
#!/bin/bash
for video in *.mkv
do
base=${video%.mkv}
ffmpeg -i $base.mkv -vf subtitles=$base.el.srt $base-out.mkv
donethanks for any help
-
Converted mp4 from gif didn't shows in web browser
16 décembre 2017, par Stojan KukrikaI am trying to convert animated GIFs to MP4 files using ffmpeg. Only this convert GIF to MP4 :
exec('ffmpeg -i ' . $destinationPath . $filename . ' -movflags faststart -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" ' . $destinationPath . $newFilename);
And I can play it in my pc when download it from server, but it’s didn’t want to pay in browser. Browser returns me this error :
After that GIF to MP4 converor I get one image for thumbnail image and that is works fine :
exec("ffmpeg -i " . $destinationPath . $video . ".mp4 -ss 00:00:01.000 -vframes 1 ".storage_path().$folderNameThumb."/media.png");
and it’s shows me a valid frame of GIF. Can anybody help me how to fix this problem with video ?
ffprobe output
ffprobe version 2.8.13 Copyright (c) 2007-2017 the FFmpeg developers built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-16)
configuration:
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101Here is what I get from one MP4 file (run ffprobe filename.mp4) :
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2mp41
encoder : Lavf56.40.101
Duration: 00:00:02.16, start: 0.000000, bitrate: 593 kb/s
Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 500x312 [SAR 1:1 DAR 125:78], 589 kb/s, 8.33 fps, 8.33 tbr, 12800 tbn, 25 tbc (default)
Metadata:
handler_name : VideoHandlerBecause I use Laravel this is method for return media :
public function getGifImage(Media $media)
{
$path = storage_path() . '/uploads/gif/' . $media->content;
if (file_exists($path)) {
return response()->download($path, null, [], null);
}
} -
Using ffprobe/ffmpeg to extract individual frames and types in playback sequence
24 janvier 2018, par HélderI am able to extract keyframes using ffmpeg. Something like this that I have been using :
ffmpeg -i input.mp4 -vf "select='eq(pict_type\,I)" -vsync vfr -qscale:v 2 I-thumbnails-%02d.png -vf "select='eq(pict_type\,B)" -vsync vfr -qscale:v 2 B-thumbnails-%02d.png -vf "select='eq(pict_type\,P)" -vsync vfr -qscale:v 2 P-thumbnails-%02d.png
Now the issue is, I would like these extracted frames to be in playback sequence, if possible, the way they are extracted should have a timestamp or any way to know that they start in a certain sequence, example, from start to end :
IBBBIPPB......BI
but in a way that I can sort the frames in the playback sequence.
I want to use this to load in python to extract motion vectors but they should all follow certain playback sequence. Any help ?