Recherche avancée

Médias (0)

Mot : - Tags -/presse-papier

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

Autres articles (20)

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

  • D’autres logiciels intéressants

    12 avril 2011, par

    On ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
    La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
    On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
    Videopress
    Site Internet : (...)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

Sur d’autres sites (5500)

  • FFMPEG, last message repeated 1 times

    30 octobre 2023, par byeolki
    def play_queue(self, id:str, title:str):
    music_data = Music_Data(self.inter.guild)
    FFMPEG_OPTIONS = {'options': '-vn'}
    ydl_opts = {'format': 'bestaudio'}
    if not music_data.check_guild() or not music_data.is_playing():
        with yt_dlp.YoutubeDL(ydl_opts) as ydl:
            info = ydl.extract_info(f'https://www.youtube.com/watch?v={id}', download=False)
        URL = info['url']
        music_data.start_music(id, title, self.inter, self.voice_channel)
        self.voice_client.play(source=nextcord.FFmpegPCMAudio(URL, **FFMPEG_OPTIONS), after=lambda e: asyncio.run_coroutine_threadsafe(self.next_play(), self.client.loop))
        return True
    else:
        music_data.add_queue(id, title, self.inter)
        return False


    


    It's My source
my module : yt-dlp

    


    It originally worked well.
How fix ?

    


  • Setting HLS segment times

    16 février 2016, par James Townsend

    I am passing a processed video from openCV to ffmpeg via a pipe here is the code

    ./OpenCV & \
    tail -n +0 -f out.avi  | ffmpeg -i pipe:0  -hls_time 1 -hls_list_size 0 -hls_wrap 10 -hls_segment_filename '%03d.ts' stream.m3u8

    My issue is the output .ts files are not in a uniformed duration they change from file to file.

    These are mostly long say 60 seconds. This means the connecting client has to wait for the first stream to finish before the playlist file (.m3u8) file is created. Therefor in this example they are 60 seconds or so behind live video and if the next .ts file is larger the streaming stops until this is finished. If the client tries to play before the next .ts file is created they are played the first .ts file.

    The frame rate from openCV is 1 frame per second.

    tail changes the output file of openCV called (out.avi) to a stdout.

    Any help would be great.

  • Build a C++ project with OpenCV 4.5.x in Visual Studio with custom flags for ffmpeg

    18 mai 2022, par Ivy Growing

    Our C++ project in MS Visual Studio under Windows 10 uses OpenCV 4.5.

    


    #include <opencv2></opencv2>opencv.hpp>&#xA;#include <opencv2></opencv2>videoio.hpp>&#xA;#include <opencv2></opencv2>imgcodecs.hpp>&#xA;#include "opencv2/highgui/highgui.hpp"&#xA;#include "opencv2/core/core.hpp"&#xA;

    &#xA;

    The project works well. The OpenCV uses ffmpeg as dependency for extracting video frames from a stream or a file. Our legals require following flags are not used when compiling the ffmpeg to approve the product release :

    &#xA;

      &#xA;
    • without --enable-gpl
    • &#xA;

    • without --enable-nonfree
    • &#xA;

    &#xA;

    So far this page gets close to the answer, however, I cannot understand how to configure the Visual Studio to use custom flags just for ffmpeg and not for other dependencies. Elaboration is appreciated.

    &#xA;

    The Visual Studio has challenging and pretty confusing (for me in person, often) menues and settings. This is the root of the question :

    &#xA;

    How/where in Visual Studio can I see which flags are used for compiling of dependent libraries ?&#xA;Specifically, how can I check which flags are used in OpenCV to build the ffmpeg ?

    &#xA;