
Recherche avancée
Autres articles (56)
-
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 (...) -
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 (...) -
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 (6865)
-
Requesting header information of a file
11 janvier 2012, par 0v3rrid3is there anyway I can request only the header information of any media. For example I just want to request header information of any video file so as to find its video length. I tried using
ffmpeg -i {video_url}
and did the work but I noticed that it actually downloads the given media in local storage and returns back the header information which obviously increases roundtrip time.So I would really appreciate if there is any idea for finding the length of media in a fly. BTW I have a ruby on rails application where I need to implement this.
-
FFMPEG - When I execute the bat file, it does not render and upscale the video. And it generates a VIDEO.mp4 file but with 0 bytes [closed]
12 septembre 2020, par user14266881This is the bat file I created


cd D:\sexy renders\Upscaling
ffmpeg -i CONVERT.mp4 -vf scale=3840:2160:flags=neighbor -c:v h264_nvenc -profile high -preset slow -rc vbr_2pass -qmin 17 -qmax 22 -2pass 1 -c:a:0 copy -b:a 384k VIDEO.mp4



Also to add, I've went to Advanced System Settings -> Advanced -> Environment Variables -> Path -> New -> D :\sexy renders\ffmpeg\bin


-
C# Batch File Not Running Correctly
19 juin 2013, par Scott Stevensi am trying to run an ffmpeg command using c# and CMD.
I am creating and then executing a .bat file to do this. The .bat seems to create correctly, but when executed within c# it does not run correctly - It cannot find the image names. However when i exit the debugger and run the .bat the debugger created manually it works fine.
The images have just been created by the debugger, could this have something to do with it ?
string command1= "ffmpeg -r 1/5 -i " + projectPrefix + "image-%%02d.bmp -i music.mp3 -qscale:v 2 -shortest -codec:a copy " + projectPrefix + "output.flv \n ffmpeg -i "+projectPrefix+"output.flv -vcodec wmv1 -acodec adpcm_ima_wav " + projectPrefix + ".wmv";
// Write the string to a file.
System.IO.StreamWriter file = new System.IO.StreamWriter(@"C:\Users\Scott\desktop\"+projectPrefix+".bat");
file.WriteLine(command1);
file.Close();
Thread.Sleep(10000);
System.Diagnostics.ProcessStartInfo psi = new System.Diagnostics.ProcessStartInfo(@"C:\Users\Scott\desktop\" + projectPrefix + ".bat");
psi.RedirectStandardOutput = true;
psi.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
psi.UseShellExecute = false;
System.Diagnostics.Process listFiles;
listFiles = System.Diagnostics.Process.Start(psi);
System.IO.StreamReader myOutput = listFiles.StandardOutput;
listFiles.WaitForExit(2000);
if (listFiles.HasExited)
{
string output = myOutput.ReadToEnd();
}Thanks