Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (112)

  • 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 ;

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

  • Les formats acceptés

    28 janvier 2010, par

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

Sur d’autres sites (10279)

  • Icecast status page not showing Server Name, Server Description, Stream Name, or Stream Description

    28 novembre 2024, par Daniel Torridon

    I have PHP streaming MP3 files listed in playlist.txt to Icecast using FFMpeg.

    


    $ffmpeg_command = "ffmpeg -re -f concat -safe 0 -stream_loop -1 -i /var/www/html/media/radio/playlist.txt -c:a libmp3lame -b:a 128k -f mp3 -ice_name \"My Name\" -ice_description \"My Description\" -metadata title=\"My Title\" -metadata artist=\"My Artist\" -metadata genre=\"My Genre\" -headers \"Icy-MetaData: 1\" icecast://source:Password@99.99.99.99:8000/stream > /dev/null 2>&1 &";


    


    The stream plays correctly, but the Admin and Public status pages for Icecast show the Server Name, Server Description, Stream Name, and Stream Description as "Unspecified".

    


    I've checked my Icecast XML file. It seems to have all the relevant sections as follows...

    


    <icecast>     &#xA;My Server Name&#xA;My Server Description&#xA;...&#xA;10&#xA;...&#xA;<limits>&#xA;    ...&#xA;    <metadata>1limits>&#xA;...&#xA;<mount>&#xA;   /stream&#xA;   <name>My Name</name>&#xA;   <description>My Description</description>&#xA;   <genre>My Genre</genre>    &#xA;   ...&#xA;   <public>1</public>&#xA;</mount>&#xA;...&#xA;<fileserve>1</fileserve>&#xA;...&#xA;</metadata></limits></icecast>&#xA;

    &#xA;

    The genre tag is passed from the XML file to the Admin and Public status pages. But the server-name and server-description tags in the global icecast tag are not.

    &#xA;

    -ice_name, -ice_description and -metadata tags are not being passed from FFMpeg to the Icecast status pages, despite me including them along with -headers "Icy-MetaData : 1" in the FFMpeg command.

    &#xA;

    metadata-update-interval and metadata tags are present in the Icecast XML file.

    &#xA;

    What am I doing wrong ?

    &#xA;

  • Streaming from google cloud run to youtube

    29 mars 2021, par Robin to Roxel

    When I stream to YouTube with ffmpeg from within a container on google cloud run, I get a connection timeout. But the same container successfully streams from google cloud build to YouTube during the container build process (which I accidentally found out). Also, the same container successfully streams to YouTube when I run it locally.

    &#xA;

    The ffmpeg command is ffmpeg -hide_banner -loglevel error -re -i test.flv -c copy -f flv rtmp://a.rtmp.youtube.com/live2/key. The dockerfile is

    &#xA;

    FROM python:3.8-slim-buster&#xA;&#xA;RUN apt update; apt install ffmpeg -y&#xA;RUN apt-get update; apt-get install git -y&#xA;&#xA;RUN git clone "url/to/github/repository"&#xA;RUN pip install flask&#xA;&#xA;EXPOSE 8080&#xA;&#xA;CMD cd test_dir; python3 test_script.py&#xA;

    &#xA;

  • Google Speech to Text on WAV file gives

    7 janvier 2021, par Darth.Vader

    I am using the Google Speech to Text API to convert a WAV file to text. When I play the WAV file, it works fine but when I run the Google Speech To Text API I get this error :

    &#xA;

    WAV header indicates an unsupported format.&#xA;

    &#xA;

    When I try to analyze the file using ffmpeg tool, it get the following error :

    &#xA;

    Output #0, wav, to &#x27;/home/shubham/workspace/intent-service/scripts/audio2.tmp.wav&#x27;:&#xA;Metadata:&#xA;  ISFT            : Lavf57.83.100&#xA;  Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 8000 Hz, mono, s16, 128 kb/s&#xA;  Metadata:&#xA;    encoder         : Lavc57.107.100 pcm_s16le&#xA;[gsm_ms @ 0x55d4c255cd20] Packet is too small&#xA;Error while decoding stream #0:0: Invalid data found when processing input size=7924kB time=00:08:27.16 bitrate= 128.0kbits/s speed=3.72e&#x2B;03x    &#xA;video:0kB audio:7924kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000961%&#xA;

    &#xA;

    What am I missing ?

    &#xA;