Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (64)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (9305)

  • ERROR : unsatisfiable constraints : so:libvpx.so.6 (missing)

    17 janvier 2021, par Valeed Malik

    FFMpeg was updated this week and is causing the build to break.

    



    Are my options to either :

    



      

    1. pin ffmpeg to a previous version ? If so, how do I pin to the version before current ?
    2. 


    3. Update the python dockerfile version
    4. 


    



    Output :

    



    Step 8/42 : RUN apk add  --no-cache ffmpeg
 ---> Running in 9e46540ed393
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
fetch http://dl-8.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
  so:libvpx.so.6 (missing):
    required by:
                 ffmpeg-libs-4.1.1-r2[so:libvpx.so.6]
                 ffmpeg-libs-4.1.1-r2[so:libvpx.so.6]
                 ffmpeg-libs-4.1.1-r2[so:libvpx.so.6]
                 ffmpeg-libs-4.1.1-r2[so:libvpx.so.6]
                 ffmpeg-libs-4.1.1-r2[so:libvpx.so.6]
                 ffmpeg-libs-4.1.1-r2[so:libvpx.so.6]
                 ffmpeg-libs-4.1.1-r2[so:libvpx.so.6]
                 ffmpeg-libs-4.1.1-r2[so:libvpx.so.6]
                 ffmpeg-libs-4.1.1-r2[so:libvpx.so.6]
                 ffmpeg-libs-4.1.1-r2[so:libvpx.so.6]
The command '/bin/sh -c apk add  --no-cache ffmpeg' returned a non-zero code: 3
ERROR: Job failed: exit code 3
FATAL: exit code 3                         


    



    Dockerfile :

    



    FROM python:3.6.7-alpine

ENV LANG C.UTF-8
RUN echo "http://dl-8.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories
RUN apk upgrade


RUN addgroup -S django && adduser -S -G django django

RUN apk update
# FFMPEG/Sox dependencies
RUN apk add sox
#RUN apk add  --no-cache libvpx-dev
RUN apk add  --no-cache ffmpeg


    


  • Merge commit ’136f55207521f0b03194ef5b55ba70f1635d6aee’

    20 mars 2017, par Clément Bœsch
    Merge commit ’136f55207521f0b03194ef5b55ba70f1635d6aee’
    

    * commit ’136f55207521f0b03194ef5b55ba70f1635d6aee’ :
    mpegvideo_motion : Handle edge emulation even without unrestricted_mv

    This commit is a noop, see 7b1e0beb2da31a0a8847bc9c68a87a120b71fa8a

    Merged-by : Clément Bœsch <u@pkh.me>

  • Play HLS segments through Media source extensions

    11 février 2018, par ler

    I got a list of m4s and init.mp4 from this FFMPEG command

    ffmpeg -i bunny.mp4 -f hls -hls_segment_type fmp4 -c:v copy playlist.m3u8

    I send those chunks using Socketand try to play them through MSE.
    When i send them in this order :

    init.mp4 + playlist0.m4s + playlist1.m4s ...

    They play without any problem, But when i want to start from the chunk number 3 meaning init.mp4 + playlist3.m4s for example i get this error :

    video frame with PTS 0us has negative DTS -80000us after applying timestampOffset, handling any discontinuity, and filtering against append window.

    I want to be able to start from any chunk, currently the only way to play the video is to star by init.mp4 + playlist0.m4s meaning playlist0.m4s because init.mp4 contain just headers of the video, This is the client code i’m using :

    var socket = io();
    var video = document.querySelector('video');
    var mimeCodec = 'video/mp4; codecs="avc1.64000d,mp4a.40.2"'; // true
    if ('MediaSource' in window &amp;&amp; MediaSource.isTypeSupported(mimeCodec))
    {
       var mediaSource = new MediaSource;
       video.src = URL.createObjectURL(mediaSource);
       mediaSource.addEventListener('sourceopen', function () {
               var mediaSource = this;
               var sourceBuffer = mediaSource.addSourceBuffer(mimeCodec);
              sourceBuffer.mode = 'segments';
               sourceBuffer.addEventListener('updateend', function (_) { video.play().then(function() { }).catch(function(error) { }); });
               socket.on('broadcast', function (chunk) {
                   downloadData(chunk.uri, function(arrayBuffer) {
                       sourceBuffer.appendBuffer(arrayBuffer);
                   });
               });
       });
    } else {
       console.error('Unsupported MIME type or codec: ', mimeCodec);
    }
    function downloadData(url, cb) {
       var xhr = new XMLHttpRequest;
       xhr.open('get', url);
       xhr.responseType = 'arraybuffer';
       xhr.onload = function () {
           cb(new Uint8Array(xhr.response));
       };
       xhr.send();
    }