Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (111)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (7059)

  • FFmpeg : Re-Streaming RTSP to RTMP (via Nginx) crash randomly with "Connection reset by peer" Error

    5 octobre 2023, par Xav

    I try to Re-stream a RTSP stream from my local network to a RTMP stream (using Nginx), using the following command :

    


    ffmpeg -re -rtsp_transport tcp -i "rtsp://some_ip/Streaming/Channels/101" -vcodec libx264 -f flv -filter:v fps=5 rtmp://127.0.0.1:3500/live/stream


    


    It always starts well and I can watch the resulting stream

    


    But after some random time, it crashes with this output :

    


    av_interleaved_write_frame(): Connection reset by peer49.40 bitrate=6002.5kbits/s speed=0.755x                                        
[flv @ 0x55b00cbd7140] Failed to update header with correct duration.                                                                 
[flv @ 0x55b00cbd7140] Failed to update header with correct filesize.                                                                 Error writing trailer of rtmp://127.0.0.1:3500/live/stream: Connection reset by peer  


    


    Most of time it crashes after 'a few' frames (400 - 800), but some times only after 10 minutes or a day.

    


    I have tried a lot of things found on several forums

    


    The original prompt was

    


    ffmpeg -re -i "rtsp://some_ip/Streaming/Channels/101" -f hevc -filter:v fps=5 rtmp://127.0.0.1:3500/live/stream


    


    with the same error, but at every try and never more than 200 frames.

    


      

    • I added -rtsp_transport tcp -> Same error , but some warnings disappear
    • 


    • I changed the video codec from hevc to flv (I read somewhere hevc was not well supported by rtmp) -> I have seen some improvement. It seems to prevent crashes, but not all the time.
    • 


    


    Thank you for your help

    


  • ffmpeg and libaom compilation failed "unable to open include file `third_party/x86inc/x86inc.asm"

    7 octobre 2023, par sam

    I'm trying to build ffmpeg using this guide :
https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu

    


    the problem is when i try to compile libaom using the following commands :

    


    cd ~/ffmpeg_sources && \
git -C aom pull 2> /dev/null || git clone --depth 1 https://aomedia.googlesource.com/aom && \
mkdir -p aom_build && \
cd aom_build && \
PATH="$HOME/bin:$PATH" cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$HOME/ffmpeg_build" -DENABLE_TESTS=OFF -DENABLE_NASM=on ../aom && \
PATH="$HOME/bin:$PATH" make && \
make install


    


    i get the following error :

    


    /root/ffmpeg_sources/aom/aom_dsp/x86/sad4d_sse2.asm:14: fatal: unable to open include file `third_party/x86inc/x86inc.asm'
CMakeFiles/aom_dsp_encoder_sse2.dir/build.make:62: recipe for target 'CMakeFiles/aom_dsp_encoder_sse2.dir/aom_dsp/x86/sad4d_sse2.asm.o' failed
make[2]: *** [CMakeFiles/aom_dsp_encoder_sse2.dir/aom_dsp/x86/sad4d_sse2.asm.o] Error 1
CMakeFiles/Makefile2:842: recipe for target 'CMakeFiles/aom_dsp_encoder_sse2.dir/all' failed
make[1]: *** [CMakeFiles/aom_dsp_encoder_sse2.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2


    


    Is there any fix for this issue ?

    


  • Why failes ffmpeg with "Failed to inject frame into filter network : Internal bug, should not have happened" ?

    17 octobre 2023, par StackOverRigge

    I want to convert a MP4 video file into an animated gif file using ffmpeg. I am trying to do this in two steps :

    


      

    1. Create a palette image
    2. 


    3. Convert the MP4 with the help of the palette image to a GIF file
    4. 


    


    I'm using ffmpeg 6.0 essentials_build.

    


    First, I create a palette image :

    


    ffmpeg -v warning -i video.mp4 -vf "fps=15,scale=1366:768:flags=lanczos,palettegen=stats_mode=diff" -y palette.png


    


    Then, I'm trying to convert the MP4 to GIF :

    


    ffmpeg -i video.mp4 -i palette.png -lavfi "fps=15,scale=1366:768:flags=lanczos,paletteuse=dither=bayer:bayer_scale=5:diff_mode=rectangle" -y video.gif


    


    This command ends in this error message :

    


    Error while filtering: Internal bug, should not have happeneditrate=4279.9kbits/s speed=0.742x
Failed to inject frame into filter network: Internal bug, should not have happened
Error while processing the decoded data for stream #0:0