Recherche avancée

Médias (0)

Mot : - Tags -/content

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

Autres articles (33)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (5286)

  • Making screenshots in FFmpeg : How to deal with differing actual width vs displayed width ? [duplicate]

    15 mars 2020, par browncatmegazord

    I usually have no problem making gifs and screenshots from a video with FFmpeg using standard commands like so :

    ffmpeg -i input -frames:v 1 -q:v 2 output.jpeg

    Recently I had to deal with an .mkv file that had a pixel width of 720, but a "display width" of 853 (Apparently this non-square pixel stuff is a thing), and my usual commands would give me a 720x480 screenshot that is oddly squashed.

    I managed to force its size by adding a -s 853x480 into the above command, but it looks a little bit stretched, and I suspect there’s a cleaner way to do this without me having to manually check what the displayed width is.

    Would appreciate some insight about this !

  • How to convert Image RAW10 format to cv::Mat

    14 août 2022, par ZeusBios

    I'm trying to convert Image RAW10 to cv::Mat. But in the finish, I have always gray square. The conversation I make like :

    


    void ConvertToMat(unsigned char * buffer, unsigned int width, unsigned int height) {
        cv::Mat img;
        cv::Mat raw(height, width, CV_8UC1, buffer);
        raw.convertTo(img, CV_32FC1, 255.0); // -> don't work
        cv::imwrite("myimage.png", img);
 
        cv::cvtColor(raw, raw, cv::COLOR_BayerGR2RGBA); //-> also don't work
        cv::imwrite("myimage.png", raw);
}


    


  • Use ffmpeg to pan right over an image and then pan left to the original location

    4 février 2024, par user1517922

    I'm using this command to pan to the right for 5 seconds on an image (like a 1080x1080 window moving across a larger image, 500px from the top) :

    


    ffmpeg -loop 1 -r 30 -i image.jpg -vf crop=w=1080:h=1080:x=n:y=500 -frames:v 150 -pix_fmt yuv420p -preset fast -crf 30 video.mp4

    


    I'd like to pan back to the left for 5 seconds to end up at the same spot.

    


    The desired affect is when the video is on loop the square window pans right for 5 seconds then back left for 5 seconds then repeats, smooth and without flicker.

    


    I suspect I need to use zoompan, but I haven't had success trying that.