Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP 0.2

Autres articles (44)

  • L’espace de configuration de MediaSPIP

    29 novembre 2010, par

    L’espace de configuration de MediaSPIP est réservé aux administrateurs. Un lien de menu "administrer" est généralement affiché en haut de la page [1].
    Il permet de configurer finement votre site.
    La navigation de cet espace de configuration est divisé en trois parties : la configuration générale du site qui permet notamment de modifier : les informations principales concernant le site (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

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

Sur d’autres sites (5923)

  • shell_exec echo'ing too fast or too late

    15 septembre 2016, par root

    So I read throug this article : https://trac.ffmpeg.org/wiki/PHP
    and found this :

    <?php
    echo "Starting ffmpeg...\n\n";
    echo shell_exec("ffmpeg -i input.avi output.avi >/dev/null 2>/dev/null &");
    echo "Done.\n";

    the code works almost perfectly fine, but the only thing that bothers me is, that because the shell_exec is being executed in the background (so there is no loading sign on the tab the whole time) all the echo’s are being executed immediatly. This means, that the "Done" echo is being written before ffmpeg finished its task.

    But when I remove the ’&’ the site does also what it is intended to do but now it waits until the shell_exec is finished until it echo’s out the "Starting ffmpeg..."

    So I kinda have the problem of figuring out how to get to such an order :

    1) echo something
    2) execute commad and wait until its finished.
    3) echo again

    I am a total beginner to php but have experience in programming overall. Please have mercy.

    Thank you for your time !

  • Fastest way to generate thumbnails with FFMPEG

    10 mai 2022, par Pit Digger

    FFMPEG takes 9 minutes for generating thumbnails every 15 seconds of a 3 hour long video. What is fastest way to do this ? I have tried following combinations but its taking same time.

    


    ffmpeg -ss 0.0 -t 10800 -i test.mp4 -an -vsync cfr -vf fps=1000/15000 -s 128x72 -f image2 -c:v png -compression_level 100 temp-%010d.png

ffmpeg -i test.mp4 -f image2 -bt 20M -vf fps=1/15 thumbs/tv%03d.png

ffmpeg -i inputvideo.mp4 -vf "select='not(mod(n,450))',setpts='N/(30*TB)'" -f image2 thumbnail%03d.jpg


    


    https://trac.ffmpeg.org/wiki/Create%20a%20thumbnail%20image%20every%20X%20seconds%20of%20the%20video

    


  • Create VHS Hi-Fi type (20Hz-20kHz) WAV file, from a 48kHz source FFmpeg [closed]

    27 août 2023, par Taymur Roshan

    I've been experimenting with using FFmpeg to convert modern high-quality audio (44.1, 48 & 96kHz etc.)into analogue type audio which are the old fashions Hi-Fi sounds like the 20 kHz frequency sampling signals https://en.wikipedia.org/wiki/VHS#Hi-Fi_audio_system.

    


    But since I already figured out of how to simply convert high frequency (source 48kHz) to low frequently (output 20kHz) using the '-ar' filter :

    


    ffmpeg -i "source.webm" -c:a pcm_s16le -ar 20000 "output.wav"


    


    However what I would like to know is that how can I make a genuine "flat full-range frequency response" 20 Hz to 20 kHz ?

    


    That would mean first downmix to 20kHz and also remove the first 20Hz out of the audio.