
Recherche avancée
Autres articles (65)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...)
Sur d’autres sites (9841)
-
Music discord.js bot : The "url" argument must be of type string
4 juin 2020, par NathanI am trying to make a working music Discord bot with discord.js and ffmpeg but I keep getting the error
TypeError [ERR_INVALID_ARG_TYPE]: The "url" argument must be of type string. Received type undefined
. The error occurs when I try the commandplay
, after the bot joins the voice channel and sendퟎ
-
youtube-dl streaming to pipe, how to add container
24 décembre 2017, par MetNPI use this command on raspberry-pi :
youtube-dl -o- [youtubeurl] | omxplayer --no-keys pipe:0
and it works great for 50% of youtube content. For non-working videos, omxplayer just won’t play it. It is not raspberry nor omxplayer specific problem. All players are ffmpeg based and for those videos the same problem can be achieved on any platform with ffplay or ffmpeg live transcode...
When i download that kind of video separatelly :
youtube-dl -o name.mp4 [url]
ffplay name.mp4 ... works OK
cat name.mp4 | ffplay - ... does NOT work (input stream not recognized well)Reason for this problem is well explained here. MP4 by itself is not good enough for streaming, and i want just to envelope it inside some TS or MKV or any container that will help player.
Does someone have an idea how to do it ? Can youtube-dl be forced to do it itself, and can some middle ffmpeg command helps ?
update : thanks to directions from Mulvya comment, it seems that all video works well with
-f mp4
addition :youtube-dl -o- -f mp4 [youtubeurl] | omxplayer --no-keys pipe:0
selecting specific format like -f 135+140 breaks pipe usability, and will not work except with some possible code changes. Until i reach some other problematic video content, it seems that -f mp4 solved everything.
-
How to stream to YouTube from an X server using DISPLAY with ffmpeg ? [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 !