Recherche avancée

Médias (91)

Autres articles (59)

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

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

  • checkasm/sw_rgb : fix the function declaration warning

    6 mai 2018, par Jun Zhao
    checkasm/sw_rgb : fix the function declaration warning
    

    fix the warning : "function declaration isn’t a prototype", in C
    int foo() and int foo(void) are different functions. int foo()
    accepts an arbitrary number of arguments, while int foo(void) accepts 0
    arguments.

    Signed-off-by : Jun Zhao <mypopydev@gmail.com>

    • [DH] tests/checkasm/sw_rgb.c
  • avcodec/amfenc : Update supported HEVC color ranges

    14 septembre 2024, par Cameron Gutman
    avcodec/amfenc : Update supported HEVC color ranges
    

    We properly set AMF_VIDEO_ENCODER_HEVC_NOMINAL_RANGE since fb4dd4b6f48.

    Signed-off-by : Cameron Gutman <aicommander@gmail.com>

    • [DH] libavcodec/amfenc_hevc.c
  • Node.js child_process TypeError : Cannot read property '_writableState' of undefined

    15 mai 2018, par functorial

    I am trying to wrap a piece of ffmpeg’s functionality in a Node.js API, using the child_process library, but when I attempt to send any data to ffmpeg’s stdin pipe, I get an error TypeError: Cannot read property '_writableState' of undefined.

    import {spawn} from "child_process"

    export default frames => {
       // Spawn ffmpeg process
       const ffmpeg = spawn("ffmpeg", ["-f", "image2pipe", "-i", "-", "output.mkv"])
       // Send frames to ffmpeg as stdin
       frames.forEach(ffmpeg.stdin.write)

       // Listen for output and errors
       return new Promise((resolve, reject) => {
           const chunks = []

           ffmpeg.stdout.on("data", chunks.push)
           ffmpeg.stderr.on("data", reject(data))
           ffmpeg.on("close", code =>
               resolve(Buffer.concat(chunks))
           )
       })
    }

    Error :

    TypeError: Cannot read property '_writableState' of undefined
       at Writable.write (_stream_writable.js:270:20)
       at Array.forEach (<anonymous>)
       at exports.default (/home/fiendfan1/workspace/nodejs/declare/dist/app/common/encodeVideo.js:21:12)
       at _callee$ (/home/fiendfan1/workspace/nodejs/declare/dist/app/tests/video.js:34:84)
       at tryCatch (/home/fiendfan1/workspace/nodejs/declare/node_modules/regenerator-runtime/runtime.js:65:40)
       at Generator.invoke [as _invoke] (/home/fiendfan1/workspace/nodejs/declare/node_modules/regenerator-runtime/runtime.js:303:22)
       at Generator.prototype.(anonymous function) [as next] (/home/fiendfan1/workspace/nodejs/declare/node_modules/regenerator-runtime/runtime.js:117:21)
       at Generator.tryCatcher (/home/fiendfan1/workspace/nodejs/declare/node_modules/bluebird/js/release/util.js:16:23)
       at PromiseSpawn._promiseFulfilled (/home/fiendfan1/workspace/nodejs/declare/node_modules/bluebird/js/release/generators.js:97:49)
       at Promise._settlePromise (/home/fiendfan1/workspace/nodejs/declare/node_modules/bluebird/js/release/promise.js:574:26)
       at Promise._settlePromise0 (/home/fiendfan1/workspace/nodejs/declare/node_modules/bluebird/js/release/promise.js:614:10)
       at Promise._settlePromises (/home/fiendfan1/workspace/nodejs/declare/node_modules/bluebird/js/release/promise.js:693:18)
       at Async._drainQueue (/home/fiendfan1/workspace/nodejs/declare/node_modules/bluebird/js/release/async.js:133:16)
       at Async._drainQueues (/home/fiendfan1/workspace/nodejs/declare/node_modules/bluebird/js/release/async.js:143:10)
       at Immediate.Async.drainQueues [as _onImmediate] (/home/fiendfan1/workspace/nodejs/declare/node_modules/bluebird/js/release/async.js:17:14)
       at runCallback (timers.js:696:18)
    </anonymous>