Recherche avancée

Médias (1)

Mot : - Tags -/publicité

Autres articles (105)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This 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, par

    La 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, par

    MediaSPIP 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 duruburak

    I'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 *&#xA;import ffmpeg&#xA;import threading&#xA;&#xA;def start_ffmpeg_thread(audio_part, video_part, path):&#xA;    threading.Thread(target=start_ffmpeg, args=(audio_part, video_part, path)).start()&#xA;&#xA;def start_ffmpeg(audio_part, video_part, path):&#xA;    while True:&#xA;        if is_cancelled:&#xA;            break&#xA;        threading.Thread(target=ffmpeg_func, args=(audio_part, video_part, path)).start()&#xA;&#xA;def ffmpeg_func(audio_part, video_part, path):&#xA;    ffmpeg.output(audio_part, video_part, path).run(overwrite_output=True)&#xA;&#xA;def cancel_ffmpeg():&#xA;    global is_cancelled&#xA;    is_cancelled = True&#xA;&#xA;&#xA;is_cancelled = False&#xA;&#xA;root = Tk()&#xA;&#xA;video_part = ffmpeg.input("")&#xA;audio_part = ffmpeg.input("")&#xA;path = "<path>"&#xA;&#xA;button_1 = Button(root, text="Start", command=lambda: start_ffmpeg_thread(audio_part, video_part, path))&#xA;button_1.pack(pady=30, padx=30)&#xA;&#xA;button_2 = Button(root, text="Stop", command=cancel_ffmpeg)&#xA;button_2.pack(pady=30, padx=30)&#xA;&#xA;root.mainloop()&#xA;</path>

    &#xA;

  • DirectShow / x264 / AviSynth and Windows Server 2008 SP2

    15 novembre 2011, par Tim

    I'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 Tim

    I'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.