Recherche avancée

Médias (91)

Autres articles (88)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (10355)

  • How to make low latency and have good quality for hls live streaming

    7 juillet 2022, par parsa

    I used this code for create live stream from a mp4 file :

    



    ffmpeg -re -i input.mp4 
-c:a aac -c:v libx264 -s uhd2160 -f hls -hls_list_size 0 2160p/out.m3u8  
-c:a aac -c:v libx264 -s 2560x1440 -f hls -hls_list_size 0 1440p/out.m3u8  
-c:a aac -c:v libx264 -s hd1080 -f hls -hls_list_size 0 1080p/out.m3u8  
-c:a aac -c:v libx264 -s hd720 -f hls -hls_list_size 0 720p/out.m3u8  
-c:a aac -c:v libx264 -s hd480 -f hls -hls_list_size 0 480p/out.m3u8  
-c:a aac -c:v libx264 -s nhd  -f hls -hls_list_size 0 360p/out.m3u8 
-c:a aac -c:v libx264 -s cga  -f hls -hls_list_size 0 200p/out.m3u8


    



    but in streaming time, there are very latency.

    it seems, this latency exists on streaming videos which have very heigh quality,just like the video(4k) which I used that for livestream.

    How can I decrease this delay and decrease memory usage for that ?

    


  • About real time video web streaming using ffserver(webm)

    29 avril 2016, par Potato

    I’m testing ffserver for real time streaming using web cam and mic.

    Use this ffserver conf

    HTTPPort 8090
    HTTPBindAddress 0.0.0.0
    MaxHTTPConnections 2000
    MaxClients 1000
    MaxBandwidth 1000000
    CustomLog -

    <feed>
    File /tmp/feed1.ffm
    FileMaxSize 1G
    ACL allow 127.0.0.1
    </feed>

    <stream>
    Feed feed1.ffm
    Format webm
    AudioBitRate 64
    AudioSampleRate 48000
    AudioChannels 1
    VideoCodec libvpx
    VideoSize 320x240
    VideoFrameRate 25
    AVOptionVideo flags +global_header
    AVOptionAudio flags +global_header
    PreRoll 15
    StartSendOnKey
    VideoBitRate 400
    </stream>

    and feed

    ffmpeg -f v4l2 -i /dev/video0 -f alsa - ac 1 - i hw:1 http://localhost:8090/feed1.ffm

    It’s okay when I approach with chrome http://IP_address:8090/live.webm

    But the problem is that the streaming shows little earlier moment, when I refresh the page. I think that’s not a delay problem.
    How can I use this for real time streaming.

    Regards.

  • Audio Lag Issue in Long-term FFmpeg Live Streaming with x11grab and Pulse

    8 juillet 2024, par Dhairya Verma

    I am currently working on a live streaming project where I use FFmpeg with x11grab and PulseAudio to stream headlessly from a Linux server to an RTMP endpoint. While the setup generally works well, I am encountering an issue where the audio begins to lag behind the video after approximately two days of continuous streaming.

    &#xA;

    "-hwaccel", "cuda",&#xA;&#xA;"-f", "x11grab",&#xA;&#xA;"-s", "1920x1080",&#xA;&#xA;"-draw_mouse", "0",&#xA;&#xA;"-thread_queue_size", "1024",&#xA;&#xA;"-i", ":1",&#xA;&#xA;"-f", "pulse",&#xA;&#xA;"-r", "60",&#xA;&#xA;"-thread_queue_size", "1024",&#xA;&#xA;"-i", "VirtualSink.monitor",&#xA;&#xA;"-c:v", "h264_nvenc",&#xA;&#xA;"-preset:v", "hq",&#xA;&#xA;"-b:v", "2500k",&#xA;&#xA;"-maxrate", "2500k",&#xA;&#xA;"-bufsize", "10000k",&#xA;&#xA;"-vf", "fps=60,crop=1280:720:320:180,format=yuv420p",&#xA;&#xA;"-g", "60",&#xA;&#xA;"-c:a", "aac",&#xA;&#xA;"-af", "adelay=900|900",&#xA;&#xA;"-b:a", "128k",&#xA;&#xA;"-ar", "44100",&#xA;&#xA;"-fps_mode", "cfr",&#xA;&#xA;"-async", "1",&#xA;&#xA;"-f", "flv",&#xA;&#xA;&#x27;RTMP_LINK&#x27;,&#xA;

    &#xA;

    After two days of streaming, the audio noticeably lags behind the video. I have tried adjusting various settings and buffers, but the issue persists.

    &#xA;

    Could anyone please provide any insights or suggestions on how to address this issue ?

    &#xA;