
Recherche avancée
Médias (1)
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (82)
-
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
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 (...)
Sur d’autres sites (8528)
-
Non-optimal video scaling using ffmpeg
11 septembre 2018, par QuestionI’m using ffmpeg, calling it via python, essentially I do :
file = "c:/video/video.mp4"
hd = 'ffmpeg -y -i % s -crf 23 -preset fast -c: a copy verifast480_output.mp4'% file
os.system (hd)The aim would be to make a good video resize for minor quality, such as a video from 720p to 480p.
But in rehearsing I thought of turning a 720p video into another one of the same size, to see how it was getting better or worse.
Here are the problems encountered :
The resulting videos are larger than the original( For example, a file of 220 Mb then becomes 250 Mb at the end of the transformation ), and sometimes even longer than a few seconds( if the video lasts 22:15 at the end of the transformation it becomes 22:22 ).For example this command is not as written in the documentation :
"-crf"
possible values 0-51, but if I put"-crf 0"
(means no loss of quality) the video from 250 Mb becomes over 1 Gb, only with this option.What interested me was a way to preserve the original appearance as much as possible.
-
ffmpeg : recording audio + video into separate files, pressing 'q' or ctrl-C, audio is truncated
9 août 2018, par zzzeekTrying to record from the camera and sound card at the same time. If I use the "-t" option with a fixed time, both streams come out fine. If I try to break out while it’s recording, by pressing either ’q’ or ctrl-C, the audio stream is cut typically 5 seconds short.
I’ve tried many many options, codecs, -presets, combinations of everything, changing the order of the streams, usually with no luck. the thing that works the "best" is -preset ultrafast -threads 0, however I find when using these options, the program doesn’t exit cleanly and I can’t find documentation for what "-threads 0" really means (even though its name seems obvious).
Here’s the basic command :
ffmpeg -y -f alsa -i default -f v4l2 -framerate 25 -video_size 640x480 -i /dev/video0 -map 0:a out.wav -map 1:v out.mkv
-
ffmpeg set matroska "TRACK" metadata
3 juillet 2020, par Tobias BrohlI want to set the "TRACK" field of a matroska container (see https://www.matroska.org/technical/tagging.html, section Target types) using ffmpeg. When using
-metadata TRACK=7
ffmpeg sets the value ofPART_NUMBER
to 7 (which means Disc 7, according to spec and common implementations), but not "TRACK". How do I make ffmpeg write to the "TRACK" field ?