Recherche avancée

Médias (0)

Mot : - Tags -/organisation

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

Autres articles (41)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

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

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

Sur d’autres sites (11424)

  • Visual Studio LNK2001 Error, despite using extern "C" for ffmpeg libraries in C++ [duplicate]

    1er février 2020, par Faizan Cassim

    This is what it looks like :

    ’’’

    extern "C"
    {
    #include "libavcodec/avcodec.h"
    #include "libavformat/avformat.h"
    #include "libavutil/avutil.h"
    };

    ’’’

    But I still get these errors when using the FFmpeg libraries in Visual Studio 2019

    1>AudioFile.obj : error LNK2001: unresolved external symbol avformat_open_input
    1>AudioFile.obj : error LNK2001: unresolved external symbol av_read_frame
    1>AudioFile.obj : error LNK2001: unresolved external symbol av_free
    1>AudioFile.obj : error LNK2001: unresolved external symbol av_get_sample_fmt_name
    1>AudioFile.obj : error LNK2001: unresolved external symbol avformat_close_input
    1>AudioFile.obj : error LNK2001: unresolved external symbol av_init_packet
    1>AudioFile.obj : error LNK2001: unresolved external symbol avcodec_receive_frame
    1>AudioFile.obj : error LNK2001: unresolved external symbol avcodec_open2
    1>AudioFile.obj : error LNK2001: unresolved external symbol av_sample_fmt_is_planar
    1>AudioFile.obj : error LNK2001: unresolved external symbol avcodec_close
    1>AudioFile.obj : error LNK2001: unresolved external symbol av_get_bytes_per_sample
    1>AudioFile.obj : error LNK2001: unresolved external symbol av_packet_unref
    1>AudioFile.obj : error LNK2001: unresolved external symbol avformat_find_stream_info
    1>AudioFile.obj : error LNK2001: unresolved external symbol av_find_best_stream
    1>AudioFile.obj : error LNK2001: unresolved external symbol av_frame_alloc

    I would be greatfull to anyone who could help me resolve this. I am using C++ for Windows.

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

  • permission is denied using Android Q ffmpeg" : error=13, Permission denied

    27 juillet 2022, par v teja

    I want to get the frames from the RTSP video using ffmpeg. But for android 10 above I am getting error as below.

    &#xA;&#xA;

     E/FFmpeg: Exception while trying to run: [Ljava.lang.String;@55e447f&#xA;java.io.IOException: Cannot run program "/data/user/0/com.example.downloadimagefromurl/files/ffmpeg": error=13, Permission denied&#xA;    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1050)&#xA;    at java.lang.Runtime.exec(Runtime.java:698)&#xA;    at java.lang.Runtime.exec(Runtime.java:563)&#xA;    at com.github.hiteshsondhi88.libffmpeg.ShellCommand.run(ShellCommand.java:10)&#xA;    at com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.doInBackground(FFmpegExecuteAsyncTask.java:38)&#xA;    at com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.doInBackground(FFmpegExecuteAsyncTask.java:10)&#xA;    at android.os.AsyncTask$3.call(AsyncTask.java:378)&#xA;    at java.util.concurrent.FutureTask.run(FutureTask.java:266)&#xA;    at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:289)&#xA;    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)&#xA;    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)&#xA;    at java.lang.Thread.run(Thread.java:919)&#xA; Caused by: java.io.IOException: error=13, Permission denied&#xA;    at java.lang.UNIXProcess.forkAndExec(Native Method)&#xA;    at java.lang.UNIXProcess.<init>(UNIXProcess.java:133)&#xA;</init>

    &#xA;&#xA;

    As the answer provided by @Saurabh Thorat, Google doesn't allow apps to run binary files from /data/user directory.

    &#xA;&#xA;

    One bad solution that I know is to change compileSdkVersion and targetSdkVersion to 28 or below and re-release my application which is not recommended.

    &#xA;&#xA;

    Hence, I am looking for more viable solutions for future releases as well.

    &#xA;&#xA;

    Any hint, links or suggestion would be highly appreciated. Thanks in advance.

    &#xA;