Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (66)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • 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 ;

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (10096)

  • What video codecs work on Google Chromebook

    3 mars 2019, par MonkeyDLuffy

    I’m trying to put a show on my friends Google Chromebook but the mp4 files show up black when trying to watch them on said Chromebook, audio works fine. I found out that it is a video encoding problem but I cannot find a list of video formats that work on the Chromebook. I have ffmpeg and handbrake to try and test some things, but if someone could tell me a ffmpeg code that will convert the video files into a format that works on a Google Chromebook that would help a lot.

    What I’ve tried :

    ffmpeg -i "Game of Thrones S02E01 The North Remembers.mkv" codec mpeg "Game of Thrones S02E01 The North Remembers.mp4"

    Which gives error :

    [NULL @ 00000177196ea500] Unable to find a suitable output format for
    ’codec’ codec : Invalid argument

  • Streaming video over named PIPE with limited "channel" bandwidth

    13 mars 2019, par fmagno

    I have a video container vid.mp4 that I want to play with ffplay through a named PIPE and be able to tweak the maximum bandwidth allowed by the "channel". Follows what I did :

    1. Create a named PIPE :

    mkfifo pipe_in

    2. Send the container to the pipe with a limited bandwidth (150kB/s) with the help of pipe viewer pv :

    cat vid.mp4 | pv -L 150k > pipe_in

    3. Play the video with ffplay :

    ffplay cache:./pipe_in

    My expectation : To watch the video come through immediately but slowly given the bandwidth constraint.

    What really happens : The video begins to show at normal speed only when command 2. finishes running.

    Thank you in advance !

  • Streaming ffmpeg output directly to dispatcher

    4 novembre 2020, par PP_Hyperion

    I'm trying to play music with my discord bot and I want to use ffmpeg to specify the start of the music, which works perfectly fine, but I can only download the music with ffmpeg and then play it. I want ffmpeg to process it and then also stream it to play the music.

    



    Here is the code I use to download and then play the music :

    



    message.member.voiceChannel.join().then((con, err) => {
    ytPlay.search_video(op, (id) => {
        let stream = ytdl("https://www.youtube.com/watch?v=" + id, {
            filter: "audioonly"
        });
        let audio = fs.createWriteStream('opStream.divx');

        proc = new ffmpeg({
            source: stream
        })
        proc.withAudioCodec('libmp3lame')
            .toFormat('mp3')
            .seekInput(35)
            .output(audio)
            .run();
        proc.on('end', function() {
            let input = fs.createReadStream('opStream.divx');
            console.log('finished');
            guild.queue.push(id);
            guild.isPlaying = true;
            guild.dispatcher = con.playStream(input);
        });
    });
})


    



    Is it possible to do what I want and if yes how ?