
Recherche avancée
Médias (1)
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (96)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
(Dés)Activation de fonctionnalités (plugins)
18 février 2011, parPour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (7851)
-
Streaming a WebPage to YouTube using FFMpeg
30 mars 2020, par Pedro LobitoI’m trying to stream a webpage to
YouTube
usingphantomjs
andffmpeg
.
Long question short :This works. The video is saved to test.flv :
phantomjs runner.js|ffmpeg -y -f image2pipe -r 10 -s 1280x720 -i - -deinterlace -vcodec libx264 -pix_fmt yuv420p -preset ultrafast -r 10 -g 20 -vb 400k -maxrate 400k -minrate 400k -bufsize 800k -threads 6 -q:v 0 -t 10 -f flv test.flv
This doesn’t. Despite no errors, nothing is streamed to
YouTube
.phantomjs runner.js|ffmpeg -f image2pipe -r 10 -s 1280x720 -i - -deinterlace -vcodec libx264 -pix_fmt yuv420p -preset ultrafast -r 10 -g 2 -vb 400k -maxrate 400k -minrate 400k -bufsize 800k -threads 6 -q:v 0 -f flv rtmp://a.rtmp.youtube.com/live2/xxxxxxx
Remarks :
- I’m aware
phantomjs
isn’t actively developed anymore, but this doesn’t seem
relevant since thephantomjs
script works as intended ; phantomjs
script : runner.js ;- I’ve tried different
ffmpeg
settings, likeframe-rates
,bit-rates
andbufsize
to no avail. - Both commands are similar, but the 1st outputs to local-file
test.flv
while 2nd toYouTube
; - I’ve used the
YouTube
streaming key on OBS Studio and it works normally ; ffmpeg
output while streaming toYouTube
:
frame= 13 fps=0.0 q=42.0 size= 94kB time=00:00:00.50 bitrate=1531.0kbits/ frame= 18 fps= 16 q=40.0 size= 130kB time=00:00:01.00 bitrate=1063.6kbits/ frame= 23 fps= 14 q=44.0 size= 149kB time=00:00:01.50 bitrate= 810.8kbits/
ffmpeg version 4.2.1-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2019 the FFmpeg developers
running onUbuntu-1804
Any idea of what can be wrong ?
- I’m aware
-
ffmpeg won't livestream to youtube
4 novembre 2019, par HeyItsDanI’m trying to write a simple "script" that allows me to stream a music radio to YouTube or any other platform but whenever I’m trying to test it, it won’t let me livestream at all, if anyone got a solution to this it would be very appreciated !
StreamURL="xxxxxxxxxxxxxxxxxxxx"
Key="xxxxxxxxxxxxxxxxxxxxxxxx"
BackgroundPath="bg.jpg"
NPPath="np.txt"
ffmpeg \
-re \
-loop 1 \
-framerate $FPS \
-i $BackgroundPath \
-s 1920x1080 \
-ab 128k \
-maxrate 2048k \
-bufsize 2048k \
-vf "drawbox=0:0:1920:100:black:fill, drawtext='fontfile=Arial\:style=Bold Italic:text=Now Playing':fontcolor=white:fontsize=35:x=20:y=20, drawtext=textfile='$NPPath':fontcolor=white:fontsize=28:x=20:y=58" \
-c:a aac \
-f flv $StreamURL$Key``` -
youtube-dl python script postprocessing error : FFMPEG codecs aren't being recognized
23 septembre 2016, par stackPusherMy python script is trying to download youtube videos with youtube-dl.py. Works fine unless postprocessing is required. The code :
import youtube_dl
options = {
'format':'bestaudio/best',
'extractaudio':True,
'audioformat':'mp3',
'outtmpl':'%(id)s', #name the file the ID of the video
'noplaylist':True,
'nocheckcertificate':True,
'postprocessors': [{
'key': 'FFmpegExtractAudio',
'preferredcodec': 'mp3',
'preferredquality': '192',
}]
}
with youtube_dl.YoutubeDL(options) as ydl:
ydl.download(['http://www.youtube.com/watch?v=BaW_jenozKc'])Below is the output I receive :
I get a similar error if I try setting ’preferredcodec’ to ’opus’ or ’best’.
I’m not sure if this is relevant, but I can run the command line counterpart fine :youtube-dl -o 'test2.%(ext)s' --extract-audio --audio-format mp3 --no-check-certificate https://www.youtube.com/watch?v=BaW_jenozKc
I’ve gotten a few clues from the internet and other questions and from what i understand this is most likely an issue with my ffmpeg, which isn’t a python module right ? Here is my ffmpeg version and configuration :
If the answer to my problem is to add some configuration setting to my ffmpeg please explain how i go about doing that.