
Recherche avancée
Médias (91)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
avec chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
sans chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
config chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (19)
-
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
Supporting all media types
13 avril 2011, parUnlike 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 (...)
-
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 (5557)
-
Using ffmpeg to restream youtube videos
2 juin 2020, par ILoveCakeI want to restream 3 youtube videos (each one is a live webcam) in this way : they would run one after the other, but each one runs for only 1 minute. All this in a loop. So my live stream would eventually look like this :
cam1, cam2, cam3, cam1, cam2, cam3, ...
I have tried to used youtube-dl and ffmpeg (these are my preferred command line tools) to download each stream, let it run for 1 minute and restream it. The problem is that I have to start ffmpeg each time. So when it stops and starts again, the live stream stops and starts again (after about 15 seconds). Here is my code (for bash) :



The main script : (FILE is an array with the 3 URLs for the videos)



for URL in "${FILE[@]}"
do
 timeout 1m /usr/local/bin/get_livestream.sh $URL
done





and get_livestream.sh :



youtube-dl -q -o - -- $1 | ffmpeg -re -loglevel warning -hide_banner \
 -i - -s 960x540 -c:v libx264 -b:v 2M -c:a copy \
 -strict -2 -flags +global_header -bsf:a aac_adtstoasc -bufsize 2100k \
 -f flv rtmp://live.twitch.tv/app/<key>
</key>


-
Discord.js Music Bot ffmpeg not found ?
13 octobre 2020, par cccmdmI just started learning javascript with node.js and I am attempting to create a music bot, I've set up the command handler and everything, however, I keep getting this error when I try to run the play command





Error : FFmpeg/avconv not found !
 at Function.getInfo (C :\Users\johnd\OneDrive\Desktop\discordBot\node_modules\prism-media\src\core\FFmpeg.js:130:11)
 at Function.create (C :\Users\johnd\OneDrive\Desktop\discordBot\node_modules\prism-media\src\core\FFmpeg.js:143:38)
 at new FFmpeg (C :\Users\johnd\OneDrive\Desktop\discordBot\node_modules\prism-media\src\core\FFmpeg.js:44:27)
 at AudioPlayer.playUnknown (C :\Users\johnd\OneDrive\Desktop\discordBot\node_modules\discord.js\src\client\voice\player\BasePlayer.js:47:20)
 at VoiceConnection.play (C :\Users\johnd\OneDrive\Desktop\discordBot\node_modules\discord.js\src\client\voice\util\PlayInterface.js:71:28)
 at C :\Users\johnd\OneDrive\Desktop\discordBot\commands\play.js:7:39
 at processTicksAndRejections (internal/process/task_queues.js:97:5)





I'll post my play function below



async function playMusic(vc,songId) {
 const stream = await ytdl(songId,{type: 'opus',filter : 'audioonly'});
 vc.join().then(connection => {
 const dispatcher = connection.play(stream,{volume: 1});
 dispatcher.on('end', end => {
 console.log("Song ended!");
 vc.leave();
 }).catch(err => console.log(err));
 }).catch(err => console.log(err));
}




My proof of installation : https://imgur.com/a/EFM1G6s



Update 1 : I'm still looking for others with this specific problem and can't find anything.


-
FFMPEG stream RTSP to RTMP (Youtube) add logo
16 juin 2017, par Māris PurviņšTo stream video from IP cam to Youtube I’m using code (through Ubunu) :
ffmpeg -f lavfi -i anullsrc -rtsp_transport tcp -i rtsp ://user:psw@192.168.0.100:554 -tune zerolatency -vcodec libx264 -pix_fmt + -c:v copy -c:a aac -strict experimental -f flv rtmp ://a.rtmp.youtube.com/live2/ -nostdin -nostats /dev/null 2>&1 &It is a bee project for school
I have two cameras and two streams :
https://www.youtube.com/watch?v=ws-VcLXo-hIEverything is ok, but... I would like to know :
1. How to add png logo to this strem. I have tried -i /home/user/rvvg_logo_round.png -codec:v libx264 -preset ultrafast -filter_complex overlay and another methods but without a result.
2. Sometimes there is some problem during night and video streaming stops. How to automatically check process status and restart stream.
I have tried to create sh file as described in http://videos.cctvcamerapros.com/raspberry-pi/ip-camera-raspberry-pi-youtube-live-video-streaming-server.html and put in cron job, bet that is only to check one cam process. Is there some better idea ?