Advanced search

Medias (91)

Other articles (8)

  • Les formats acceptés

    28 January 2010, by

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Les vidéos

    21 April 2011, by

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • Gestion générale des documents

    13 May 2011, by

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet; la récupération des métadonnées du document original pour illustrer textuellement le fichier;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP sur (...)

On other websites (3124)

  • ffmpeg - need help removing motion trails appearing on moving objects [closed]

    24 October 2024, by Patrick

    Need some guidance. I'm not much of a unix guy and I know very little about ffmpeg.
Trying to stream a handful of cameras to YT. It's working but this screenshot shows the results.
It's not constant, it comes and goes. I'll provide the ffprobe for one of the cams as well as the command line I am using.

    


    ffprobe rtsp://5fca316e7c40f.streamlock.net:1935/live-secure/M070EBIPC-21-LQ.stream
Input #0, rtsp, from 'rtsp://5fca316e7c40f.streamlock.net:1935/live-secure/M070EBIPC-21-LQ.stream':
Metadata:
title : M070EBIPC-21-LQ.stream
Duration: N/A, start: 5.266333, bitrate: N/A
Stream #0:0: Video: h264 (Main), yuvj420p(pc, bt709, progressive), 1024x576 [SAR 1:1 DAR 16:9], 15 fps, 15 tbr, 90k tbn, 30 tbc

    


    ffmpeg -f lavfi -i anullsrc -stream_loop -1 -i rtsp://5fca316e7c40f.streamlock.net:1935/live-secure/M070EBIPC-21-LQ.stream -s 1024x576 -loop 1 -r 8 -tune zerolatency -vcodec libx264 -c:v copy -c:a mp3 -pix_fmt yuvj420p -g 2 -strict experimental -b:v 705000k -flvflags no_duration_filesize -f flv rtmp://a.rtmp.youtube.com/live2/xxxx-xxxx-xxxx-xxxx-xxxx

    


    I've tried searching for help, but I understand each camera and scenario is different.

    


  • Using ffmpeg to "re-time" an RTSP stream?

    29 March 2021, by Tom S

    I recently set up a birdbox in my garden, and have been using a cheapie camera that I bought, along with ffmpeg on a raspberry pi to stream from the camera to YouTube.

    


    But YouTube keeps telling me that I am sending data too fast - multiple seconds of video per second, and at that point the stream seems to stall and I just get a buffering spinner on YouTube and have to restart ffmpeg to restore the stream.

    


    This is happening very frequently, infact even more frequently now than when I originally got everything up and running for some reason... So much so that Ive had to setup ffmpeg to run as a service, and restart it once an hour via cron. But even this is not enough and now it seems that it can go bonkers within 10-15 minutes of a restart - almost like the more often I restart the quicker it gets...

    


    I dont know where the issue is, or how to find it (does ffmpeg simply restream "verbatim" what ever the camera supplies?), but I wonder if it might be possible to have ffmpeg re-time the stream so that I only send to YouTube the 25fps that it is happy with (i.e. dropping any frames in excess of this)?

    


    I have key frames set to 1 second on the camera.

    


    Thanks!

    



    


    Here is my service file which contains the command that I use to start ffmpeg:

    


    [Unit]
Description=BirbCam 1 streaming service
After=network.target
StartLimitIntervalSec=0

[Service]
Type=simple
Restart=always
RestartSec=1
User=root
# Uncomment one ExecStart line below, then run `sudo systemctl daemon-reload` before restart
# With audio
ExecStart=/usr/local/bin/ffmpeg -rtsp_transport tcp -i rtsp://172.25.144.35:554/user=admin&password=&channel=1&stream=0.sdp?real_stream -tune zerolatency -vcodec libx264 -pix_fmt + -c:v copy -c:a aac -strict experimental -f flv rtmp://a.rtmp.youtube.com/live2/xxxx-xxxx-xxxx-xxxx-xxxx

# Without audio
# ExecStart=/usr/local/bin/ffmpeg -f lavfi -i anullsrc -rtsp_transport tcp -i rtsp://172.25.144.35:554/user=admin&password=&channel=1&stream=0.sdp?real_stream -tune zerolatency -vcodec libx264 -pix_fmt + -c:v copy -c:a aac -strict experimental -f flv rtmp://a.rtmp.youtube.com/live2/xxxx-xxxx-xxxx-xxxx-xxxx

[Install]
WantedBy=multi-user.target


    


  • Multiple ffmpeg processes and multiple RTMP outputs [closed]

    13 September 2020, by RockyG

    Debian user here.
Desperately looking not even a solution but at least a hint about how to debug this situation.

    


    I need to run multiple ffmpeg processes simultaneously:

    


    ffmpeg -loglevel error -f concat -re -fflags +genpts -stream_loop -1 -safe 0 -i playlist.txt -c copy -f flv -flvflags no_duration_filesize rtmp://a.rtmp.youtube.com/live2/xxxx-xxxx-xxxx-xxxx-xxxx

ffmpeg -loglevel error -f concat -re -fflags +genpts -stream_loop -1 -safe 0 -i playlist2.txt -c copy -f flv -flvflags no_duration_filesize rtmp://a.rtmp.youtube.com/live2/yyyy-yyyy-yyyy-yyyy-yyyy


    


    etc, different playlists, rtmp youtube outputs with different stream keys.

    


    Currently if I'll start two ffmpeg processes only the first one is streaming to YouTube second one is working fine without any errors and YT even indicates that there is data coming but there is no stream.

    


    Tried to start each ffmpeg process under different user, no luck