Recherche avancée

Médias (0)

Mot : - Tags -/organisation

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

Autres articles (46)

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

  • What to do if extern "C" include collides with Qt libraries ?

    19 février 2014, par sputnik

    In my case, I'm experimenting with QtMultimedia and libffmpeg as decoder.
    Imported ffmpeg as extern "C", but the ffmpeg's AVPixelFormat collides with QVideoFrame's PixelFormat.

    Exact error :

    'AVPixelFormat' : is not a member of 'QVideoFrame'

    Does anyone know a possible solution ?

    EDIT : Code parts.

    Part 1 : Qt VideoWidget Sample

    Part 2 : Usage of libffmpeg, based on dranger tutorial

    extern "C"
    {
       #include <libavcodec></libavcodec>avcodec.h>
       #include <libavformat></libavformat>avformat.h>
       #include <libswscale></libswscale>swscale.h>
    }
  • ffmpeg says "at least one output file must be specified" when piping from another process

    26 décembre 2013, par M.Yazdian

    To force ffmpeg to read, decode, and scale only once in order to bring CPU usage down I put those steps in one ffmpeg process and piped the result into another ffmpeg process that performed the encoding.

    This improved the overall processing time by 15–20%.

    INPUT_STREAM="ffmpeg -i $INPUT_FILE -vf scale=720:-1,crop=720:400 -threads auto -f yuv4mpegpipe -"

    $INPUT_STREAM | ffmpeg -y -f yuv4mpegpipe -i - \
    $AUDIO_OPTIONS_P2 $VIDEO_OPTIONS_P2 -b:v 250k -threads auto out-250.mp4 \
    $AUDIO_OPTIONS_P2 $VIDEO_OPTIONS_P2 -b:v 500k -threads auto out-500.mp4 \
    $AUDIO_OPTIONS_P2 $VIDEO_OPTIONS_P2 -b:v 700k -threads auto out-700.mp4

    I then tried the syntax below :

    ffmpeg -i c:\sample.mp4 -threads auto -f yuv4mpegpipe - |  ffmpeg -y -f yuv4mpegpipe -i -vcodec libx264 -b:v 250k -threads auto c:\out-250.mp4 -vcodec libx264 -b:v 260k -threads auto c:\out-260.mp4

    … but this error appears :

    At least one output file must be specified

    But I have specified the out put file which is : C:\out-260.mp4. Still it doesn't work

    What's wrong ?

  • How many "Ruby on Rails" sites can be hosted using sub url in apache configuration file on apache4 with passenger4 on Ubuntu server ?

    17 octobre 2013, par user1731249

    Server's Hardware config :
    Ubuntu server 12.04, CPU : dual code (64-bit), RAM : 8GB, Disk : 200GB.

    Server's Software config :
    Apache2, Passenger4, Rails4, ruby2, MySQL.

    I'm developing a Ruby on Rails website which performs following tasks.

    1. Upload a series of images as zip.
    2. Extract zip images to temp directory.
    3. Convert series of images to video using FFMPEG.
    4. updating video info in MySQL db
    5. Viewing the video in HTML5 video tag.

    Maximum length of single video being 1min and on an average there may be 50 videos to be converted per day. I created three copies (Don't ask me why !) of same website and hosting three sites as sub-URLs like "example.com" being the domain and example.com/site1, example.com/site2, example.com/site3. Below is the Apache configuration :
    RailsAutoDetect off

    ServerName 127.0.0.1

       DocumentRoot /home/ubuntuuser/work/public
       ErrorDocument 404 /404.html

    RailsBaseURI /site1

       <directory></directory>home/ubuntuuser/work/site1/advisor/public>
               Allow from all
       Options -MultiViews
               RailsEnv production
       

    RailsBaseURI /site2

    <directory></directory>home/ubuntuuser/work/site2/advisor/public>
               Allow from all
       Options -MultiViews
               RailsEnv production
       

       RailsBaseURI /site3

    <directory></directory>home/ubuntuuser/work/site3/advisor/public>
               Allow from all
       Options -MultiViews
               RailsEnv production
       

    How many such sites can I host with sub-URLs without big performance drag ?
    Also please help to do a performance test for all the sub-URLs.