Recherche avancée

Médias (1)

Mot : - Tags -/portrait

Autres articles (83)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

Sur d’autres sites (7651)

  • fluent-ffmpeg generating incorrect framerate

    25 novembre 2013, par ZakThompson

    I'm having a strange issue converting images to a video. I am using the excellent fluent-ffmpeg module for a node.js server. I have 179 jpg images which I wish to convert to a 30fps video (should be about 6s). I have successfully done so using the following ffmpeg command :

    ffmpeg -r 30 -i frame%03d.jpg -c:v libx264 out.mp4

    This outputs the following when inspected by ffmpeg :

    ffmpeg -i out.mp4

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'out.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf54.63.104
     Duration: 00:00:06.00, start: 0.000000, bitrate: 1631 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuvj420p, 640x480 [SAR 1:1 DAR 4:3], 1627 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc
       Metadata:
          handler_name    : VideoHandler

    Now, I am attempting to do the same thing with fluent-ffmpeg :

    var proc = new ffmpeg({ source: 'frame%03d.jpg', nolog: true })
     .addOptions(['-c:v libx264','-r 30'])
     .saveToFile('test.mp4', function(retcode, error){
       console.log('file has been converted succesfully');
     });

    Should be exactly the same, right ? But here is what I'm getting :

    ffmpeg -i test.mp4

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf54.63.104
     Duration: 00:00:07.20, start: 0.000000, bitrate: 1556 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuvj420p, 640x480 [SAR 1:1 DAR 4:3], 1553 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc
       Metadata:
         handler_name    : VideoHandler

    Now what's most interesting here is that although both were made from the same set of images and both supposedly have the same frame rate, the one made with fluent-ffmpeg has a duration of 7.20s, a full 1.20 longer than the first one. Upon comparing the two videos, it seems the fluent-ffmpeg one is actually at 25fps even though it reports 30.

    Note that I have tried properly adding the two flags using the methods (.withVideoCodec, .withFps) with the same result, I merely resorted to adding the arguments manually in an attempt to make it exactly the same as my original command.

    If anybody here has experience with this module and/or has any suggestions, it would be greatly appreciated !

  • We are hiring engineers to build an awesome product and platform used by millions of people

    16 février 2016, par Piwik Core Team — Jobs

    Are you ready for a new challenge ? Or maybe you know someone who is looking for a change ? We have some exciting problems to solve and are looking for senior developers to work with us and our community on our open source Piwik Analytics platform. Piwik is used by more than one million websites all over the world. It is deployed on more than 300.000 servers and some users track more than 1 billion actions per month.

    What is it like to work on Piwik ?

    We develop this software using modern PHP, MySQL, Redis, AngularJS and more. We provide several kind of APIs and a plugin architecture to allow developers to extend and change Piwik to their needs. However, we would not be Piwik if we stopped at this point ! We want to turn Piwik into an even more awesome product and platform.
    You can imagine there is a lot to do and many challenges to face !

    While one part is to always make Piwik scale better and to improve UI and UX, we also want to provide simple APIs to make the life of developers as pleasant as possible. We aim to solve things the right way and our thousands of unit, integration, system, JavaScript and screenshot tests help us to innovate and to not be afraid of change. We like clean code and constant improvements.

    The Piwik team lives in New Zealand, Europe (Poland, Germany) and in the U.S. We do the vast majority of our collaboration online. Our values include being open, transparent and sharing knowledge. For this we use tools like GitHub and Slack to communicate and Quake servers to take our minds off complex challenges. We are a small, flexible team, so when you come aboard, you will play an integral part in engineering and have a big impact on the product loved by so many people. You’ll help to create a welcoming environment for new contributors and set an example with your development practices and communications skills.

    Apply now, or spread the word !

    If you have strong skills in PHP send us an email with your CV and tell us a little about yourself and your experience in engineering complex applications.

    Apply for a job here http://piwik.org/jobs/ and if you’re maybe not the right candidate, contribute to the project by sharing this blog post and by sending it to your friends !

  • Node package 'videoshow' ffmpeg error

    14 octobre 2015, par Jon Stevens

    I am using the npm library ’videoshow’ to build a video slideshow with images and audio. I have copied everything directly from the github wiki as far as installing the package and configuring ffmpeg to include the necessary flags. My code for the main ’generation.js’ node file :

    var videoshow = require('videoshow');

    var images = [
     '2.jpg',
     '4.jpg'
    ]

    var videoOptions = {
     fps: 25,
     loop: 5, // seconds
     transition: true,
     transitionDuration: 1, // seconds
     videoBitrate: 1024,
     videoCodec: 'libx264',
     size: '640x?',
     audioBitrate: '128k',
     audioChannels: 2,
     format: 'mp4'
    }

    videoshow(images, videoOptions)
     .audio('song.mp3')
     .save('video.mp4')
     .on('start', function (command) {
       console.log('ffmpeg process started:', command)
     })
     .on('error', function (err, stdout, stderr) {
       console.error('Error:', err)
       console.error('ffmpeg stderr:', stderr)
     })
     .on('end', function (output) {
       console.error('Video created in:', output)
     })

    Just running the above code with ’node generation.js’ which is the default usage and the exact settings they explain in the wiki is giving the error :

    ffmpeg process started : ffmpeg -i /tmp/videoshow-3fe871bc-e082-4ed8-bf47-f10c854f1718 -i /tmp/videoshow-a1595d76-dcbd-48c3-a8b3-cffac6951ed3 -y -filter_complex concat=n=2:v=1:a=0 video.mp4
    ffmpeg process started : ffmpeg -i /tmp/videoshow-7b78fd53-408f-40a8-8974-665f18f1fe41 -i song.mp3 -y -b:a 128k -ac 2 -r 25 -b:v 1024k -vcodec libx264 -filter:v scale=w=640:h=trunc(ow/a/2)*2 -f mp4 -map 0:0 -map 1:0 -t 10 -af afade=t=in:ss=0:st=0:d=3 -af afade=t=out:st=7:d=3 video.mp4
    Error : [Error : ffmpeg exited with code 1 : ]
    ffmpeg stderr : undefined

    If anyone has any experience at all with this library, any help is greatly appreciated !