
Recherche avancée
Médias (91)
-
Spitfire Parade - Crisis
15 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Wired NextMusic
14 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (10)
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Librairies et logiciels spécifiques aux médias
10 décembre 2010, parPour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...) -
Qualité du média après traitement
21 juin 2013, parLe bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...)
Sur d’autres sites (2769)
-
How to multithread ffmpeg-python process ?
19 décembre 2022, par duruburakI'm working on a cancel button that cancels the ffmpeg video & audio merging process when pressed.
But while loop doesn't keep looping once ffmpeg starts execution, while loop continues to loop after ffmpeg finished the process. I couldn't really figure it out, sorry if it's duplicate.


I know the code looks really silly but I'm kinda doomed, any help will be greatly appreciated. Thanks in advance.


from tkinter import *
import ffmpeg
import threading

def start_ffmpeg_thread(audio_part, video_part, path):
 threading.Thread(target=start_ffmpeg, args=(audio_part, video_part, path)).start()

def start_ffmpeg(audio_part, video_part, path):
 while True:
 if is_cancelled:
 break
 threading.Thread(target=ffmpeg_func, args=(audio_part, video_part, path)).start()

def ffmpeg_func(audio_part, video_part, path):
 ffmpeg.output(audio_part, video_part, path).run(overwrite_output=True)

def cancel_ffmpeg():
 global is_cancelled
 is_cancelled = True


is_cancelled = False

root = Tk()

video_part = ffmpeg.input("")
audio_part = ffmpeg.input("")
path = "<path>"

button_1 = Button(root, text="Start", command=lambda: start_ffmpeg_thread(audio_part, video_part, path))
button_1.pack(pady=30, padx=30)

button_2 = Button(root, text="Stop", command=cancel_ffmpeg)
button_2.pack(pady=30, padx=30)

root.mainloop()
</path>


-
Splitting audio by vocal / voice
1er octobre 2020, par ML85I am working with audio file using webrtcvad and pydub. The split of any fragment is by silence of the sentence.
Is there any way by which the split can be done at each vocal (after each spoken word) ?
If librosa/ffmpeg/pydub has any feature like this, can split is possible at each vocal ? but after split, I need start and end time of the vocal exactly what that vocal part has positioned in the original file.
One simple solution or way to split by ffmpeg is also defined by :


https://gist.github.com/vadimkantorov/00bf4fbe4323360722e3d2220cc2915e


but this is also splitting by silence, and with each padding number or the frame size, the split is different. I am trying split by vocal.


-
include a string variable that contains spaces into the 'subprocess.run()' [duplicate]
9 juillet 2022, par zaynI'm trying to combine a video and it's audio into one file using ffmpeg using subprocess in python and I want to do something like this.


name = 'spider man.mp4'

subprocess.run("ffmpeg -i " + 'temp\\vid.mp4' + " -i "+ 'temp\\aud.mp4' + " -c copy " + path+'\\'+name)




"name" is the name concatenated with the extension of the resulting file but as you see, "name" contains spaces so when I pass it to the subprocess it takes the first word only which is (spider), so he don't find the extension of the resulting file and it give this error


Unable to find a suitable output format for 'C:\Users\Zain\Downloads\spider'
C:\Users\Zain\Downloads\spider: Invalid argument