
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (61)
-
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) (...)
-
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)
Sur d’autres sites (4203)
-
How can I schedule a YouTube livestream entirely from Linux ?
25 avril 2021, par Dale WellmanI have a setup on a Raspberry Pi (with its native camera) that uses a cronjob to start an ffmpeg session with its output streaming to YouTube. I re-use the same stream key each time, which is written into my ffmpeg scripts. This all works perfectly each week, automatically starting and stopping at the desired time.
However, each week PRIOR to that livestream, I have to "manually" go into YouTube Studio and "schedule" a new future event. This is easy enough, since it lets me "reuse" previous settings — all I have to change is the Title, date, and time. But I would love to figure out a way to automate that part of the process, as well. I assume it involves using the YouTube Data API, but I'm not well versed in API's, JSON, etc.
(I do have a strong Linux background, bash scripting skills, and general programming background.)


My final solution just needs to :


- 

- create the new scheduled event (maybe 12 hours prior to going live), with Title, Date, Time, "Unlisted" status, category, and so forth — all the usual settings I do manually within Studio
- retrieve the assigned URL for the upcoming stream (my script will then email that to me)






So, basically, I'm asking for help getting started with the API, or whatever method is capable of doing this. I would prefer to code it on the same Pi that does the ffmpeg encoding (although in a pinch, I could create the schedule from another computer, even Windows). Any examples would be great.


So far, all I have done is create my Google project, enable the YouTube Data API in the project, and create my API key. But I'm not sure where to go from there.


-
C# (discord music bot) Youtube to mp3 api with ffmpeg
4 octobre 2017, par Greg VaradiOk, so i have made a discord music bot before with youtube-dl in C#. But I don’t like it because it’s very slow. It has to download the song and then stream it using ffmpeg to discord. I don’t know but I think there is a quicker way.
So, i decided to use a youtube to mp3 api to get a mp3 as quick as possible, but it won’t work. I mean I found an api that worked, but it’s the worst api I ever seen. This is the api : http://www.convertmp3.io/api/ . Sometimes doesn’t give the mp3, just a link to a download page that doesn’t work.
I’m still searching for an api. Last time I found this :
http://www.yt-mp3.com/fetch?v=VIDEO-ID&apikey=1234567
This is for me the best. But ffmpeg doesn’t recognize the mp3. And I don’t know why because I can’t see any difference beetween them. Of course it’s probably something different but I can’t see what. And I don’t even know that ffmpeg will recognize any of these api’s mp3 files, but it’s working with this convertmp3.io api.So, my question is, is there someone who did something like this or someone who can give me advice ?
By the way, I want something that is as quick as oxyl- or hime bot. And I know that using apis for getting mp3 from youtube videos is not by all means the most legal thing, because the copyright and stuff, but yeah... This is the only way, I think.
-
ffmpeg arguments for youtube upload [duplicate]
9 mars, par HoopesI'm currently having an issue in my ios app where youtube sharing of a video created by
ffmpeg
seems broken. I am starting with an audio file, and an image that I will use as the static background of the video.

ffmpeg -y 
-i "/path/to/audio.m4a" 
-r 24 
-i "/path/to/background.png" 
-codec:a aac_at 
-codec:v h264_videotoolbox 
-brand mp42 
-vf "scale=1080:1080" 
-vf "scale=out_color_matrix=bt709" 
-color_primaries bt709 
-color_trc bt709 
-colorspace bt709 
-movflags +faststart 
"output.mp4"



Note that since i'm on an ios device, i am using
h264_videotoolbox
, which uses the apple hardware to help encode it.

When I use the regular ios share screen, and share to something like slack, the video seems to work fine. However, when I try to share to youtube via the same share screen, it looks like it can't detect the duration of the video :




Another thing to note is that when i download the file, and upload it to youtube via regular web browser, it seems to be fine - which somewhat points to it not being ffmpeg related, but it shares fine to other apps.


I'm using
ffmpeg
version 5.1.2