Recherche avancée

Médias (0)

Mot : - Tags -/upload

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (63)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (5976)

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

    


  • YouTube_dl doesn't find ffmpeg

    10 octobre 2019, par user702846

    I would like to download a set of youtube file as audio, mp3.

    import youtube_dl

    ydl_opts = {
       'format': 'bestaudio/best',
       'postprocessors': [{
           'key': 'FFmpegExtractAudio',
           'preferredcodec': 'mp3',
           'preferredquality': '192',
       }],
    }
    with youtube_dl.YoutubeDL(ydl_opts) as ydl:
       ydl.download(['https://www.youtube.com/watch?v=cmNEDz7YZSw'])

    It successfully download the file as m4a - however complains about ffmpeg installation.

    ERROR: ffprobe/avprobe and ffmpeg/avconv not found. Please install one.

    I do have ffmpeg installed and located at /usr/local/bin/ffmpeg and also have added to my PATH using

    os.environ["PATH"] += '/usr/local/bin/ffmpeg'

    but still the error is there. I am using MacOS Mojave and my ffmpeg specification are as following,

    fmpeg version 4.1.3 Copyright (c) 2000-2019 the FFmpeg developers
     built with Apple LLVM version 10.0.1 (clang-1001.0.46.4)
     configuration: --disable-encoder=vorbis --enable-libvorbis --enable-libmp3lame --disable-x86asm
  • FFmpeg youtube streaming crash

    27 septembre 2020, par UkaszYTPolak

    I'm using vps with Ubuntu 18.04.1 LTS

    


    And i want to create stream 24/7 on youtube.

    


    Script :

    


    #! /bin/bash
 
VBR="1500k"
FPS="29"
QUAL="ultrafast"
YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2"
YOUTUBE_KEY="xxxx-xxxx-xxxx-xxxx-xxxx"
VIDEO_SOURCE="undefajnd.mp4"
AUDIO_SOURCE="marynaura.mp3"
AUDIO_ENCODER="aac"
 
ffmpeg \
 -stream_loop -1 \
 -re \
 -r $FPS \
 -i "$VIDEO_SOURCE" \
 -thread_queue_size 512 \
 -i "$AUDIO_SOURCE" \
 -c:v libx264 -tune stillimage -pix_fmt yuv420p -preset $QUAL -r $FPS -g $(($FPS *2)) -b:v $VBR \
 -c:a $AUDIO_ENCODER -threads 6 -ar 44100 -b:a 128k -bufsize 512k -pix_fmt yuv420p \
 -f flv \
 -flvflags no_duration_filesize  $YOUTUBE_URL/$YOUTUBE_KEY


    


    Stream is in loop,but "Crash" on video end
Video - from terminal

    


    sorry for my English D :