Recherche avancée

Médias (91)

Autres articles (102)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
    Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

Sur d’autres sites (8135)

  • How to change ffmpeg -threads settings [migrated]

    5 août 2014, par Jacob

    Working on a tube site. I’m running videos through ffmpeg on a linux dedicated server to convert to mp4.

    The server specs :

    Architecture:          x86_64
    CPU op-mode(s):        32-bit, 64-bit
    Byte Order:            Little Endian
    CPU(s):                8
    On-line CPU(s) list:   0-7
    Thread(s) per core:    2
    Core(s) per socket:    4
    Socket(s):             1
    NUMA node(s):          1
    Vendor ID:             GenuineIntel
    CPU family:            6
    Model:                 60
    Stepping:              3
    CPU MHz:               3491.749
    BogoMIPS:              6983.49
    Virtualization:        VT-x
    L1d cache:             32K
    L1i cache:             32K
    L2 cache:              256K
    L3 cache:              8192K
    NUMA node0 CPU(s):     0-7

    Issue during testing is that even only doing 4-5 at once, the server load skyrockets to an average of around 36. This is just a single person. I imagine when it opens, many people will be uploading at once.

    It seems ffmpeg tries to use all the resources available per conversion.

    I’ve heard there’s a -threads setting you can change, but I cannot find it. I have an 8 cpu server. It’s only used for conversions, so I’ve heard the best setting would be between 2 and 4. I can test it out.

    But how do I change this setting ? Everything I see online discusses this setting, but not the steps to change it.

  • FFMPEG not converting or sending new video to folder

    7 mars 2016, par David Draw

    So recently I wanted to work on converting any video file that isn’t a MP4 file to that very file type. I did a lot of browsing and FFMPEG was the solution.
    I tried using FFMPEG_php on my wamp server but seems it is outdated and is no longer updated
    So I downloaded the static package off the FFMPEG website and put it into my C : drive and put the path to it in my computer, following some videos and tutorials online to do so.

    I believe calling it from the php file with a path is what I have to do as there is so much conflicting information on this which isn’t clear.

    So I’m on windows 7 build 7601
    I use wamp server 2.5 with the Highest PHP, MYSQL and APACHE.

    I added the below code into my php script after the file is moved to the first folder as by a few tutorials I’ve read. But the uploaded file is not converting nor is being put in the destination_mp4 folder.

    Any help would be greatly appreciated. Thank you.

      if(move_uploaded_file($file_loc,$folder.$final_file))
       {

       exec("C:/ffmpeg/bin/ffmpeg.exe  -i ".$folder.$final_file." ".   $destination_mp4."");
       $newName = $_SERVER['REMOTE_ADDR'].'_'.$_SESSION['id'].''.time();
       $mp4Name=$newName.'.mp4';
       $destination_mp4='C:/wamp/www/include/uploadvideomp4/'.$mp4Name;
  • ffmpeg failed to pull local rtmp stream

    3 septembre 2019, par edhu

    I’m relatively new to this workflow and this might be a simple problem to solve. However, I haven’t found answers that matched exactly with my question. I’ve set up my nginx server with rtmp module and for testing purposes I used the following command to publish my stream :

    ffmpeg -re -i  -vcodec libx264 -vprofile baseline -acodec aac -strict -2 -f flv rtmp://localhost/show/stream

    After that, I launched up my application which is supposed to read the stream from the nginx server and it failed at

    avformat_open_input(&ctx, szFilePath, NULL, NULL);

    The returned error code is -5 and it signifies I/O issue. The szFilePath I passed in is rtmp://localhost/show/stream and I assume this will automatically work since it works when I tried to play some mp4 sample files online. I also tried rtmp://localhost:1935/show/stream and vice versa. I could view the stream being played in VLC but I can’t open it in the code. I’m not really sure what happened here. I feel like this isn’t necessarily a complicated issue but I don’t know where to start looking for possibles causes. I’d appreciate the help. Thanks !