
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (112)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains 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, parAfin 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, parLes 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 TorridonI 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> 
My Server Name
My Server Description
...
10
...
<limits>
 ...
 <metadata>1limits>
...
<mount>
 /stream
 <name>My Name</name>
 <description>My Description</description>
 <genre>My Genre</genre> 
 ...
 <public>1</public>
</mount>
...
<fileserve>1</fileserve>
...
</metadata></limits></icecast>



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.


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


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


What am I doing wrong ?


-
Streaming from google cloud run to youtube
29 mars 2021, par Robin to RoxelWhen 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.


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

FROM python:3.8-slim-buster

RUN apt update; apt install ffmpeg -y
RUN apt-get update; apt-get install git -y

RUN git clone "url/to/github/repository"
RUN pip install flask

EXPOSE 8080

CMD cd test_dir; python3 test_script.py



-
Google Speech to Text on WAV file gives
7 janvier 2021, par Darth.VaderI 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 :


WAV header indicates an unsupported format.



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

Output #0, wav, to '/home/shubham/workspace/intent-service/scripts/audio2.tmp.wav':
Metadata:
 ISFT : Lavf57.83.100
 Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 8000 Hz, mono, s16, 128 kb/s
 Metadata:
 encoder : Lavc57.107.100 pcm_s16le
[gsm_ms @ 0x55d4c255cd20] Packet is too small
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+03x 
video:0kB audio:7924kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000961%



What am I missing ?