Recherche avancée

Médias (2)

Mot : - Tags -/plugins

Autres articles (96)

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

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

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (8626)

  • ffmpeg is not working while uploading file using uploadify

    21 janvier 2016, par Ranjith

    for a particular video i tried like this, and it worked

    exec('/usr/bin/ffmpeg -i /home/xxxxxx/public_html/test/video1.mp4  /home/xxxxxxx/public_html/test/video1.flv');

    but for uploadify i write code like this ,

    <?php

    if (!empty($_FILES)) {
    $userId=$_SESSION["user_userid"];
    $filename = $_FILES['Filedata']['name'];
    $filetmpname = $_FILES['Filedata']['tmp_name'];
    $fileType = $_FILES["Filedata"]["type"];
    $fileSizeMB = ($_FILES["Filedata"]["size"] / 1024 / 1024);
    $folder=$_REQUEST['folder'];

    exec("/usr/bin/ffmpeg -i"."/home/xxxxxx/public_html/private/".$folder."/".$filename." "."/home/xxxxxx/public_html/private/".$folder."/".$filename.".flv");

    }elseif($_POST['d']){
    $filename = $_POST['d'];
    $folder=$_REQUEST['folder'];
    $dFile = $folder.$filename;
    if(file_exists($dFile)){
       unlink($dFile);
    }
    }
    ?>

    this code is not converting the uploaded file.
    help me please.

    thanks

  • FFmpeg.wasm demuxing - Get encodedChunks in Javascript

    16 mars 2023, par Kevin Baving

    I am building a video editor whose process looks like this :

    


    Demuxing -> Decoding -> Editing -> Encoding -> Muxing.

    


    The demuxing and muxing process is currently done with mp4box.js. I would like to replace mp4box.js with ffmpeg.wasm. Unfortunately, I can't get along with the process.

    


    What should FFmpeg.wasm do in the demuxing process ?

    


      

    • load a .mp4 file
    • 


    • extract the encodedVideoChunks and store them as EncodedVideoChunk objects in an array
    • 


    • extract the encodedAudioChunks and store them as EncodedAudioChunk objects in an array
    • 


    • get some metadata like : duration, timescale, fps, track_width, track_height, codec, audio_channel_count, sample_rate ....
    • 


    


    public async loadFile(file: File) {
    let data = await fetchFile(file)
    let blob = new Blob();
    await this.ffmpeg.setProgress(({ratio }) => console.log(`Extracting frames: ${Math.round(ratio * 100)}%`));
    this.ffmpeg.FS('writeFile', 'videoTest.mp4', data);
    //Here is where I am struggling
    //Should look like this: 
    //const command = '-i videoTest.mp4 -c:v copy .... '
    //await this.ffmpeg.run(command);
    //....
}


    


    Lets get deeper into my problem :

    


    Because FFmpeg.wasm is still a cli tool, I have no idea what the best way to safe the encodedChunks into a file is (and what kind of filetype I should use). Further I would like to know how to read that file propertly so that i can safe the input of the file into seperate EncodedVideo- and AudioChunks.

    


  • How to transcode 50 H264 Streams with FFMPEG more efficient ?

    20 juin 2019, par Kevin

    i need to (Re-)Transcode 50 Live-Streams. These streams are in H264 with 720p to 1080p and bitrates up to 10M. I just want to reduce the quality and bitrate of the streams to up to 720p with max. 2M Bitrate.

    That’s what i’m doing right now :

    ffmpeg -re -i "http://domain.tld/path/file.ext" -vcodec libx264 -preset veryfast -vf scale=-2:720 -b:v 2M -maxrate 2M -bufsize 1M -acodec libfdk_aac -f flv "rtmp://127.0.0.1:1935/live/stream_xyz"

    My Server CPU (2 x Xeon E5-2630 v3) is already at 100% with just 12 streams. I will upgrade my server to 2 x Xeon Gold 5118 next month, but i don’t think, that this will give me that much more power.

    Can someone help me, to do this more efficient ?

    Would it be more efficient / cheaper to do this with GPUs ?

    Or any other ideas, to do that as efficient and cheap as possible ?

    Thanks