Recherche avancée

Médias (91)

Autres articles (112)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (9614)

  • PHP large video upload converting to mp3 by ffmpeg

    27 mai 2017, par SuperBerry

    I am working on a project on Linux VPS (Apache + PHP5, 4G RAM / 2 CPU Cores) which allows users to upload videos (200M max) and convert to MP3 audio files by FFMPEG. I have few questions about the concurrency and the processing because I am a newbie on PHP :

    1. If there are 10 visitors uploading (1 visitor uploads one 200M MP4 file), will it cost 2,000M memory of the server ? Will the chunk upload method could solve this memeory issue while more visitors uploading videos at the same time ?

    2. I am going to use Redis to manage the ffmpeg processing queue, and set the crontab. Should I use the shell_exec() to call the ffmpeg to process the conversion at background, then convert the uploaded videos one by one ?

    The uploading and conversion is the most cost for the server I think... Maybe my idea is extremely crazy...I am new to this type of service.. I didn’t make online projects before, just desktop apps...

    Thanks a lot for your help..

  • Unable to overwrite ffmpeg metadata

    11 décembre 2019, par underscore

    I am having some issues overwriting the metadata on video files using FFmpeg that already has metadata added to it previously(previous metadata also added by FFmpeg).

    So I am using ffmpeg -i path/to/video file -i /path/to/metadata -map_metadata 1 -codec copy path/to/output file to merge the metadata file with the video file but if the video file has already been through this command once the new metadata won’t stick, only the old ones remain. Is there a way of forcing the metadata to be overwritten by the new metadata file ?

    Most of what I have tried so far have only been making a metadata text file from scratch to see if there were some issues with the metadata I was extracting from the video file using ffmpeg -i path/to/video file -f ffmetadata path/to/metadata.
    So far I haven’t been able to find a lot about this online other than variations on this command, however, I think that is mostly due to the fact that I am not entirely sure what keywords I should search for.

    Thanks for the read

  • video orientation detection in bash

    30 décembre 2014, par Miati

    I need to detect whether videos are recorded in portrait or landscape mode, then transpose those into the correct orientation, in a scripted fashion.

    if [ "$v_orient" ==  "landscape" ]
     then
       ffmpeg -i file.mp4 -vf "transpose=1" file.ogv
     else
       ffmpeg -i file.mp4 file.ogv
    fi

    I’ve looked in ffmpeg online documentation and googled around,

    I’ve attempted exiftool

    exiftool -Rotation -Rotate file.mp4

    However, this outputs Rotate : 90 for both landscape & portrait videos I have.


    How can I detect the video orientation in bash ?