Recherche avancée

Médias (91)

Autres articles (64)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • 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

Sur d’autres sites (9032)

  • How to output fragmented mp4 with ffmpeg ?

    4 mars, par S B

    ffmpeg -i infile.avi out.mp4 outputs non-fragmented MP4.

    



    How do I obtain fragmented mp4 ?

    



    Update
A fragmented mp4 file is internally divided into several back-to-back chunks or MPEG-4 movie fragments. Each chunk has its own moof atom - so there are several moof atoms interleaved in the file instead of a single moov at the end as in the case of an unfragmented mp4. This makes it easier to stream over slow networks where buffering is involved

    



    There are several tools like mp4box that convert a normal mp4 to a fragmented one. Unfortunately we cannot use something like this

    



    ffmpeg <options to="to" output="output" mp4="mp4"> | mp4box&#xA;</options>

    &#xA;&#xA;

    since ffmpeg does not produce seekable output while producing mp4 containers.

    &#xA;

  • FFmpeg - CRF Command for Nvenc encode ? [migrated]

    31 juillet 2017, par hongducwb

    My current command for resize videos, 1080p 2GB to 300MB but it take a lot of time on my CPU

    mkdir newfiles
    for %%a in ("*.mp4") do ffmpeg -i "%%a" -c:v libx264 -preset slow -crf 21 c:a aac -b:a 128k -vf scale=678 :-2 "newfiles\%% na.mp4"
    pause

    i try nvenc with my 1070.

    mkdir newfiles
    for %%a in ("*.mp4") do ffmpeg -i "%%a" -c:v h264_nvenc -preset slow -c:a aac -b:a 128k -vf scale=678 :-2 "newfiles\%% na.mp4"
    pause

    output size always 3x or 5x original size, nvenc not working with -crf

    so anyone know command to resize/convert video with high quality and small size ?
    and should i use gpu for encoding ?

    THANK

  • FFprobe analysis of HLS chunks duration

    23 mars 2017, par Georgе Stoyanov

    I am writing a script for analysis of HLS streams. The problem is that when I run it on some specific streams the duration is missing from the format block. It shows

       "format": {
           "filename": "http://example.com/Content/HLS/Live/index.m3u8",
           "nb_streams": 7,
           "nb_programs": 5,
           "format_name": "hls,applehttp",
           "format_long_name": "Apple HTTP Live Streaming",
           "start_time": "71900.703522",
           "size": "1030",
           "probe_score": 100
       }

    I tried to run the same command on the main manifest file, on the profile manifest file and on the chunk itself but I am getting :

    Duration : N/A

    So now I was thinking is it possible to define that the ffprobe has to analyze only one chunk because I can get the duration from the number of the frames divided by the frame rate of the profile.