
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)
-
Hosting music bot on heroku
2 mars 2021, par itsmaxplayzI have made a discord bot on discord.py rewrite which plays music in a voice channel. The code is as follows :


def search(query):

 with ytdl:
 try:
 requests.get(query)
 except:
 info = ytdl.extract_info(f"ytsearch:{query}", download=False)['entries'][0]
 else:
 info = ytdl.extract_info(query, download=False)
 return info, info['formats'][0]['url']

ydl_opts = {
 'format': 'bestaudio/best',
 'quiet': True,
 'postprocessors': [{
 'key': 'FFmpegExtractAudio',
 'preferredcodec': 'mp3',
 'preferredquality': '192',
 }],

}

ytdl = youtube_dl.YoutubeDL(ydl_opts)

FFMPEG_OPTS = {'before_options': '-reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5', 'options': '-vn'}

@client.command(aliases=['p'])
async def play(ctx, *, url):
 channel = ctx.message.author.voice.channel
 voice = get(client.voice_clients, guild=ctx.guild)
 if voice and voice.is_connected():
 pass
 else:
 voice = await channel.connect()
 await ctx.send(f'Successfully joined `{channel}`')

 if voice.is_playing():
 await ctx.send('Already playing a song. Try using -q or -queue to queue a song 
 :thumbsup:')
 else:
 await ctx.send(f'Searching for: `{url}` :mag_right:')
 video, source = search(url)
 voice.play(FFmpegPCMAudio(source, **FFMPEG_OPTS))
 voice.is_playing()
 await ctx.send(f'Playing: :notes: `{video["title"]}` - Now!')



It works locally but when I upload the code to heroku (I use github to push the code to heroku), the bot does not come online.
These are the libraries that I imported in the code :


import discord
import json
import random
import youtube_dl
import requests
import os
from discord.ext import commands
from discord.utils import get
from discord import FFmpegPCMAudio
import ctypes
import ctypes.util



I have installed the ffmpeg buildpacks as I saw in another post on this website but the bot doesn't come online.


Contents of my requirement file :


discord.py,
discord.py[voice],
ffmpeg,
PyNaCl,
youtube_dl,
requests,
discord.py[FFmpegPCMAudio],
colorlog.


-
How to live stream from Windows 10 app to Youtube ?
12 août 2015, par BolandI’m playing around with the YouTube Live Stream API. That’s working fine so far, but the next step is to stream the web cam data to YouTube via RTMP.
In the (excellent) documentation at Google Dev, it outlines the Life of a Broadcast. However, all steps are documented in detail, except the step I’m interested in :
Step 3.2 : Start your video
Start transmitting video on your video stream.
I was able to use Open Broadcasting Software to stream to a manually created YouTube Live Event, but I have no idea how to do it from my Windows 10 App. I’ve looked at the MediaElement class, and was able to capture the web cam preview in my app. But I can only find methods to save as a file.
Also found information about FFMPEG, which should probably be able to do the job, but I cannot find a library / DLL to use FFMPEG in my App.
I just need some guidance where to look next, because now I’m just clueless what to do.
/edit : I came across MPlatform SDK, which sounds exactly what I want, but it costs $5000.... Not for a hobby :(
-
Livestreaming screencast to Youtube through ffmpeg doesn't show video even though data is received [duplicate]
15 novembre 2017, par CindyRabbitThis question already has an answer here :
-
YouTube live says not receiving data
1 answer
-
adding silent audio in ffmpeg
4 answers
I am trying to livestream my Desktop in Ubuntu to Youtube and used this cmd. Youtube livestream showed green bar with "Receiving your data" and Youtube log also showed "Stream healthy", however no video showed up in Youtube player, and after a short while Youtube log said "Stream complete". What’s missing in my cmd ?
ffmpeg -f x11grab -r 10 -s 1024x720 -i :0.0 -vcodec libx264 -pix_fmt yuv420p -preset ultrafast -g 20 -b:v 2500k -threads 0 -bufsize 512k -f flv rtmp ://a.rtmp.youtube.com/live2/myKey
BTW, only screencasting doesn’t work for me, streaming a video file works for me.
-
YouTube live says not receiving data