Recherche avancée

Médias (0)

Mot : - Tags -/serveur

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

Autres articles (45)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

Sur d’autres sites (8010)

  • Install ffmpeg in MAMP

    19 juin 2017, par David Liu

    I’m trying to use this : https://www.youphptube.com/ to create a video sharing website.

    I’m developing locally using MAMP on macOS Sierra and have installed both ffmpeg and exiftool on the system, but how do I make it work from within the server ? Under "Advanced Configuration" what do I put in "Path to FFMPEG" and "Path to exiftool" ? What is the folder this path is relative to ? I guess this is why the videos I try to upload never start encoding. In "Leave blank for native ffmpeg" what does "native ffmpeg" mean ?

    I already tried putting the absolute paths but it doesn’t work either. I’m getting this error log :

    [19-Jun-2017 13:59:13 America/Panama] "status" :"error", "msg" :["sh : ffprobe : command not found"] ,"return_val":127, "where" :"getDuration", "cmd" :"ffprobe -i /Applications/MAMP/tmp/php/phpq2j0pt -sexagesimal -show_entries format=duration -v quiet -of csv=’p=0’"
    [19-Jun-2017 13:59:13 America/Panama] Duration founded : EE:EE:EE
    [19-Jun-2017 18:59:14 UTC] rm -f /Applications/MAMP/htdocs/platea-3/videos/video2_59481f01ed6179.69459230.jpg && ffmpeg -ss 5 -i /Applications/MAMP/htdocs/platea-3/videos/original_video2_59481f01ed6179.69459230 -qscale:v 2 -vframes 1 -y /Applications/MAMP/htdocs/platea-3/videos/video2_59481f01ed6179.69459230.jpg
    Array
    (
    [0] => sh : ffmpeg : command not found
    )

    So basically I think the server doesn’t find neither ffmpeg nor ffprobe.

    I would appreciate it if someone could take the time to install it as well and take a look. Thanks !

  • Convert raw RTP packets from mediasoup to frames

    31 mai 2017, par user2205763

    I am using mediasoup as a WebRTC server. In mediasoup, you can intercept raw RTP packets on the serverside using the following code :

    peer
     .on('newrtpreceiver', (rtpReceiver) => {
       rtpReceiver.on('rtpraw', (packet) => {
         // do something with this packet
       })
     })

    These packets are vp8 encoded. I want to pass the packets into FFMPEG and convert them to a stream of frames. I can then send these frames to an OpenCV service for analysis in real-time.

    My first attempt at doing this used the following procedure :
    * Turn the rtpReceiver.on('rtpraw') event into a Readable stream.
    * Use that readable stream as input into ffmpeg.
    * Set the output to a writestream.

    Here is an example of the code :

    import {Readable, Writable} from 'stream'
    import * as ffmpeg from 'fluent-ffmpeg'

    peer
     .on('newrtpreceiver', (rtpReceiver) => {
       if (rtpReceiver.kind !== 'video')
         return

       let readStream = new Readable({
         objectMode: false,
         read(size) { return true }
       })

       let writeStream = new Writable({
         objectMode: false,
         write(frame, encoding, done) {
           // send frame somewhere
         }
       })

       let ffmpegStream = ffmpeg(readStream)
         .noAudio()
         .videoCodec('libvpx')
         .size('640x?')
         .format('webm')
         .on('start', (cmdline) => {
           console.log('Command line: ' + cmdline)
         })
         .on('progress', (progress) => {
           console.log('Processing: ' + progress.percent + '% done')
         })
         .on('stderr', (stderrLine) => {
           console.log('Stderr output: ' + stderrLine)
         })
         .on('error', (err, stdout, stderr) => {
           console.log('Cannot process video: ' + err.message)
         })
         .on('end', () => {
           console.log('Finished processing')
         })
         .pipe(writeStream)

       rtpReceiver
         .on('rtpraw', (packet) => {
           readStream.push(packet)
         })
         .on('close', () => {
           readStream.push(null)
         })
     })

    When I run this, I get the error Invalid data when processing input. Here are the console logs :

    Command line: ffmpeg -i pipe:0 -y -an -vcodec libvpx -filter:v scale=w=640:h=trunc(ow/a/2)*2 -f mp4 mymov.mp4
    Stderr output: ffmpeg version 3.2.4 Copyright (c) 2000-2017 the FFmpeg developers
    Stderr output:   built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
    Stderr output:   configuration: --prefix=/usr/local/Cellar/ffmpeg/3.2.4 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-frei0r --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-opencl --disable-lzma --enable-libopenjpeg --disable-decoder=jpeg2000 --extra-cflags=-I/usr/local/Cellar/openjpeg/2.1.2/include/openjpeg-2.1 --enable-nonfree --enable-vda
    Stderr output:   libavutil      55. 34.101 / 55. 34.101
    Stderr output:   libavcodec     57. 64.101 / 57. 64.101
    Stderr output:   libavformat    57. 56.101 / 57. 56.101
    Stderr output:   libavdevice    57.  1.100 / 57.  1.100
    Stderr output:   libavfilter     6. 65.100 /  6. 65.100
    Stderr output:   libavresample   3.  1.  0 /  3.  1.  0
    Stderr output:   libswscale      4.  2.100 /  4.  2.100
    Stderr output:   libswresample   2.  3.100 /  2.  3.100
    Stderr output:   libpostproc    54.  1.100 / 54.  1.100
    Stderr output: pipe:0: Invalid data found when processing input
    Stderr output:
    Cannot process video: ffmpeg exited with code 1: pipe:0: Invalid data found when processing input

    Thank you for all your help !

  • avcodec/dnxhd_parser : Do not return invalid value from dnxhd_find_frame_end() on...

    14 juin 2017, par Michael Niedermayer
    avcodec/dnxhd_parser : Do not return invalid value from dnxhd_find_frame_end() on error
    

    Fixes : Null pointer dereference

    Fixes : CVE-2017-9608
    Found-by : Yihan Lian
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/dnxhd_parser.c