Recherche avancée

Médias (0)

Mot : - Tags -/clipboard

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

Autres articles (23)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

Sur d’autres sites (3822)

  • ffplay is not getting compiled on Amazon EC2

    12 septembre 2017, par Durgesh

    Asking this question as similar questions of stackoverflow didn’t help me.

    I wanted to install ffplay tool on my Amazon EC2 (Linux) instance. I have cloned the code from FFmpeg’s official git repository.

    executed ./configure and make. After these commands, there was no ffplay binary created. Only ffmpeg, ffprobe and ffserver binaries were generated.

    Later tried with executing ’./configure —enable-ffplay’ as suggested in few posts of web. Even this didn’t work. Also i did not found any static binaries of ffplay which i could use for my testing

    Can anyone suggest what was wrong with my build procedure ?

  • Android AAC Cutter Library without FFmpeg [closed]

    13 avril 2021, par Pascal

    I have a simple question. I want to cut a bit of a AAC File on Android. I can't use FFmpeg because I already use it to decode my audio files. So if I use any library that contains FFmpeg, it resolves in a conflict.

    


    I already tried to encode AAC myself with FFmpeg (native) but it also didn't worked. Even though I used the official transcode example (https://github.com/FFmpeg/FFmpeg/blob/master/doc/examples/transcode_aac.c).

    


    I searched the web but couldn't get a working library, that does not use FFmpeg.

    


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

    


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

    


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


    


    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.

    


    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

    


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


    


    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.

    


    Youtube_dl code that is in Worker thread :

    


    def run(self):
    self.main_window.progressBar.setValue(0)

    self.ydl_opts = {
        'format': 'bestaudio/best',
        'noplaylist': self.main_window.playlist,
        'source_address': '0.0.0.0',
        'ignoreerrors': True,
        'progress_hooks': [self.my_hook],
        'postprocessors': [{
            'key': 'FFmpegExtractAudio',
            'preferredcodec': 'mp3'
        }]
    }

    with youtube_dl.YoutubeDL(self.ydl_opts) as ydl:
        ydl.download([f'{self.main_window.downloadURL.text()}'])

def my_hook(self, download):
    if download["status"] == "finished":
        print("Finished")
        self.main_window.progressText.setText("Ready")
    if download["status"] == "downloading":
        self.updateText.emit("Downloading...")
        percent = download["_percent_str"]
        percent = percent.replace("%", "")
        self.updateProgress.emit(float(percent))


    


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