Recherche avancée

Médias (1)

Mot : - Tags -/swfupload

Autres articles (29)

  • Les statuts des instances de mutualisation

    13 mars 2010, par

    Pour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
    Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

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

  • Save frame as image during video stream using ffmpeg, in C

    30 avril 2017, par George T.

    I’m using the Parrot SDK3 to retrieve the video stream from a Bebop2 drone. From it I need to "extract" a frame and save it as an image.

    The whole code can be found here, but I shall try to include the (what I understand as) important parts here.

    Where the video is sent to mplayer. I assume from this that the video format is h624.

    if (videoOut != NULL)
    {
       if (codec.type == ARCONTROLLER_STREAM_CODEC_TYPE_H264)
       {
           if (DISPLAY_WITH_MPLAYER)
           {
               fwrite(codec.parameters.h264parameters.spsBuffer, codec.parameters.h264parameters.spsSize, 1, videoOut);
               fwrite(codec.parameters.h264parameters.ppsBuffer, codec.parameters.h264parameters.ppsSize, 1, videoOut);

               fflush (videoOut);
           }
       }
    }

    Where the frame is received and written to videoOut, to be displayed

    eARCONTROLLER_ERROR didReceiveFrameCallback (ARCONTROLLER_Frame_t *frame, void *customData)
    {
       if (videoOut != NULL)
       {
           if (frame != NULL)
           {
               if (DISPLAY_WITH_MPLAYER)
               {
                   fwrite(frame->data, frame->used, 1, videoOut);

                   fflush (videoOut);
               }
           }
       }
       return ARCONTROLLER_OK;
    }

    The idea I had in mind is to fwrite(frame->data, frame->used, 1, videoOut); to a different file but that just creates a corrupted file, probably because of encoding. In what way can I get this frame and store it to a separate image ? The preferable image filetype .png, .jpg or .gif

    Any help will be greatly appreciated ! Thanks in advance !

  • How to save stream with ffmpeg to chunks, But in temporary name and change the name after to const

    10 janvier, par Eliya

    I use ffmpeg to record IP camera and I save every 10 minutes to mp4 file.
This is my code :

    


    ffmpeg -rtsp_transport tcp -i "rtsp://$user_name:$password@$IP:$port/cam/realmonitor?channel=1&subtype=1" -c copy -map 0 -reset_timestamps 1  -f segment -segment_time 600 -strftime 1   "%Y-%m-%d__%H:%M:%S.mp4"


    


    Is there a way to save the file in temporary name until 10 minutes is done ?
I mean when the recording of 10 minutes didn't end the suffix will be bla.temp and when the recording of the 10 minutes is over, ffmpeg will change the suffix to .mp4 ?
is that possible ?

    


  • How to save an audiostream with ffmpeg

    13 juillet 2020, par Nico Eymael

    I want to save an audiostream from beatport.com with ffmpeg.

    


      

    1. The audiostream is : https://www.beatport.com/track/maximal-happiness/13855065
    2. 


    3. Outputfile : audiotrack1.aac
    4. 


    5. I know that the music is streamed in aac format. I want my output file to be also aac. I've looked up in which format it is being streamed.
    6. 


    


    So in cmd I write :

    


    ffmpeg -i https://www.beatport.com/track/maximal-happiness/13855065.aac -vn -c:a copy audiotrack1.aac

    


    My cmd answers me :

    


    https://www.beatport.com/track/maximal-happiness/13855065: Invalid data found when processing input

    


    example1