Recherche avancée

Médias (0)

Mot : - Tags -/signalement

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (43)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • 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 (...)

  • 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.

Sur d’autres sites (6365)

  • ffmpeg add watermark by output part count (watermark1.png for part 1, ...)

    12 octobre 2020, par Steapy

    I have currently following code (not optimized yet !) :

    


    converter.StartInfo.Arguments = @"-i video.mp4 -i watermark.png -filter_complex ""overlay = x = (main_w - overlay_w) / 2:y = (main_h - overlay_h) / 2"" output%03d.mp4";


    


    This renders all my parts with the same "watermark.png" file as a watermark. But now i want to do something like this :

    


    converter.StartInfo.Arguments = @"-i video.mp4 -i watermark%03d.png -filter_complex ""overlay = x = (main_w - overlay_w) / 2:y = (main_h - overlay_h) / 2"" output%03d.mp4";


    


    "output000.mp4" has "watermark000.png" as a watermark,
"output001.mp4" has "watermark001.png" as a watermark,
"output002.mp4" has "watermark002.png" as a watermark, ...

    


    I need it in only one line, as if i would type it in cmd and it should work in c# with UseShellExecute=false.

    


    Any idea ?

    


  • avformat/argo_asf : fix enforcement of chunk count

    19 septembre 2020, par Zane van Iperen
    avformat/argo_asf : fix enforcement of chunk count
    

    Enforcing num_chunks == 1 only makes sense when demuxing from an ASF
    file. When embedded in a BRP file, an ASF stream can have multiple chunks.

    Signed-off-by : Zane van Iperen <zane@zanevaniperen.com>

    • [DH] libavformat/argo_asf.c
  • How to get the video count of youtube_dl (1 of 256) in its output and hide ffmpeg console when converting the format ?

    28 août 2020, par Kristen

    I am creating a GUI program in Qt creator via Pyside2 and it's a program that lets you download Youtube music. My goal is to get the video count like x of 256 or x of 2 or 1 of 256 when downloading the playlist but I don't know how. I've come across two problems.

    &#xA;

    First problem : I don't know how to get this information from youtube_dl output

    &#xA;

    [youtube:playlist] Downloading playlist PLi0XaxnSihZSnD1TNm82Y43o92r6UNEfH - add --no-playlist to just download video -5EmnQp3V48&#xA;[youtube:playlist] PLi0XaxnSihZSnD1TNm82Y43o92r6UNEfH: Downloading webpage&#xA;[download] Downloading playlist: Dance Central Songs&#xA;[youtube:playlist] PLi0XaxnSihZSnD1TNm82Y43o92r6UNEfH: Downloading page #1&#xA;[youtube:playlist] PLi0XaxnSihZSnD1TNm82Y43o92r6UNEfH: Downloading page #2&#xA;[youtube:playlist] playlist Dance Central Songs: Downloading 251 videos&#xA;[download] Downloading video **1 of 251**&#xA;[youtube] bESGLojNYSo: Downloading webpage&#xA;[download] Destination: Lady Gaga - Poker Face (Official Music Video)-bESGLojNYSo.webm&#xA;[download] 100% of 3.50MiB in 00:01                   &#xA;Finished&#xA;[ffmpeg] Destination: Lady Gaga - Poker Face (Official Music Video)-bESGLojNYSo.mp3&#xA;Deleting original file Lady Gaga - Poker Face (Official Music Video)-bESGLojNYSo.webm (pass -k to keep)&#xA;[download] Downloading video **2 of 251**&#xA;[youtube] E2tMV96xULk: Downloading webpage&#xA;14:03:36: C:\Python38\python.exe exited with code 0&#xA;

    &#xA;

    Second problem : If my program is in .exe format then FFMPEG console appears and disappears immediately after it has completed the conversion but it's taking the user focus every time which gets annoying.

    &#xA;

    What I've tried for first problem is that I tried to get it manually but it did not work then I checked youtube_dl github download dictionary keys and there is not a key that can acquire that video count 1 of 256

    &#xA;

    print("Download keys:", download.keys())&#xA;Download keys: dict_keys([&#x27;status&#x27;, &#x27;downloaded_bytes&#x27;, &#x27;total_bytes&#x27;, &#x27;tmpfilename&#x27;, &#x27;filename&#x27;, &#x27;eta&#x27;, &#x27;speed&#x27;, &#x27;elapsed&#x27;, &#x27;_eta_str&#x27;, &#x27;_percent_str&#x27;, &#x27;_speed_str&#x27;, &#x27;_total_bytes_str&#x27;])&#xA;

    &#xA;

    What I've tried for second problem is actually none. I checked C# versions and with C# you can hide that console or disable it but I haven't found a way to do that in Python yet. Goal here is disable ffmpeg console taking either the focus or hide/disable it or third option is to use another converter.

    &#xA;

    Youtube_dl code that is in Worker thread :

    &#xA;

    def run(self):&#xA;    self.main_window.progressBar.setValue(0)&#xA;&#xA;    self.ydl_opts = {&#xA;        &#x27;format&#x27;: &#x27;bestaudio/best&#x27;,&#xA;        &#x27;noplaylist&#x27;: self.main_window.playlist,&#xA;        &#x27;source_address&#x27;: &#x27;0.0.0.0&#x27;,&#xA;        &#x27;ignoreerrors&#x27;: True,&#xA;        &#x27;progress_hooks&#x27;: [self.my_hook],&#xA;        &#x27;postprocessors&#x27;: [{&#xA;            &#x27;key&#x27;: &#x27;FFmpegExtractAudio&#x27;,&#xA;            &#x27;preferredcodec&#x27;: &#x27;mp3&#x27;&#xA;        }]&#xA;    }&#xA;&#xA;    with youtube_dl.YoutubeDL(self.ydl_opts) as ydl:&#xA;        ydl.download([f&#x27;{self.main_window.downloadURL.text()}&#x27;])&#xA;&#xA;def my_hook(self, download):&#xA;    if download["status"] == "finished":&#xA;        print("Finished")&#xA;        self.main_window.progressText.setText("Ready")&#xA;    if download["status"] == "downloading":&#xA;        self.updateText.emit("Downloading...")&#xA;        percent = download["_percent_str"]&#xA;        percent = percent.replace("%", "")&#xA;        self.updateProgress.emit(float(percent))&#xA;

    &#xA;

    Edit : FFMPEG console appearing and disappearing for a moment is shown in this video here in dropbox :&#xA;ffmpeg console appearing and disappearing video

    &#xA;