Recherche avancée

Médias (0)

Mot : - Tags -/albums

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (59)

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

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (4037)

  • FFmpeg Mosaic Live Stream

    11 février 2018, par Areeb111

    I have ffmpeg running on CentOS 7, I want to create a live mosaic output stream which is created from 4 live input streams.
    It’s working fine but i want to use this for monitoring purposes,
    Current problem is if one of the input streams goes down, And then it’s back to work again, then FFmpeg would not detect it and keep the last frame freezing from the disconnected input stream.

    Any ideas about solving this problem ?

    ffmpeg  -i rtmp://192.168.99.251/test/1 -i rtmp://192.168.99.251/test/2 -i rtmp://192.168.99.251/test/3 -i "rtmp://192.168.99.251:1935/test/4” -filter_complex "nullsrc=size=640x480 [base];
               [0:v] setpts=PTS-STARTPTS, scale=320x240 [upperleft];
               [1:v] setpts=PTS-STARTPTS, scale=320x240 [upperright];
               [2:v] setpts=PTS-STARTPTS, scale=320x240 [lowerleft];
               [3:v] setpts=PTS-STARTPTS, scale=320x240 [lowerright];
               [base][upperleft] overlay=shortest=0 [tmp1];
               [tmp1][upperright] overlay=shortest=0:x=320 [tmp2];
               [tmp2][lowerleft] overlay=shortest=0:y=240 [tmp3];
               [tmp3][lowerright] overlay=shortest=0:x=320:y=240" -c:v libx264 -b:v 1200k -an  -f flv rtmp://192.168.99.251:1935/test/mos
  • Saving video to SD card while live streaming to YouTube using FFmpeg

    15 mai 2020, par Zohair Ul Hasan

    I'm trying to set up a Raspberry Pi so that it live streams video to YouTube using the Raspberry Pi camera and also saves the video to the SD Card for backup, in case the internet gets disconnected. I used Alex Ellis's guide to set it up, which is basically a docker image that anyone can download and set it up. He sets up the live stream to YouTube but doesn't save the video offline.

    



    So, I tinkered with his code and found that he used FFmpeg to stream to YouTube. The following line is basically the heart of his method to stream :

    



    raspivid -o - -t 0 -w 1920 -h 1080 -fps 40 -b 8000000 -g 40 | ffmpeg -re -ar 44100 -ac 2 -acodec pcm_s16le -f s16le -ac 2 -i /dev/zero -f h264 -i pipe:0 -c:v copy -c:a aac -ab 128k -g 40 -strict experimental -f flv -r 30 rtmp://a.rtmp.youtube.com/live2/$1


    



    I read up about FFmpeg and apparently, to save this stream to my SD card all I need to do is add the directory where I want to save my video to the end of this code. I modified it like so at the end of the line :

    



    raspivid -o - -t 0 -w 1920 -h 1080 -fps 40 -b 8000000 -g 40 | ffmpeg -re -ar 44100 -ac 2 -acodec pcm_s16le -f s16le -ac 2 -i /dev/zero -f h264 -i pipe:0 -c:v copy -c:a aac -ab 128k -g 40 -strict experimental -f flv -r 30 rtmp://a.rtmp.youtube.com/live2/$1 /home/pi/Desktop/my_video.mp4


    



    However, when I ran this, the terminal threw this error :

    



    /home/pi/Desktop/my_video.mp4: No such file or directory


    



    This path, however, definitely exists by default in all Raspberry Pi's. I'm not sure what's wrong here, can someone please help me out ?

    



    P.S : as an additional side question, I read up the documentation on FFmpeg and it specifically says not to use the -re argument when using a live input source, but Alex uses it anyways. Should I substitute it with something different ? It works fine right now though.

    


  • FFMPEG mp4 from http live streaming m3u8 file ? [closed]

    23 octobre 2024, par thiago.adriano26

    How Can I extract mp4 from http live streaming m3u8 file ? I Tried this command below :

    



    ffmpeg -i {input file} -f rawvideo -bsf h264_mp4toannexb -vcodec copy out.mp4


    



    I took this error :

    



    


    [NULL @ 0000000002f07060] Packet header is not contained in global extradata, corrupted stream or invalid MP4/AVCC bitstream Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy : I