Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (106)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

Sur d’autres sites (12864)

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

  • How to make preview WEBM file limited by count of frames and duration ?

    22 juillet 2020, par eocron

    The task I want to solve :

    &#xA;

      &#xA;
    1. Take video file as input
    2. &#xA;

    3. Make its duration 5 seconds and take 10 frames from video evenly distributed by time, so basically a slideshow preview of entire video converted to webm file.
    4. &#xA;

    5. Conversion should be fast, size should be small, quality can be medium-horrible.
    6. &#xA;

    &#xA;

    So how one can do this with ffmpeg ?

    &#xA;

    Currently im trying something like this, but doesn't know how to specify duration with fps :

    &#xA;

    -ss 0 -an -vf \"fps=10/VIDEO_TOTAL_SECONDS,scale=320:-1\" -loop 0 output.webm&#xA;

    &#xA;

    It comes out somewhat like I want, but duration stays the same as original video (so one hour, 10 frames in total, meh)

    &#xA;