Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (100)

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

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

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (6335)

  • Linking PHP audio and video uploads to FFMPEG on a linux server

    20 décembre 2018, par user5399793

    I host a site on a Linux server that I built with php where I am able to upload audio files in one section and video files to another.

    Each section uses php to upload a single audio file and a single video file. Each upload is assigned a unique filename so they can be viewed separately on an individual page where the uploader can post comments about their audio or video.

    I want to be able to allow musicians and performers in the local area display their work. The site works, but large video files do not upload and my audio player only plays a few formats, and I like to convert them all to mp3’s.

    I installed ffmpeg on my linux server to help me with this and am able to connect to it with my terminal. My question is how do I get ffmpeg to interface with my uploaded php files.

    For example, as the user uploads an audio file, can I have ffmpeg convert it while it’s uploading, or do I need to set up a temporary folder for uploads, store it there, then have ffmpeg compress the file, convert it to a specific format and save it in another folder ?

    I would prefer to have it compress and change the format while it’s uploading so as not to use server space, but if this is not the way ffmpeg works, then I don’t have a choice. Any help would be appreciated.

  • Linking PHP audio and video uploads to FFMPEG on a linux server

    21 janvier 2016, par user5399793

    I host a site on a Linux server that I built with php where I am able to upload audio files in one section and video files to another. Each section uses php to upload a single audio file and a single video file. Each upload is assigned a unique filename so they can be viewed separately on an individual page where the uploader can post comments about their audio or video. I want to be able to allow musicians and performers in the local area display their work. The site works, but large video files do not upload and my audio player only plays a few formats, and I like to convert them all to mp3’s. I installed ffmpeg on my linux server to help me with this and am able to connect to it with my terminal. My question is how do I get ffmpeg to interface with my uploaded php files. For example, as the user uploads an audio file, can I have ffmpeg convert it while it’s uploading, or do I need to set up a temporary folder for uploads, store it there, then have ffmpeg compress the file, convert it to a specific format and save it in another folder ? I would prefer to have it compress and change the format while it’s uploading so as not to use server space, but if this is not the way ffmpeg works, then I don’t have a choice. Any help would be appreciated.

  • How to losslessly compress a sequence of slowly-changing images into a video ?

    26 juillet 2023, par Claude C

    I have a sequence of jpeg images captured like a timelapse, with the same dimension and changing slowly in order. I want to compress the size of the whole sequence while still able to recover each individual image with their raw pixel information unchanged.

    


    I googled and found that a possible solution is to compress it into a video, which exploits the strong temporal correlation (inter-frame redundancy) between consecutive frames, as suggested here. I tried ffmpeg libx264 but none of the option combinations seem to preserve frame quality and compress total size at the same time (-crf 0 keeps the quality but the size of the video is even larger than the input sequence).

    


    So my questions is,

    


      

    • What is the correct way to losslessly compress a sequence of slowly-changing images ?
    • 


    


    I can accept using softwares other than ffmpeg (as long as it is on windows or linux), doing color space conversion on raw images (if necessary). It is OK if a the compression is done without converting to videos. Thank you.