Recherche avancée

Médias (91)

Autres articles (69)

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

  • Use ffmpeg to show a webcam live stream in a browser

    20 juillet 2020, par Toast

    I have a webcam that is connected to a server and I'd like to view a live stream of it in a web browser.

    


    I'd like to include a video tag like this :

    


    <video></video>&#xA;

    &#xA;

    What is an ffmpeg command that will send a video stream to browser clients ?&#xA;I managed to record a video to disk with this command :

    &#xA;

    ffmpeg -f v4l2 -i /dev/video0 output.mkv&#xA;

    &#xA;

    I'm not sure if rtsp and ffmpeg are a good choice and I'm open for alternative suggestions.&#xA;I'm looking for a solution that is simple to setup and demo. Scalability and support for older browsers don't matter and audio isn't needed. I'd prefer a solution that sends compressed video instead of individual images (MJPG).

    &#xA;

  • FFMPEG show audio frequency waves with border

    13 juillet 2020, par Nikhil Solanki

    I am trying to generate sine waves or audio frequency like this using this command :

    &#xA;

    ffmpeg -i combine2.mp4 -i image1.png -i song.mp3 -t 20 -filter_complex "[0]split=2[color][alpha]; [color]crop=iw/2:ih:0:0[color]; [alpha]crop=iw/2:ih:iw/2:ih[alpha]; [color][alpha]alphamerge[v1];&#xA;[1]scale=540:960, setsar=1[v2];&#xA;[2]showfreqs=s=540x100:mode=line:ascale=sqrt:colors=white|red[v3];&#xA;[v2][v3] overlay=main_w-overlay_w:main_h-overlay_h-10[v4];&#xA;[v4][v1] overlay=1" output_video2.mp4 -y&#xA;

    &#xA;

    This command shows frequency of audio with white colour only and also its not smooth as above image. So, how can I generate waves like above image smooth and bordered ?

    &#xA;

    Output video :&#xA;screenshot

    &#xA;

  • ffmpeg show wrong with/height of video

    6 mai 2020, par boygiandi

    I have this video : https://media.gostream.co/uploads/gostream/9wkBeGM7lOfxT902V86hzI22Baj2/23-4-2020/videos/263a34c5a2fe61b33fe17e090893c04e-1587640618504_fs.mp4

    &#xA;&#xA;

    When I play it on Google Chrome, it's vertical video. But when I check with ffmpeg

    &#xA;&#xA;

    ffmpeg -i "https://media.gostream.co/uploads/gostream/9wkBeGM7lOfxT902V86hzI22Baj2/23-4-2020/videos/263a34c5a2fe61b33fe17e090893c04e-1587640618504_fs.mp4"&#xA;

    &#xA;&#xA;

    It show video dimensions are 1080x1080

    &#xA;&#xA;

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;a.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2avc1mp41&#xA;    encoder         : Lavf58.35.101&#xA;  Duration: 00:00:39.51, start: 0.000000, bitrate: 1577 kb/s&#xA;    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1080x1080 [SAR 9:16 DAR 9:16], 1464 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)&#xA;    Metadata:&#xA;      handler_name    : VideoHandler&#xA;    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)&#xA;    Metadata:&#xA;      handler_name    : SoundHandler&#xA;At least one output file must be specified&#xA;

    &#xA;&#xA;

    And when I livestream this video to Facebook, it scaled vertical video into square form : https://imgur.com/a/A8dQ7j7

    &#xA;&#xA;

    How can I correct video size when livestream ?

    &#xA;