Recherche avancée

Médias (1)

Mot : - Tags -/illustrator

Autres articles (106)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (9904)

  • FFMPEG : RTSP stream freezes but FFMPEG keeps recording

    31 juillet 2022, par Kagetsuki

    EDIT : At the time of this writing there is no functionality within FFMPEG that can detect/handle when an RTP/RTSP stream is still active but is no longer delivering valid frames. The only solution I could find was to periodically reset the stream by stopping recording, then reconnecting and starting a new recording which -f segment does NOT do.

    




    



    I'm recording an RTSP stream from a network camera with FFMPEG, and after some time (usually about an hour and a half to two hours). I'm sure it's specifically a problem with the cameras I'm using and not FFMPEG or my system resources.

    



    What specifically happens is the video freezes but network traffic with the camera continues - it just doesn't seem to send new frames. Because of this behaviour FFMPEG doesn't disconnect/keeps recording because the network connection is still alive. After a few minutes there will always be a single warning in the FFMPEG output :
More than 1000 frames duplicated
But it keeps recording - it's just the same frame over and over.

    



    The command I'm using is :

    



    ffmpeg -stimeout 1000000 -rtsp_transport udp -fflags discardcorrupt -i rtsp://192.168.1.163/live/0/MAIN -vc libx265 -f segment -segment_time 300 -segment_atclocktime 1 -reset_timestamps 1 -strftime 1  "163-%Y-%m-%d_%H-%M-%S-h265.mp4"


    



    Some notes :

    



      

    • stimeout doesn't seem to do anything as the network connection is maintained the camera just seems to stop sending (valid) frames.
    • 


    • Changing the codec to copy doesn't improve the issue
    • 


    • Changing the RTSP transport doesn't improve the issue
    • 


    • I'm aware there is a filter to detect frozen frames, but my FFMPEG does not seem to have it - I'm going to try and build FFMPEG myself now ; but would much prefer a solution that works with bundled FFMPEG > 4.1.3
    • 


    



    Having FFMPEG fail and exit after > 1000 frames are duplicated would actually be ideal, as then I can just spawn FFMPEG from a script, monitor the process, and restart it when the process ends. Any solution would be great though.

    


  • ffmpeg, add static image to beginning and end with transitions

    14 mars 2021, par CreateChange

    ffmpeg noob here, trying to help my mother with some videos for real estate walkthroughs. I'd like to set up a simple pipeline that I can run videos through and have outputted as such :

    


      

    • 5 second (silent) title card ->
    • 


    • xfade transition ->
    • 


    • property walk through ->
    • 


    • xfade transition ->
    • 


    • 5 second (silent) title card
    • 


    


    Considerations :

    


      

    • The intro / outro card will be the same content.
    • 


    • The input walkthrough videos will be of variable length so, if possible, a dynamic solution accounting for this would be ideal. If this requires me to script something using ffprobe, I can do that - just need to gain an understanding of the syntax and order of operations.
    • 


    • The video clip will come in with some audio already overlaid. I would like for the title cards to be silent, and have the video/audio clip fade in/out together.
    • 


    


    I have gotten a sample working without the transitions :

    


    ffmpeg -loop 1 -t 5 -i title_card.jpg \
    -i walkthrough.MOV \
    -f lavfi -t 0.1 -i anullsrc \
    -filter_complex "[0][2][1:v][1:a][0][2]concat=n=3:v=1:a=1[v][a]" \
    -map "[v]" -map "[a]" \
    -vcodec libx265 \
    -crf 18 \
    -vsync 2 \
    output_without_transitions.mp4


    


    I have been unable to get it to work with transitions. See below for the latest iteration :

    


    ffmpeg -loop 1 -t 5 -r 60 -i title_card.jpg \
    -r 60 -i walkthrough.MOV \
    -f lavfi -t 0.1 -i anullsrc \
    -filter_complex \
    "[0][1:v]xfade=transition=fade:duration=0.5:offset=4.5[v01]; \
    [v01][0]xfade=transition=fade:duration=0.5:offset=12.8[v]" \
    -map "[v]" \
    -vcodec libx265 \
    -crf 18 \
    -vsync 2 \
    output_with_transitions.mp4


    


    This half-works, resulting in the initial title card, fading into the video, but the second title card never occurs. Note, I also removed any references to audio, in an effort to get the transitions alone to work.

    


    I have been beating my head against the wall on this, so help would be appreciated :)

    


  • avcodec/dca : require checked bitstream reader

    13 mai 2016, par foo86
    avcodec/dca : require checked bitstream reader
    

    Remove half-working attempt at supporting unchecked bitstream reader by
    always copying input data into intermediate buffer with large amount of
    padding at the end.

    Convert LBR decoder to checked bitstream reader. Convert
    dcadec_decode_frame() to parse input data directly if possible.

    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libavcodec/dca_lbr.c
    • [DH] libavcodec/dca_xll.c
    • [DH] libavcodec/dcadec.c
    • [DH] libavcodec/dcadec.h