Recherche avancée

Médias (91)

Autres articles (111)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • 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 (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (6190)

  • How to fix session invalidation without downloading the song discord.py ?

    17 septembre 2021, par Novinity

    Whenever I play a song with my bot, this message pops up after maybe a minute :

    


    [tls @ 0x55bcf722c260] Error in the pull function.
[matroska,webm @ 0x55bcf7229440] Read error
[tls @ 0x55bcf722c260] The specified session has been invalidated for some reason.


    


    I have searched for days to find a solution, but I cannot find one.
I am using YTDL and FFMPEG to play it.

    


  • What is a good/simple way to obtain a stream of song metadata from an online radio station ?

    29 juin 2022, par esp

    What is a good/simple way to obtain a stream of song metadata (artist names and song titles etc.) from an online radio station ? Just the metadata, not the data (media). On bash command-line for now, thinking of getting it to a database (eg MySQL) in future.

    


    I have had success using FFMpeg to do this (simply FFMpeg -i <streamurl></streamurl>). However it only reports the song playing once - when it is run. If I specify an outputfile (e.g. -f null -) then it continues to run but does not report any updates to the "now playing" metadata. If I do not specify an output file then, after reporting that metadata, it quits (which in my case is more useful !).

    &#xA;

    I can imagine one way round this would be to make a polling-loop, say every 10 seconds, only reporting when the metadata has changed (since the previous time). Does anyone have a battle-tested example ?

    &#xA;

    But is there a better (or cooler way) to achieve this ?

    &#xA;

  • ffmpeg stucks after each song

    11 juin 2017, par Halfbax

    When I start to stream to youtube, it works fine. Until the first song is over. After it the stream is in a loop of the last 20 seconds. I dont know why. The next song wont ever streamed.

    The audio stream is lag-free. <- tested

    case $1 in
                   start)
                           # VLC audio stream
                           su vlc -c "screen -dmS $VLC_PID_NAME cvlc --random /home/music/chill/*.mp3 --sout '#transcode{vcodec=none,acodec=mp3,ab=128}:standard{access=http,mux=raw,dst=localhost:8080/live.ogg}'"

                           sleep 2
                           # FFMPEG
                           # Static image + vlc audio stream
                           screen -dmS $FFMPEG_PID_NAME ffmpeg -loop 1 -framerate 2 -i '/home/forest.jpg' -i 'http://localhost:8080/live.ogg' -s "$INRES" -r "$FPS" -f alsa -ac 2 -vcodec libx264 -s "$OUTRES" -g 2 -acodec libmp3lame -b:a 128k -b:v 200k -ar 44100 -threads 0 -preset:v "$QUAL" -f flv "rtmp://a.rtmp.youtube.com/live2/$STREAM_KEY"
                           ;;