Recherche avancée

Médias (0)

Mot : - Tags -/formulaire

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

Autres articles (26)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

Sur d’autres sites (6951)

  • avcodec/pnmdec : Fix indentation

    25 juillet 2022, par Andreas Rheinhardt
    avcodec/pnmdec : Fix indentation
    

    Forgotten after ff1450e449f848ad4b37b3cf448315ba4581364e.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavcodec/pnmdec.c
  • Problem updating drawtext with file using ffmpeg [duplicate]

    17 novembre 2020, par drmobbins

    I have a shell script that runs to combine a 24/7 AAC audio stream with a 720p HD picture/background and streams that output live to YouTube. This is for an internet radio station. The script works perfectly except for the drawtext option. The drawtext option references a file that is updated every 15 seconds (using Python and Cron) with the correct song metadata (from the radio automation suite) and is supposed to print the contents of the metadata file to the screen. This happens one time when the ffmpeg command is run in the script, but doesn't update after a song change.

    &#xA;

    I would assume that since the metadata file is changing every 15 seconds on the server that it would update the song details in the output video that could be seen on YouTube...but it doesn't.

    &#xA;

    #!/bin/bash&#xA;&#xA;#Quality settings&#xA;VBR="1500k"&#xA;FPS="30"&#xA;QUAL="ultrafast"&#xA;AUDIO_ENCODER="aac"&#xA;&#xA;#Youtube settings&#xA;YOUTUBE_URL=" rtmp://a.rtmp.youtube.com/live2"&#xA;YOUTUBE_KEY="xxxx-xxxx-xxxx-xxxx-xxxx"&#xA;&#xA;#Sources&#xA;VIDEO_SOURCE="bg720p.jpg"&#xA;AUDIO_SOURCE="http://stream.url"&#xA;&#xA;#Metadata settings&#xA;TRACK_METADATA=$(cat metadata.txt)&#xA;&#xA;ffmpeg \&#xA; -loop 1 \&#xA; -re \&#xA; -framerate $FPS \&#xA; -i "$VIDEO_SOURCE" \&#xA; -thread_queue_size 512 \&#xA; -i "$AUDIO_SOURCE" \&#xA; -vf "drawtext=fontfile=OpenSans-Light.ttf:text=$TRACK_METADATA:x=10:y=680:fontsize=20:fontcolor=white" \&#xA; -c:v libx264 -tune stillimage -pix_fmt yuv420p -preset $QUAL -r $FPS -g $(($FPS *2)) -b:v $VBR \&#xA; -c:a $AUDIO_ENCODER -threads 6 -ar 44100 -b:a 64k -bufsize 512k -pix_fmt yuv420p \&#xA; -f flv $YOUTUBE_URL/$YOUTUBE_KEY&#xA;

    &#xA;

    What am I missing that will make the output continually check for file changes and use drawtext to display the contents. Thanks in advance !

    &#xA;

  • Continuous YouTube live stream via ffmpeg keeps failing after a while [closed]

    23 octobre 2024, par dooleyo

    I am trying to stream a simple MP4 file as a 24/7 YouTube radio station on repeat from a virtual machine using ffmpeg. It's only a 23 minute ( 1GB) file, and runs fine for hours or even days, then hangs up. I've tried on a small Digital Ocean droplet and detaching the ssh session with screen. I am using -c copy so I don't need to process or re-encode anything (even on the smallest droplet, the memory/cpu utilization is negligible, so I know that's not the issue). I have even tried some of ffmpeg's auto-restart options to no avail. Here is the command I'm currently running :

    &#xA;

    ffmpeg -stream_loop -1 -re -i file.mp4 -c copy -drop_pkts_on_overflow 1 -attempt_recovery 1 -recover_any_error 1 -recovery_wait_time 1 -f flv "rtmp://x.rtmp.youtube.com/live2/{STREAM_KEY}"

    &#xA;

    This works perfectly, for a time, then hangs up with :

    &#xA;

    aost#0:1/copy @ 0x623b201c5fc0] Error submitting a packet to the muxer: Broken pipe                                                          &#xA;[out#0/flv @ 0x623b201a1780] Error muxing a packet&#xA;[flv @ 0x623b201c3940] Failed to update header with correct duration.&#xA;[flv @ 0x623b201c3940] Failed to update header with correct filesize.&#xA;[out#0/flv @ 0x623b201a1780] Error writing trailer: Broken pipe&#xA;[out#0/flv @ 0x623b201a1780] Error closing file: Broken pipe&#xA;[out#0/flv @ 0x623b201a1780] video:9310695kB audio:571706kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.153029%&#xA;size= 9897524kB time=03:24:40.66 bitrate=6602.3kbits/s speed=   1x&#xA;

    &#xA;

    There are not many articles I've found covering the broken pipe issue, but those that do seem to involve either A) streams that won't start, or B) streams where the broken pipe occurs the first time the input tries to loop (neither of which are my problem, since it streams and loops fine for quite a while).

    &#xA;

    Thanks in advance !

    &#xA;