Recherche avancée

Médias (1)

Mot : - Tags -/vidéo

Autres articles (111)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (9466)

  • "Couldn't find ffmpeg or avconv" error while importing pydub

    14 avril 2020, par Vidya Reddy

    I am trying to convert .mp3 file to .wav. I am facing issue. I have tried all the suggestions given in stackoverflow but no use. ffmpeg is also installed successfully. Please find below code I am using

    



    from pydub import AudioSegment
src = 'Audio_1.mp3'
dst = 'Audio_2.wav'
sound = AudioSegment.from_mp3(src)
sound.export(dst, format="wav")


    



    I am facing below errors :

    



    RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
Couldn't find ffprobe or avprobe - defaulting to ffprobe, but may not work
FileNotFoundError: [WinError 2] The system cannot find the file specified


    



    I have tried all the existing solutions in stackoverflow but nothing could help. ffmpeg is installed successfully but still the issue. Please help me in this

    


  • Discord.js "Error : FFMPEG not found" but I'm pretty sure I have it

    21 février 2020, par Cole Perry

    I’m learning Discord.js and following this tutorial : https://discord.js.org/#/docs/main/stable/topics/voice . From the start, when I try to run- npm install ffmpeg-binaries I get a huge error message but it tells me to just use install ffmpeg so I did.

    Here is my Index.js page(I’ve replaced my token with * here) :

    const Discord = require('discord.js');
    const Colesbot = new Discord.Client();

    const token = '**********************************';

    Colesbot.on('ready', () =>{
       console.log('Slamsbot is online.');
    })

    Colesbot.on('message', msg=>{
      if(msg.content == "What up bot?"){
          msg.reply("Whats good pimp?")
      }
    });

    Colesbot.on('message', message=>{
       if (message.content === '/join') {
           // Only try to join the sender's voice channel if they are in one themselves
           if (message.member.voiceChannel) {
               message.member.voiceChannel.join().then(connection => {
                   message.reply('I have successfully connected to the channel!');
               }).catch(console.log);
       } else {
           message.reply('You need to join a voice channel first!');
         }
       }
    });

    //Event listener for new guild members
    Colesbot.on('guildMemberAdd', member =>{
       // Send the message to a designated channel on a server:
       const channel = member.guild.channels.find(ch => ch.name === 'general');
       // Do nothing if the channel wasn't found on this server
       if (!channel) return;
       // Send the message, mentioning the member
       channel.send(`Welcome to the server, ${member}. Please use the bot-commands channel to assign yourself a role.`);
    })

    Colesbot.login(token);



    exports.run = (client, message, args) => {

       let user = message.mentions.users.first || message.author;


    }

    If I type "/join" while not connected to a voice channel I get the proper message. However, if I try while I am I get this error message :

    Error: FFMPEG not found
    task_queues.js:94
    message:"FFMPEG not found"
    stack:"Error: FFMPEG not found\n    at Function.selectFfmpegCommand (c:\Users\bobal\Documents\GitHub\Spotify-Playlist-Discord-bot\node_modules\prism-media\src\transcoders\ffmpeg\Ffmpeg.js:46:13)\n    at new FfmpegTranscoder (c:\Users\bobal\Documents\GitHub\Spotify-Playlist-Discord-bot\node_modules\prism-media\src\transcoders\ffmpeg\Ffmpeg.js:7:37)\n    at new MediaTranscoder (c:\Users\bobal\Documents\GitHub\Spotify-Playlist-Discord-bot\node_modules\prism-media\src\transcoders\MediaTranscoder.js:10:19)\n    at new Prism (c:\Users\bobal\Documents\GitHub\Spotify-Playlist-Discord-bot\node_modules\prism-media\src\Prism.js:5:23)\n    at new VoiceConnection (c:\Users\bobal\Documents\GitHub\Spotify-Playlist-Discord-bot\node_modules\discord.js\src\client\voice\VoiceConnection.js:46:18)\n    at c:\Users\bobal\Documents\GitHub\Spotify-Playlist-Discord-bot\node_modules\discord.js\src\client\voice\ClientVoiceManager.js:63:22\n    at new Promise (<anonymous>)\n    at ClientVoiceManager.joinChannel (c:\Users\bobal\Documents\GitHub\Spotif...
    </anonymous>

    So I went to that folder and the file Ffmpeg.js is there and here is its contents :

    const ChildProcess = require('child_process');
    const FfmpegProcess = require('./FfmpegProcess');

    class FfmpegTranscoder {
     constructor(mediaTranscoder) {
       this.mediaTranscoder = mediaTranscoder;
       this.command = FfmpegTranscoder.selectFfmpegCommand();
       this.processes = [];
     }

     static verifyOptions(options) {
       if (!options) throw new Error('Options not provided!');
       if (!options.media) throw new Error('Media must be provided');
       if (!options.ffmpegArguments || !(options.ffmpegArguments instanceof Array)) {
         throw new Error('FFMPEG Arguments must be an array');
       }
       if (options.ffmpegArguments.includes('-i')) return options;
       if (typeof options.media === 'string') {
         options.ffmpegArguments = ['-i', `${options.media}`].concat(options.ffmpegArguments).concat(['pipe:1']);
       } else {
         options.ffmpegArguments = ['-i', '-'].concat(options.ffmpegArguments).concat(['pipe:1']);
       }
       return options;
     }

     /**
      * Transcodes an input using FFMPEG
      * @param {FfmpegTranscoderOptions} options the options to use
      * @returns {FfmpegProcess} the created FFMPEG process
      * @throws {FFMPEGOptionsError}
      */
     transcode(options) {
       if (!this.command) this.command = FfmpegTranscoder.selectFfmpegCommand();
       const proc = new FfmpegProcess(this, FfmpegTranscoder.verifyOptions(options));
       this.processes.push(proc);
       return proc;
     }

     static selectFfmpegCommand() {
       try {
         return require('ffmpeg-binaries');
       } catch (err) {
         for (const command of ['ffmpeg', 'avconv', './ffmpeg', './avconv']) {
           if (!ChildProcess.spawnSync(command, ['-h']).error) return command;
         }
         throw new Error('FFMPEG not found');
       }
     }
    }

    module.exports = FfmpegTranscoder;

    I also added ffmpeg to system path and it didn’t help :

    C:\ffmpeg
    C:\Users\bobal\Documents\GitHub\Spotify-Playlist-Discord-bot\ffmpeg

    I’m not quite sure what to do from here. If you need any other info I’d be glad to give it.

  • Unable to load FFMPEG library "java.lang.UnsatisfiedLinkError : dlopen failed :"

    25 janvier 2020, par Vicky

    I am trying to build and run old ffmpeg project which, it was in eclipse and now i am trying to run it from Android studio, but app crash displaying below error.

    2020-01-25 11:57:52.621 26360-26360/org.lance.ffplayer E/AndroidRuntime: FATAL EXCEPTION: main
    Process: org.lance.ffplayer, PID: 26360
    java.lang.UnsatisfiedLinkError: dlopen failed: library "./obj/local/armeabi/libffmpeg.so" not found
       at java.lang.Runtime.loadLibrary0(Runtime.java:1016)
       at java.lang.System.loadLibrary(System.java:1669)
       at org.lance.ffplayer.FFmpeg.<clinit>(FFmpeg.java:17)
       at org.lance.ffplayer.FFmpeg.getInstance(FFmpeg.java:87)
       at org.lance.ffplayer.FileBrowser.<init>(FileBrowser.java:41)
       at org.lance.ffplayer.UIActivity.onCreate(UIActivity.java:39)
       at android.app.Activity.performCreate(Activity.java:7327)
       at android.app.Activity.performCreate(Activity.java:7318)
       at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1275)
       at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3101)
       at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3264)
       at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
       at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
       at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1955)
       at android.os.Handler.dispatchMessage(Handler.java:106)
       at android.os.Looper.loop(Looper.java:214)
       at android.app.ActivityThread.main(ActivityThread.java:7078)
       at java.lang.reflect.Method.invoke(Native Method)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:974)
    </init></clinit>

    Below are configuration of my project,

    Android studio configuration image link - 1

    Android studio configuration image link - 2

    I have spent my entire day to solve this issue but everything failed. Anybody has idea about what i am missing and doing wrong ?
    Thanks in advance.