Recherche avancée

Médias (1)

Mot : - Tags -/iphone

Autres articles (63)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (12434)

  • FFMPEG text file [migrated]

    23 décembre 2012, par user872387

    I am giving the input file in the command line like this :

    ffmpeg -i catch.flv.

    The information about the file such as resolution, frame rate, bit rate etc is displayed in the terminal. I want this information to be stored as a (.txt) file. I have tried ffmpeg -i catch.flv > catch.txt. The .txt file was created successfully but the information is not stored in it. Could someone please help ?

  • Using videoshow (npm module) with ffmpeg to conver audio+image into video

    31 mai 2017, par delesslin

    I’m trying to use the videoshow utility to combine a short audio clip with an image on my ubuntu system. I installed ffmpeg globally while in the root directory using :

    sudo apt-get install ffmpeg

    I then installed videoshow inside the project folder using :

    sudo npm install videoshow

    The project folder contains 3 files plus the node_modules folder : an image (wolf.jpg), an audio clip (wolf.mp3), and a js file (audio.js). I derived audio.js from an example script on the videoshow github page. Here is my script :

       var videoshow = require('videoshow')

    var images = [
     "wolf.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',
     pixelFormat: 'yuv420p'
    }

    videoshow(images, videoOptions)
     .audio('wolf.mp3')
     .save('wolf.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)
     })

    In the terminal, inside the project folder I then call :

    node audio.js

    The terminal is silent for a moment followed by :

       ffmpeg process started: ffmpeg -i /tmp/videoshow-db63732f-7376-4663-a7bc-c061091e579a -y -filter_complex concat=n=1:v=1:a=0 wolf.mp4
    ffmpeg process started: ffmpeg -i /tmp/videoshow-1f8851b4-c297-4070-a249-3624970dbb85 -i wolf.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 5 -af afade=t=in:ss=0:st=0:d=3 -af afade=t=out:st=2:d=3 -pix_fmt yuv420p wolf.mp4
    Error: [Error: ffmpeg exited with code 1: ]
    ffmpeg stderr: undefined

    I’m not sure why this isn’t working, but any/all assistance would be deeply appreciated...

    Hawu’h (thanks),
    Roo

  • Random sounds in discord.js

    1er septembre 2020, par Audiophile

    I'm programming a discord bot using discord.js. I want to make a random sound player !
What am I doing wrong ? Can you help me ?

    



    case 'ps':
            var voiceChannel = message.member.voiceChannel
                voiceChannel.join().then(connection => {
                number = 5;
            var random = Math.floor (Math.random() * (number - 1 + 1 )) + 1;
            var rs = ( {files: [__dirname + '/Library/folder/' + "sound" + " (" + random + ")" + ".jpg"]} );
            const dispatcher = connection.playFile(rs);
                dispatcher.on('end', end => voiceChannel.leave());
            })
        break;


    



    There aren't any errors in terminal.