Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (61)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (8570)

  • Uncaught SyntaxError : Unexpected token ' ' using videojs - ffmpegjs plugin and multiple plugins issue

    6 octobre 2020, par Muhammad Faheem

    I'm trying to use ffmpegjs plugin into videojs but getting error

    


    


    "Uncaught SyntaxError : Unexpected token '<'".

    &#xA;

    &#xA;

    Also don't know how to use multiple plugins in videojs. Wanna use ffmpeg along with ts-ebml.

    &#xA;

    This is how I'm using in videojs options :

    &#xA;

    options: {&#xA;                controls: true,&#xA;                bigPlayButton: false,&#xA;                loop: false,&#xA;                width: 600,&#xA;                height: 340,&#xA;                fluid: false,&#xA;                plugins: {&#xA;                    wavesurfer: {&#xA;                        backend: "WebAudio",&#xA;                        waveColor: "#ffffff",&#xA;                        backgroundColor: "#000000",&#xA;                        barHeight: 3,&#xA;                        progressColor: "white",&#xA;                        debug: true,&#xA;                        cursorWidth: 1,&#xA;                        displayMilliseconds: true,&#xA;                        hideScrollbar: true,&#xA;                        plugins: [&#xA;                            // enable microphone plugin&#xA;                            WaveSurfer.microphone.create({&#xA;                                bufferSize: 4096,&#xA;                                numberOfInputChannels: 1,&#xA;                                numberOfOutputChannels: 1,&#xA;                                constraints: {&#xA;                                    video: false,&#xA;                                    audio: true&#xA;                                }&#xA;                            })&#xA;                        ]&#xA;                    },&#xA;                    record: {&#xA;                        audio: true,&#xA;                        video: false,&#xA;                        maxLength: 3600,&#xA;                        debug: true,&#xA;                        // enable ffmpeg.js plugin&#xA;                        convertEngine: "ffmpeg.js",&#xA;                        // convert recorded data to MP3&#xA;                        convertOptions: ["-f", "mp3", "-codec:a", "libmp3lame", "-qscale:a", "2"],&#xA;                        // specify output mime-type&#xA;                        pluginLibraryOptions: {&#xA;                            outputType: "audio/mpeg"&#xA;                        },&#xA;                        // use MP4 encoding worker (H.264 &amp; AAC &amp; MP3 encoders)&#xA;                        convertWorkerURL: "../../../../node_modules/ffmpeg.js/ffmpeg-worker-mp4.js"&#xA;                    }&#xA;                }&#xA;            }&#xA;

    &#xA;

  • avcodec/frame_thread_encoder : Avoid allocations of AVPackets, fix deadlock

    7 février 2021, par Andreas Rheinhardt
    avcodec/frame_thread_encoder : Avoid allocations of AVPackets, fix deadlock
    

    Up until now, when doing frame thread encoding, each worker thread
    tried to allocate an AVPacket for every AVFrame to be encoded ; said
    packets would then be handed back to the main thread, where the content
    of said packet is copied into the packet actually destined for output ;
    the temporary AVPacket is then freed.

    Besides being wasteful this also has another problem : There is a risk of
    deadlock, namely if no AVPacket can be allocated at all. The user
    doesn't get an error at all in this case and the worker threads will
    simply try to allocate a packet again and again. If the user has
    supplied enough frames, the user's thread will block until a task has
    been completed, which just doesn't happen if no packet can ever be
    allocated.

    This patch instead modifies the code to allocate the packets during
    init ; they are then reused again and again.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavcodec/frame_thread_encoder.c
  • ffmpeg video not working for Instagram, Snapchat, etc

    21 mai 2020, par hungry_

    I’m building a web app that combines a photo and an audio file to create a video. The video seems to export fine and I can view it on my phone, but when I upload to social media the video just skips, unable to play. These are my ffmpeg settings. Thanks !

    &#xA;&#xA;

    `Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p(progressive), 640x852 [SAR 639:640 DAR 3:4], q=-1--1, 25 fps, 12800 tbn, 25 tbc`&#xA;

    &#xA;