Recherche avancée

Médias (91)

Autres articles (99)

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

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

  • Activation de l’inscription des visiteurs

    12 avril 2011, par

    Il est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
    Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
    Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...)

Sur d’autres sites (10509)

  • Video Streaming Media Source Segments - This SourceBuffer has been removed from the parent media source

    16 septembre 2021, par Swifted

    I have a problem with my .mp4 file segmented with MP4Box and the following command :

    


    MP4Box -dash 4000 -rap -segment-name segment_ Trailler.mp4


    


    This generates my files "segment_1.m4s", "segment_2.m4s", ...
as well as video_dash.mpd and segment_init.mp4

    


    Then, on the Javascript side, I use MediaSource and I used the following tutorial :

    


    https://eyevinntechnology.medium.com/how-to-build-your-own-streaming-video-html-player-6ee85d4d078a

    


    This tutorial works very well for me, except when I try to use my fragmented .mp4 video. The following error comes out :

    


    enter image description here

    


    Can you tell me or point me to why this error comes up ?

    


    Thanks in advance

    


  • How to start an FFmpeg process, create a pipe and write data from the parent process ?

    3 mai 2021, par xlxs

    My code is based on https://stackoverflow.com/a/32279430/5941827.

    


    I run FFmpeg with the following params :

    


    std::stringstream sstm;
sstm << "ffmpeg -loglevel error -y -f rawvideo -vcodec rawvideo -s " << std::to_string(width) << "x" << std::to_string(height) //
        << " -pix_fmt rgb24 -framerate " << std::to_string(fps) << " -i - -c:v libx264 -preset " << getPreset(encodeSpeed) << //
        " -crf " << std::to_string(crf) << " -shortest " << path;


    


    (the variables are initialized in a class constructor correctly)

    


    Then I open the pipe with pPipe = popen(sstm.str().c_str(), "w").The problem is after I fwrite to it and calling fclose, based on the contents I write sometimes less or more bytes reach FFmpeg, and I get

    


    [rawvideo @ 000000000010c3df] Invalid buffer size, packet size 196606 < expected frame_size 196608
Error while decoding stream #0:0: Invalid argument


    


    The saved output video usually has one frame more or less than the expected.
I have checked the array I'm sending trough the pipe with fwrite and it's size is correct.
It appears that based on the data I send some bytes don't get there, or more bytes than I send go through the pipe.

    


    I have also tried two different FFmpeg versions, but with the same error message.

    


  • How to batch "touch" files in subfolder with data from parent folder

    12 août 2019, par Constantine Grigorakis

    I have a folder named "Video" on my Desktop and inside that folder are a bunch of .MTS video files. (00000.MTS, 00001.MTS, 00002.MTS etc...)

    There is also a subfolder "H.265" (Video > H.265) which contains files (00000.mp4, 00001.mp4, 00002.mp4 etc...) which were made by converting the files from the parent folder. The problem is they don’t contain the correct date created metadata.

    I want to use the command

    touch -r 00000.MTS 00000.mp4
    touch -r 00001.MTS 00001.mp4
    ...
    touch -r 000mn.MTS 000mn.mp4

    to copy the date from the MTS to the mp4 file.

    Is there a way I could write a for loop or something to do this for every single file ?

    I am using MacOS Mojave.