
Recherche avancée
Autres articles (68)
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
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 (...)
Sur d’autres sites (6092)
-
create associative data from ffmpeg string result into python
9 septembre 2018, par QuestionTo perform video operations I’m using python with the support of ffmpeg. After I’ve uploaded videos, I need to resize them, so I’ll follow these instructions to calculate the video dimensions :
link_v = "C:/video/video.mp4"
ffmpeg = "ffprobe -v error -show_entries stream=width,height -of default=noprint_wrappers=1 %s"% link_v
info = check_output(ffmpeg, shell=True)
print(info)The console result is something like this :
width=350
height=350But I do not care about this, when it is printed as if it were a string, because the real data would be : b’width=350\r\nheight=350\r\n’ or [’width=350\r\nheight=350\r\n’].
What I really want to see is an associative data : "width : 350, height : 350", once I get then I would call for example width in the info mode [’width’], how can I get this result ?
-
How to make command string for ffmpeg in c# correctly ?
9 octobre 2018, par Rolens CentottantaquattroI wrote this code for make a video from still image and audio with ffmpeg in c#.
I wrote the argument string and inserted the variable parameters between braces.
Trying to start the program nothing happens. Something wrong with the string or something ?string image = folderInput.SelectedPath + "/" + name+ ".jpg";
bmp.Save(immagine);
string audioMixing = folderInput.SelectedPath + "/" + name + ".wav";
string videoOutput = folderOutput.SelectedPath + "/" + name + ".mp4";
const string templateArgumentsVideo = " -loop l -i {0} -i {1} -c:v libx264 -tune stillimage c:a aac -b:a 192k -pix_fmt yuv420p -shortest {2} -y";
var argumentsVideo = string.Format(templateArgumentsVideo,image,audioMixing,videoOutput);
Process makeVideo = new Process();
makeVideo.StartInfo.UseShellExecute = false;
makeVideo.StartInfo.RedirectStandardOutput = true;
makeVideo.StartInfo.CreateNoWindow = true;
makeVideo.StartInfo.FileName = (Convert.ToString(Environment.CurrentDirectory)) + "\\ffmpeg.exe";
makeVideo = Process.Start(makeVideo.StartInfo.FileName, argumentsVideo);
makeVideo.WaitForExit(); -
lavf/dashenc : set FLAC manifest codec string to "flac"
14 novembre 2018, par Jan Ekströmlavf/dashenc : set FLAC manifest codec string to "flac"
Internally in ISOBMFF the FLAC-in-ISOBMFF draft uses "fLaC"
as the identifier for FLACSampleEntry, and there seems to be no
MPEG-DASH specification for the in-manifest identifier for FLAC.After testing the browsers' implementations, it seems like all of
the major browser vendors have decided to utilize the MIME type for
FLAC ("audio/flac") as the identifier. This change set leads to
that string being utilized for FLAC streams instead of the sample
entry identifier ("fLaC"), which is the default behavior.Verified by auri_ on IRC to play with the major browsers.