Recherche avancée

Médias (91)

Autres articles (108)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, 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 (...)

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

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

Sur d’autres sites (10578)

  • Revision 29746 : Gestion de la file d’attente

    8 juillet 2009, par kent1@… — Log

    Gestion de la file d’attente

  • ffmpeg : Generate empty audio and video (working for video)

    17 septembre 2021, par David Ferris

    I'm trying to generate a black video with FFMPEG. I have accomplished this with the following :

    


    ffmpeg -t 5 -f lavfi -i color=c=black:s=1920x1080 -c:v libx264 -tune stillimage -pix_fmt yuv420p out.mp4


    


    Unfortunately this video doesn't have any audio tracks. Following this, I have tried to insert -i anullsrc=channel_layout=stereo:sample_rate=44100 :

    


    ffmpeg -t 5 -i anullsrc=channel_layout=stereo:sample_rate=44100 -f lavfi -i color=c=black:s=1920x1080 -c:v libx264 -tune stillimage -pix_fmt yuv420p out.mp4


    


    Unfortunately this gives the error :

    


    


    anullsrc=channel_layout=stereo:sample_rate=44100 : No such file or
directory

    


    


    How can I modify my initial script to generate a video with empty audio ?

    


  • Video player scroll doesn't work after ffmpeg audio and video merge (NodeJS)

    1er novembre 2022, par Pietro Leto

    I made youtube downloader to download video from youtube using nodejs library ytdl-core. If I wanted to download video with best quality I had to download them without sound. So, in my script, I download audio and video separately and I merge them into an mp4 file.
What's the problem ? Video player scroll doesn't work. I can see the video but I can't going back or move on, and I can't see video duration.

    


    const express = require("express");
const cors = require("cors");
const app = express();
const ffmpeg = require('ffmpeg-static');
const cp = require('child_process');
const ytdl = require("ytdl-core");

app.use(cors());

app.listen(3000, () => {
    console.log("Server is working at port 3000 !!");
});

app.get('/download', (req,res) => {
    var url = req.query.URL;
    var formato = req.query.FORMAT;

    try {
        let vid = ytdl(url,{filter:'videoonly', quality:'highestvideo'})
        let aud = ytdl(url, {filter: 'audioonly', quality:'highestaudio'});

        ytdl.getInfo(url).then(info => {
            titolo = info.videoDetails.title;

            res.header("Content-Disposition", 'attachment;  filename=' + titolo + '.mp4');

            const ffmpegProcess = cp.spawn(ffmpeg, [
                '-i', `pipe:3`,
                '-i', `pipe:4`,
                '-map','0:v:0',
                '-map','1:a:0',
                '-c:v', 'copy',
                '-c:a', 'aac',
                '-crf','27',
                '-preset','veryfast',
                '-movflags','frag_keyframe+empty_moov',
                '-f','mp4',
                '-loglevel','error',
                '-'
            ], {
                stdio: [
                'pipe', 'pipe', 'pipe', 'pipe', 'pipe',
                ],
            });
              
            aud.pipe(ffmpegProcess.stdio[4]);
            vid.pipe(ffmpegProcess.stdio[3]);
            ffmpegProcess.stdio[1].pipe(res);
        });
    }
    catch(err) {
        console.log("Error with URL: " + url + "\nERROR: " + err + "\n\n");
    }
});


    


    I have not found alternatives to do this. I need a working script to download youtube videos with good quality.