
Recherche avancée
Médias (1)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (57)
-
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
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 (4731)
-
rtp streaming using av_interleaved_write_frame or av_write_frame
4 avril 2013, par sinanI am using ffmpeg windows libraries to rtsp/rtp demux and muxing. But I have problem about processing time of av_interleaved_write_frame or av_write_frame, for example for h264 encoded 1920x1080 pictures it takes 10-20 ms for p frames and 70-100 ms for I frame. I am using VLC for receiver and network bandwith is 100Mb, operating system is 32 bit windows7. If I choose smaller size picture processing time is decreases but it still over for my expectation.
Is it normal these processing times.
thanks,
-
How can I take a user input in python3 and use it for the file name of ffmpeg-python file output ?
25 novembre 2022, par tylerdurden4285I am trying to do something like this :


import ffmpeg

user_input =input("give your output file a name: ")

(
 ffmpeg
 .input('input.mp4')
 .vflip()
 .output('(user_input).mp4')
 .run()
)




I am wondering how I can take the string input from the user and make it the filename. So if they input "tester" the resulting output file would be "tester.mp4".


I am running it on an ubuntu 20.04 WSL. I'm new to here and doing my best to learn python3 and ffmpeg so please be gentle with me if I broke any community rules. I'll improve as I go.


I don't know what to search for to find the answer to this problem.


-
Converting an mp4 to mp3 : file not found
8 décembre 2019, par Hywel GriffithsI’ve used the following code to convert an mp4 to mp3
public static void main(String[] args) throws IOException, InterruptedException {
String line;
String mp4File = "/Users/hywelgriffiths/Documents/home/pictures/Test.mp4";
String mp3File = "/Users/hywelgriffiths/Documents/home/pictures/Audio.mp3";
// ffmpeg -i input.mp4 output.avi as it's on www.ffmpeg.org
String cmd = "ffmpeg -i " + mp4File + " " + mp3File;
Process p = Runtime.getRuntime().exec(cmd);
BufferedReader in = new BufferedReadernew InputStreamReader(p.getErrorStream()));
while ((line = in.readLine()) != null) {
System.out.println(line);
}
p.waitFor();
System.out.println("Video converted successfully!");Currently its not finding the file I’m setting to convert. I’ve put in a cd command in the terminal with the pathway and it takes it to the correct location of the file. The error I’m getting is :
Exception in thread "main" java.io.IOException: Cannot run program "ffmpeg": error=2, No
such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at java.lang.Runtime.exec(Runtime.java:620)
at java.lang.Runtime.exec(Runtime.java:450)
at java.lang.Runtime.exec(Runtime.java:347)
at Main.main(Main.java:37)
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 4 more
in.close();
}
</init>Any help would be gratefully received