
Recherche avancée
Médias (91)
-
999,999
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Demon seed (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
The four of us are dying (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Corona radiata (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Lights in the sky (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (49)
-
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) (...)
-
L’utiliser, en parler, le critiquer
10 avril 2011La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
Une liste de discussion est disponible pour tout échange entre utilisateurs. -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (4908)
-
ffmpeg downloading parts of Youtube videos but for some of them they have a black screen for a few seconds
29 septembre 2021, par user14702793So im using ffmpeg to download some youtube videos with specific start and stop times. My code looks like
os.system("ffmpeg -i $(youtube-dl --no-check-certificate -f 18 --get-url %s) -ss %s -to %s -c:v copy -c:a copy %s"% (l, y, z, w))
where the variables would all be the name of the file, the url, and the start and stop times. Some of the vidoes come out just fine, others have a black screen and only a portion of the video, and a very few amount have just audio files. My time is formated as x.y where x would be the seconds and y would be the milliseconds. Is this the issue so I need to transform it to 00:00:00.0 format ? Any help is appreciated

-
403 Forbidden ffmpeg / youtube-dl
28 février 2023, par TSRI am trying to download a blob video that is playing in my browser :


ffmpeg -i 'https://example.com/playlist.m3u8?cred=abcd' -bsf:a aac_adtstoasc \ 
 -vcodec copy -c copy -crf 50 file.mp4



I get the error




https @ 0x11fe2ade0] HTTP error 403 Forbidden [hls @ 0x11fe05610]
Failed to open an initialization section in playlist 0
Error when loading first segment
'https://example.com/s2q1.m4s' ;




Indeed, when I open
https://example.com/s2q1.m4s
I get 403 forbidden in browser. However, if I addhttps://example.com/s2q1.m4s?cred=abcd
, I get no error.

I get the same behaviour with
youtube-dl


So how to make
ffmpeg
oryoutube-dl
append whatever query parameter in the input url in all subsequent requests ?

-
How to livestream a webcam to YouTube with FFmpeg ?
6 juillet 2023, par pkokI want to send the livestream of my webcam to YouTube. I can follow YouTube's guide up to step 8. "Stream Connection" tells me there is "No data" and the button "Go Live" remains unclickable. A screenshot of this situation can be seen at






As encoding software, I was planning on using FFmpeg because it can run from the target platform, a Raspberry Pi with Raspbian. A USB webcam supported by
video4linux2
is used.


FFmpeg's wiki shows that streaming a file can be done with the following :



ffmpeg -re -i input.mkv \
-c:v libx264 -preset veryfast -maxrate 3000k \
-bufsize 6000k -pix_fmt yuv420p -g 50 -c:a aac -b:a 160k -ac 2 \
-ar 44100 -f flv rtmp://live.twitch.tv/app/<stream key="key">
</stream>



I modified this command in the following ways :
1. It takes the video stream from the webcam with
-f v4l2 -i /dev/video0
.
2. It does not broadcast any audio with-an
.
3. It broadcasts to YouTube's RTMP server,rtmp://a.rtmp.youtube.com/live2/<stream key="key"></stream>



The final version of the command is now :



RTMP_URL="rtmp://a.rtmp.youtube.com/live2"
STREAM_KEY="secr-etse-cret-secr"
OUTPUT=$RTMP_URL/$STREAM_KEY
ffmpeg -re -f v4l2 -i /dev/video0 \
-c:v libx264 -preset veryfast -maxrate 3000k \
-bufsize 6000k -pix_fmt yuv420p -g 50 -an \
-f flv $OUTPUT




When I run this command, I would expect that "Stream connection" would change to something else than "No data" after a few seconds, but that does not happen.



I have tried recording the stream to a local file with :



ffmpeg -re -f v4l2 -i /dev/video0 \
-c:v libx264 -preset veryfast -maxrate 3000k \
-bufsize 6000k -pix_fmt yuv420p -g 50 -an \
-f flv test.flv




This worked fine. That demonstrates to me that the issue is with getting the video stream accepted by YouTube.