
Recherche avancée
Médias (1)
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (111)
-
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
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 (...)
-
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)
Sur d’autres sites (17946)
-
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.