Recherche avancée

Médias (91)

Autres articles (91)

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

  • Animated Gif using PHP 5 and ffmpeg [closed]

    1er décembre 2012, par user1828200

    I make an Animated Gif, by download a video from youtube with youtube-dl and then convert it into AVI with ffmpegand then make animated gif through convert. It works, but speed is very slow.

    Here is my code

    Youtube Download :

    shell_exec("youtube-dl -o JNJNoaIU7qs.flv --format=5 --audio-quality=9 http://www.youtube.com/watch?v=JNJNoaIU7qs);

    Convert to AVI , because I want to make Small Gif so time manipulation is not done with youtube-dl thats why i convert avi with time manipulation

    shell_exec("ffmpeg -i JNJNoaIU7qs.flv -sameq -ss 00:00:5 -t 00:00:10 JNJNoaIU7qs.avi");

    Make Gif

    shell_exec("convert -quiet -delay 0  JNJNoaIU7qs.avi JNJNoaIU7qs.gif");

    It creates the GIF files, but it is very slow, how can I increase the speed of conversion ?

  • Resque does not find ffmpeg

    17 décembre 2012, par d33pika

    I am using resque to queue some encoding jobs. I have workers that pick up these jobs and do some transcoding.
    The issue is system "mencoder .." works fine but system "ffmpeg .." throws not found and the same to with system "qt-faststart .."
    I installed mencoder using sudo apt-get install.
    ffmpeg and qt-faststart were built from source.
    So mencoder was in /usr/bin and the other two in /usr/local/bin.
    So, the next thing I tried was using full path in the system command, that also returned not found.
    Then I copied ffmpeg and qt-faststart into /usr/bin.. Still got "Not Found"
    My worker code runs standalone but when god runs it, ffmpeg and qt-fasstart fail to execute. Yes, I have god configured to watch resque. Now, I don't know what else to try ! Any ideas ?

  • Capture Thumbnail Whilte Downloading Youtube Video

    31 décembre 2012, par Minime

    I want to capture a thumbnail of Youtube video on certain timeline. (e.g. 3.2sec)
    I used ytdl and fluent-ffmpeg with node.js to implement it.
    It was possible to capture a thumbnail when the downloading has finished.

    var fs = require('fs');
    var ytdl = require('ytdl');
    var ffmpeg = require('fluent-ffmpeg');
    var videostream = fs.createWriteStream('video.flv');
    var myytdl = ytdl('http://www.youtube.com/watch?v=A02s8omM_hI');
    myytdl.pipe(videostream);
    videostream.on('close',function() {
     console.log('Downloading complete...');
     var proc = new ffmpeg({ source: 'video.flv', nolog: true })
     .withSize('150x100')
     .takeScreenshots(1, '/home/test', function(err) {
       console.log(err || 'Screenshots were saved');
     });
    });

    However, I couldn't implement to capture a thumbnail while downloading. Basic idea of what I want to do is as below.

    1. Download Youtube video starting at X sec. (Worked)
    2. Pipe it to Readable/Writable(Duplex) Memory Stream (Need Advise)
    3. During downloading, check if stream has enough data to capture the first frame, which is at X sec. (Need Advise)
    4. Capture the first frame, then stop downloading

    For 2, I've realized that node.js will have Duplex Stream on coming v0.9.x, but it seems not working properly. Anyone who has good idea to implement bullet 2,3 ?