Recherche avancée

Médias (0)

Mot : - Tags -/auteurs

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

Autres articles (103)

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

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

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

Sur d’autres sites (11707)

  • Discord bot : Fix ‘FFMPEG not found’

    14 mars, par Travis Sova

    I want to make my Discord bot join voice chat, but every time I run the command, I get an error message in the log(cmd) saying, FFMPEG not found.

    


    Picture of the error :

    


    Error: FFMPEG not found

    


    This is the code :

    


    client.on('message', message => {
  // Voice only works in guilds, if the message does not come from a guild,
  // we ignore it
  if (!message.guild) return;

  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 => { // Connection is an instance of VoiceConnection
          message.reply('I have successfully connected to the channel!');
        })
        .catch(console.log);
    } else {
      message.reply('You need to join a voice channel first!');
    }
  }
});


    


    this is my package.json file :

    


    {
  "name": "x",
  "version": "1.0.0",
  "main": "index.js",
  "scripts": {
    "start": "node index.js",
    "dev": "nodemon index.js"
  },
  "dependencies": {
    "discord.js": "^11.4.2",
    "dotenv": "^6.2.0",
    "ffmpeg": "0.0.4",
    "opusscript": "0.0.6"
  },
  "devDependencies": {
    "nodemon": "^1.18.9"
  }
}


    


  • [C++][Linux + ffmpeg + h264 + rtsp + client] and [Window + ffmpeg + play video real time + server]

    21 avril 2015, par QuestionGuy

    I have a problem with ffmpeg and I don’t know how to continue. I have 2 computers :

    Client :

    • Run Ubuntu 14.04
    • FFmpeg installed
    • Use c++ language
    • Features : use ffmpeg to encode h264 video data from webcam of client laptop, then real time streaming to server

    Server :

    • Running Windows 7
    • FFmpeg installed
    • Use c++ language (MFC)
    • Features : Get real time data from client and show it on screen.

    I’ve just connected client to server and they can chat text data together, and I don’t have any idea to make real time video work.

    And my questions are :

    1. [Client] How to get video from webcam on laptop (using ffmpeg code), save it to buffer (raw data), encode it and send to server ?

      I use ffmpeg to get video from wc but it save to file. I really don’t want it. Code is :

      ffmpeg -f v4l2 -framerate 25 -video_size 640x480 -i /dev/video0 output.mkv
    2. [Client] How to get raw data from client, decode it and play it ?

      I have an idea to play it by using directshow in MFC.

  • ffmpeg compilation Error

    14 juillet 2016, par sivamnatesan3

    I have been trying to compile ffmpeg on my raspberry-pi, but it gives me a lot of warnings like (codec is deprecated) especially while run sudo make.

    pi@raspberrypi:/usr/src/ffmpeg $ sudo make && sudo make install

    ....... lots of successful execution here ......


    CC  libavfilter/avf_showfreqs.o
    libavfilter/lavfutils.c: In function ‘ff_load_image’:
    libavfilter/lavfutils.c:53:5: warning: ‘codec’ is deprecated (declared at    ./libavformat/avformat.h:880) [-Wdeprecated-declarations]
    codec_ctx = format_ctx->streams[0]->codec;
    ^
    libavfilter/lavfutils.c:79:5: warning: ‘avcodec_decode_video2’ is deprecated   (declared at ./libavcodec/avcodec.h:4763) [-Wdeprecated-declarations]
    ret = avcodec_decode_video2(codec_ctx, frame, &frame_decoded, &pkt);
    ^
    CC  libavfilter/lswsutils.o
    CC  libavfilter/opencl_allkernels.o
    CC  libavfilter/pthread.o
    CC  libavfilter/setpts.o
    CC  libavfilter/settb.o
    CC  libavfilter/split.o
    CC  libavfilter/src_movie.o
    libavfilter/src_movie.c: In function ‘movie_push_frame’:
    libavfilter/src_movie.c:524:9: warning: ‘avcodec_decode_video2’ is deprecated (declared at ./libavcodec/avcodec.h:4763) [-Wdeprecated-declarations]
        ret = avcodec_decode_video2(st->codec_ctx, frame, &got_frame, pkt);
        ^
    libavfilter/src_movie.c:527:9: warning: ‘avcodec_decode_audio4’ is deprecated (declared at ./libavcodec/avcodec.h:4714) [-Wdeprecated-declarations]
        ret = avcodec_decode_audio4(st->codec_ctx, frame, &got_frame, pkt);
        ^
    CC  libavfilter/transform.o
    CC  libavfilter/trim.o
    CC  libavfilter/vaf_spectrumsynth.o
    libavfilter/vaf_spectrumsynth.c: In function ‘try_push_frame’:
    libavfilter/vaf_spectrumsynth.c:370:19: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
    int ch, n, i, ret;                 ^
    CC  libavfilter/vf_alphamerge.o
    CC  libavfilter/vf_aspect.o
    CC  libavfilter/vf_atadenoise.o
    CC  libavfilter/vf_colorlevels.o
    CC  libavfilter/vf_colorspace.o
    libavfilter/vf_colorspace.c: In function ‘fill_rgb2xyz_table’:
    libavfilter/vf_colorspace.c:360:22: warning: passing argument 1 of ‘invert_matrix3x3’ from incompatible pointer type
    invert_matrix3x3(rgb2xyz, i);
                     ^
    libavfilter/vf_colorspace.c:277:13: note: expected ‘const double (*)[3]’ but argument is of type ‘double (*)[3]’
    static void invert_matrix3x3(const double in[3][3], double out[3][3])
            ^
    libavfilter/vf_colorspace.c: In function ‘fill_whitepoint_conv_table’:
    libavfilter/vf_colorspace.c:424:21: warning: passing argument 3 of ‘mul3x3’   from incompatible pointer type
    mul3x3(tmp, ma, fac);
    libavfilter/vf_colorspace.c:376:13: note: expected ‘const double (*)[3]’ but argument is of type ‘double (*)[3]’
    static void mul3x3(double dst[3][3], const double src1[3][3], const double src2[3][3])
            ^
    libavfilter/vf_colorspace.c:425:17: warning: passing argument 2 of ‘mul3x3’ from incompatible pointer type
    mul3x3(out, tmp, mai);
                ^
    libavfilter/vf_colorspace.c:376:13: note: expected ‘const double (*)[3]’ but argument is of type ‘double (*)[3]’
    static void mul3x3(double dst[3][3], const double src1[3][3], const double src2[3][3])
            ^
    libavfilter/vf_colorspace.c:425:22: warning: passing argument 3 of ‘mul3x3’ from incompatible pointer type
    mul3x3(out, tmp, mai);
                     ^
    libavfilter/vf_colorspace.c:376:13: note: expected ‘const double (*)[3]’ but argument is of type ‘double (*)[3]’
    static void mul3x3(double dst[3][3], const double src1[3][3], const double src2[3][3])
            ^
    libavfilter/vf_colorspace.c: In function ‘convert’:
    libavfilter/vf_colorspace.c:480:20: warning: passing argument 7 of ‘s->yuv2yuv’ from incompatible pointer type
                   s->yuv2yuv_coeffs, s->yuv_offset);
                   ^
    libavfilter/vf_colorspace.c:480:20: note: expected ‘const int16_t (*)[3][8]’ but argument is of type ‘int16_t (*)[3][8]’
    libavfilter/vf_colorspace.c:480:39: warning: passing argument 8 of ‘s->yuv2yuv’ from incompatible pointer type
                   s->yuv2yuv_coeffs, s->yuv_offset);
                                      ^
    libavfilter/vf_colorspace.c:480:39: note: expected ‘const int16_t (*)[8]’ but argument is of type ‘int16_t (*)[8]’
    libavfilter/vf_colorspace.c:502:20: warning: passing argument 7 of ‘s->yuv2rgb’ from incompatible pointer type
                   s->yuv2rgb_coeffs, s->yuv_offset[0]);
                   ^
    libavfilter/vf_colorspace.c:502:20: note: expected ‘const int16_t (*)[3][8]’ but argument is of type ‘int16_t (*)[3][8]’
    libavfilter/vf_colorspace.c:506:62: warning: passing argument 5 of ‘s->dsp.multiply3x3’ from incompatible pointer type
                s->dsp.multiply3x3(rgb, s->rgb_stride, w, h, s->lrgb2lrgb_coeffs);
                                                             ^
    libavfilter/vf_colorspace.c:506:62: note: expected ‘const int16_t (*)[3][8]’ but argument is of type ‘int16_t (*)[3][8]’
    libavfilter/vf_colorspace.c:511:28: warning: passing argument 7 of ‘s->rgb2yuv_fsb’ from incompatible pointer type
                           s->rgb2yuv_coeffs, s->yuv_offset[1], s->dither_scratch);
                           ^
    libavfilter/vf_colorspace.c:511:28: note: expected ‘const int16_t (*)[3][8]’ but argument is of type ‘int16_t (*)[3][8]’
    libavfilter/vf_colorspace.c:514:24: warning: passing argument 7 of ‘s->rgb2yuv’ from incompatible pointer type
                       s->rgb2yuv_coeffs, s->yuv_offset[1]);
                       ^
    libavfilter/vf_colorspace.c:514:24: note: expected ‘const int16_t (*)[3][8]’ but argument is of type ‘int16_t (*)[3][8]’
    libavfilter/vf_colorspace.c: In function ‘create_filtergraph’:
    libavfilter/vf_colorspace.c:614:30: warning: passing argument 1 of ‘invert_matrix3x3’ from incompatible pointer type

                    ^

    and it still continues....

    How to solve it ? what might be the problem for this warnings ?