Recherche avancée

Médias (91)

Autres articles (112)

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

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (12231)

  • How to save changes in video file in Ffmpeg C++ ?

    16 avril 2021, par TheSofya

    How to save changes in video file in Ffmpeg C++ ? Do we need encoder ? How to use avcodec_encode_video2 functions ?

    


    while (av_read_frame(pFormatCtx, &packet) >= 0)
    {

        if (packet.stream_index == videoStream) {
            avcodec_decode_video2(pCodecCtx, pFrame, &frameFinished, &packet); 
            if (frameFinished) {
                sws_scale(sws_ctx, (uint8_t const* const*)pFrame->data,
                    pFrame->linesize, 0, pCodecCtx->height,
                    pFrameRGB->data, pFrameRGB->linesize);

                if (i == secretframe) {
                    //Here we change pixels
                    hidetext(pFrameRGB, pCodecCtx->width, pCodecCtx->height, secretframe);
                    //unhidetext(pFrameRGB, pCodecCtx->width, pCodecCtx->height, secretframe); 

                    std::cout << "\n\n" << i << "\n\n";
                }
                if (i > secretframe) { 
                break; 
                }
                i++;
            }
        }


    


  • FFmpeg : How to convert vertical video with black sides, to video 16:9, with blurred background sides

    10 avril 2017, par Andrey

    Vertical video with blurred background sides

    How to make this by using FFmpeg ?

    Example without FFmpeg :
    Adobe After Effects
    Sony Vegas Pro

  • Video Capture using Beaglebone black (Raw video to MP4)

    21 mars 2014, par user3435464

    Good Day,

    I just captured a raw video using the command from my PS3 Eye Camera on my beagleboard. I had captured about 10s of raw video in 320*240, and the format used was YUYV

    ./capture -f -c 300 -o > output.raw

    I successfully got the raw video (was about 40MB)

    Now, I needed to figure out how to convert this raw video to an mp4 file : I have been trying out various ffmpeg commands but to no avail

    root@beaglebone:~/Desktop/boneCV# ffmpeg -vcodec rawvideo -f rawvideo -pix_fmt yuv422p -        i output.raw -s 320x240 -r 25

    -vcodec libx264 -an -vpre slower -crf 25
    ffmpeg version v0.8.4, Copyright (c) 2000-2012 the Libav developers built on Jul 3 2013 19:28:08 with gcc 4.7.3 20130205
    (prerelease) This program is not developed anymore and is only
    provided for compatibility. Use avconv instead (see Changelog for the
    list of incompatible changes). [IMGUTILS @ 0xbed475dc] Picture size
    0x0 is invalid [IMGUTILS @ 0xbed4751c] Picture size 0x0 is invalid
    [rawvideo @ 0x2dac0] Could not find codec parameters (Video : rawvideo,
    yuv422p) [rawvideo @ 0x2dac0] Estimating duration from bitrate, this
    may be inaccurate output.raw : could not find codec parameters

    This is the ffmpeg log of my camera type :

    ffmpeg -f video4linux2 -list_formats all -i /dev/video0      
    [video4linux2 @ 0x2db80] R :   yuyv422 :                 YUYV : 320x240 640x480

    Does anyone have experience converting such raw video formats to MP4 ?