
Recherche avancée
Médias (2)
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (63)
-
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 ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (8230)
-
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.
-
ffmpeg and 7160 HD Capture card error, already set rtbufsize 2000M, still real time buffer too full
21 septembre 2015, par todafThe 7160 Capture card original video was shown fine in the Honestech HD DVR software that is included.
However, when the card was captured using ffmpeg and publish out. This error occurred after a while running ffmpeg :
real-time buffer [7160 HD Capture] video input too full or near too full ...
I have already set -rtbufsize 2000M which is nearly the maximum that is allowed and can not be increased further.
Please tell me how to resolve this bug or give me an example that can be used without producing this bug. Thank you very much. You do not neeed the code that I used because almost any code even the simplest code I used produced this error after running for a while. The published video also lag and lost.
-
How can I generate a hls.m3u8 file using a youtube URL ?
8 avril 2021, par User0011I used ffmpeg in python and I was able to generate a hls file from a local mp4 file that i had on my computer, but now I want to know if there is a way to generate the hls file using a youtube URL and give this url to the input() function of ffmpeg in python ?
Here is the code I used for the first time, I want to replace test.mp4 with a youtube URL, is it possible ?
Thanks for the help


import ffmpeg_streaming
from ffmpeg_streaming import Formats, Bitrate, Representation, Size


video = ffmpeg_streaming.input('/Users/test.mp4')

_480p = Representation(Size(854, 480), Bitrate(750 * 1024, 192 * 1024))
_720p = Representation(Size(1280, 720), Bitrate(2048 * 1024, 320 * 1024))

hls = video.hls(Formats.h264(), hls_list_size=10, hls_time=5)
hls.representations(_480p, _720p)
hls.fragmented_mp4()
hls.output('/Users//hls.m3u8')