
Recherche avancée
Autres articles (53)
-
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 (3207)
-
Ffmpeg command not streaming to youtube [closed]
21 avril, par Ahmed Seddik BouchibaI'm trying to stream my desktop (from an X11 session) to YouTube Live using ffmpeg. I'm running this on a Linux machine with an active X server, and I set the DISPLAY variable accordingly (:0 in most cases).


Here's the ffmpeg command I've tried :


ffmpeg -loglevel info \
 -probesize ${PROBESIZE} -analyzeduration ${ANALYZE_DURATION} \
 -f x11grab -video_size ${VIDEO_SIZE} -r ${FRAME_RATE} -draw_mouse 0 -i ${DISPLAY} \
 -f alsa -i default \
 -deinterlace -vcodec libx264 -pix_fmt yuv420p -preset fast \
 -r 30 -g 60 -b:v 2000k -bufsize 4000k \
 -acodec libmp3lame -ar 44100 -b:a 128k \
 -map 0:v:0 -map 1:a:0 -vsync 0 \
 -f flv "${RTMP_URL}" &



Environment variables are set correctly (DISPLAY, VIDEO_SIZE, FRAME_RATE, etc.), and I replaced $RTMP_URL with the correct YouTube RTMP endpoint (e.g., rtmp ://a.rtmp.youtube.com/live2/). But nothing seems to work — the stream never starts or appears on YouTube, and sometimes I get timeout or "connection refused" errors.


I've checked :


That I'm logged into an active X session


That I have access to the display (even tried xhost +)


That ffmpeg has access to ALSA (sound seems okay)


Questions :


Am I missing something in my command ?


Is there a better way to stream both screen and audio from an X server to YouTube Live ?


Could this be a codec or YouTube-specific format issue ?


Any help or working examples would be really appreciated. Thanks !


-
ffmpeg streaming to youtube
8 novembre 2022, par SyndicatorBBBI've used the following command to stream mp4 file to youtube :


ffmpeg -re -i merge.mp4 \
-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://a.rtmp.youtube.com/live2/<mykey>
</mykey>


I see the ffmpeg streams the data like that :



but yet the youtube streaming page shows nothing yet received :



Any idea what am I missing ?


-
youtube-dl download best quality and then convert to mp4 and mp3
31 mars 2017, par JoJotaI’m trying to download the best audio and video formats of a video with youtube-dl in python. After the download has finished youtube-dl should convert the video to mp4 and the audio to mp3 with the best video and audio quality. The original video and audio files should then get removed after the conversion is done.
Is it possible to do this with only one command or especially with a maximum of two downloads (best video and best audio) ?