
Recherche avancée
Médias (1)
-
Somos millones 1
21 juillet 2014, par
Mis à jour : Juin 2015
Langue : français
Type : Video
Autres articles (105)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras. -
Possibilité de déploiement en ferme
12 avril 2011, parMediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)
Sur d’autres sites (10963)
-
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>


-
DirectShow / x264 / AviSynth and Windows Server 2008 SP2
15 novembre 2011, par TimI'm having a hard time getting AviSynth to open video files on Windows Server 2008 SP2 (32 bit). I'm aware of the sound card issue, right now I'm using Audio=false. I've tried installing the below, but I always get the error "No combination of filters could be found to render the stream". I'm using DirectShowSource, but I don't have to ... I'm open that can open most formats your average Windows 7 machine can handle.
I've installed :
- "Desktop Extensions" - which installed Media Player and codecs
- haali media splitter and ffdshow
- Windows Media Services (for streaming, this supposedly had the mpeg codecs, but it doesn't) Windows Essentials Media Codec Pack
- K-Lite Codec Pack Full VLC
- QuickTime Tried copying mpeg.dll codecs from 32 bit Windows 7 to Server and regsvr32'ing them, but get error
- Tried copying *.AX filters from 32 bit Windows 7 to server and regsvr32'ing, but still get AVS error
AVS Script :
- video0 = DirectShowSource("video0.avi", fps=30, pixel_type="RGB24", Audio=false)
- video1 = DirectShowSource("video1.avi", fps=30, pixel_type="RGB24", Audio=false)
- Dissolve(video0, video1, 30)
Command Line :
- x264 test.avs -o test.mp4 —bframes 3 —ref 3 —vbv-maxrate 2500 —vbv-bufsize=25000 —level 40 —threads
AVS Error :
- avs [error] : "No combination of filters could be found to render the stream"
Has anyone gotten this working on Windows Server ? If so what filters codecs or other setup do I need ?
Thank you for the time.
-
DirectShow / x264 / AviSynth and Windows Server 2008 SP2
15 novembre 2011, par TimI'm having a hard time getting AviSynth to open video files on Windows Server 2008 SP2 (32 bit). I'm aware of the sound card issue, right now I'm using Audio=false. I've tried installing the below, but I always get the error "No combination of filters could be found to render the stream". I'm using DirectShowSource, but I don't have to ... I'm open that can open most formats your average Windows 7 machine can handle.
I've installed :
- "Desktop Extensions" - which installed Media Player and codecs
- haali media splitter and ffdshow
- Windows Media Services (for streaming, this supposedly had the mpeg codecs, but it doesn't) Windows Essentials Media Codec Pack
- K-Lite Codec Pack Full VLC
- QuickTime Tried copying mpeg.dll codecs from 32 bit Windows 7 to Server and regsvr32'ing them, but get error
- Tried copying *.AX filters from 32 bit Windows 7 to server and regsvr32'ing, but still get AVS error
AVS Script :
- video0 = DirectShowSource("video0.avi", fps=30, pixel_type="RGB24", Audio=false)
- video1 = DirectShowSource("video1.avi", fps=30, pixel_type="RGB24", Audio=false)
- Dissolve(video0, video1, 30)
Command Line :
- x264 test.avs -o test.mp4 —bframes 3 —ref 3 —vbv-maxrate 2500 —vbv-bufsize=25000 —level 40 —threads
AVS Error :
- avs [error] : "No combination of filters could be found to render the stream"
Has anyone gotten this working on Windows Server ? If so what filters codecs or other setup do I need ?
Thank you for the time.