Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (32)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (3959)

  • how can i direct render ffmpeg d3d11va frame ?

    24 août 2020, par Arno

    i got a "AV_PIX_FMT_D3D11" format avframe.i want to direct render it to qt control hwnd.
now i have used "av_hwframe_transfer_data" method.it is very slow(about 40ms for 3840*2160 nv12 frame).
somebody can help me !!!dealline in this weekend.

    


  • Extract images from ffmpeg stream

    30 juillet 2022, par Exitare

    I am trying to setup an application which receives a stream via tcp from a localhost webcam. The stream is generated by ffmpeg like so :

    


    ffmpeg -f avfoundation -framerate 30 -i 0 -target pal-dvd -probesize 42M -pix_fmt uyvy422 -f mpegts -flush_packets 0 tcp://127.0.0.1:9050


    


    My receiving server application code looks like this :

    


    public static void StartServer()
{
   
    bool done = false;

    var listener = new TcpListener(IPAddress.Any, 9050);

    listener.Start();
    
    // Buffer for reading data
    var bytes = new byte[256];
    string data;
    
    while (!done)
    {
        Console.WriteLine("Waiting for connection...");
        TcpClient client = listener.AcceptTcpClient();

        
        data = null;

        // Get a stream object for reading and writing
        NetworkStream stream = client.GetStream();

        int i;
        Console.WriteLine("Connection accepted.");
        // Loop to receive all the data sent by the client.
        while((i = stream.Read(bytes, 0, bytes.Length))!=0)
        {
            // Translate data bytes to a ASCII string.
            Console.WriteLine("Received: {0}", bytes);

            
        }
       
    }

    listener.Stop();
}


    


    ffmpeg is able to connect and send the stream, the c# application is able to receive the stream.

    


    The output by the Console.WriteLine call is like so :

    


    Received: System.Byte[]
Received: System.Byte[]
Received: System.Byte[]
Received: System.Byte[]
Received: System.Byte[]
Received: System.Byte[]
Received: System.Byte[]
Received: System.Byte[]
Received: System.Byte[]
Received: System.Byte[]
Received: System.Byte[]


    


    However, I am unsure how to create images from these bytes. In theory I would have to wait until I receive the whole image, as I expect the image to be greater than 256bytes.

    


    In short, I receive the bytes but don't know how to convert them into images.
How do I do this ?

    


    Also I am not sure if this is the best approach. I know that ffmpeg offers the possibility to extract images from videos. But I don't know, whether this is also possible using streams. Is there a solution provided by ffmpeg to extract images from an input stream ? Ideally 10 images per second.

    


  • Seeking CLI Tool for Creating Text Animations with Easing Curves [closed]

    15 novembre 2023, par anonymous-dev

    I'm working on a video project where I need to animate text using various easing curves for smooth and dynamic transitions with the terminal. Specifically, I'm looking to apply the following easing curves to text animations :

    


    bounceIn
bounceInOut
bounceOut
decelerate
ease
easeIn
easeInBack
easeInCirc
easeInCubic
easeInExpo
easeInOut
easeInOutBack
easeInOutCirc
easeInOutCubic
easeInOutCubicEmphasized
easeInOutExpo
easeInOutQuad
easeInOutQuart
easeInOutQuint
easeInOutSine
easeInQuad
easeInQuart
easeInQuint
easeInSine
easeInToLinear
easeOut
easeOutBack
easeOutCirc
easeOutCubic
easeOutExpo
easeOutQuad
easeOutQuart
easeOutQuint
easeOutSine
elasticIn
elasticInOut
elasticOut
fastEaseInToSlowEaseOut
fastLinearToSlowEaseIn
fastOutSlowIn
linearToEaseOut
slowMiddle


    


    My initial thought was to use ffmpeg for this task, however, it appears that ffmpeg may not support these advanced easing curves for text animation.

    


    I am seeking recommendations for a command-line interface (CLI) tool that can handle these types of animations.

    


    Key requirements include :

    


      

    • Easing Curve Support : The tool should support a wide range of easing curves as listed above.
    • 


    • Efficiency : Ability to render animations quickly, preferably with performance close to what I can achieve with ffmpeg filters.
    • 


    • Direct Rendering : Ideally, the tool should render animations in one go, without the need to write each individual frame to disk.
    • 


    • Should work with transformations such as translate, scale and rotate. For example a text translates from a to b with a basing curve applied to the transition.
    • 


    


    I looked into ImageMagick, but it seems more suited for frame-by-frame image processing, which is not efficient for my needs.

    


    Could anyone suggest a CLI tool that fits these criteria ? Or is there a way to extend ffmpeg's capabilities to achieve these animations ?