
Recherche avancée
Autres articles (32)
-
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 ;
-
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 -
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 (...)
Sur d’autres sites (6969)
-
Do ffmpeg create thumbnail download all of file via URL nodejs ?
11 novembre 2019, par Nam NguyễnI am creating a thumbnail from video URL by ffmpeg.
This is my code :
function createThumbnail(videoURL, keyFileThumb) {
return new Promise((resolve, reject) => {
let tmpFile = createWriteStream(`./${keyFileThumb}`)
const ffmpeg = spawn(ffmpegPath, [
'-ss',
'00:00:01.000',
'-i',
videoURL,
'-frames:v',
'1',
'-f',
'image2',
'-c:v',
'mjpeg',
'pipe:1'
])
ffmpeg.stdout.pipe(tmpFile)
ffmpeg.on('close', function (code) {
tmpFile.end()
resolve(code)
})
ffmpeg.on('error', function (err) {
console.log(err)
reject(err)
})
})
}I just want to create thumbnail from stream video URL then disconnect. I do not want download all of file to generate thumbnail in few second of video.
-
Making changes on a video before a download [on hold]
1er février 2016, par Chris RussoWe have a website with lots of videos (>10,000) and lots of users (>50,000). Each video might be around 1,2 Gbs.
The goal is to generate a unique video for each one of the members or users of the website making a small variation either on the audio track of the video, or the keyframes on the video itself, using low frequency beeps, or a few random pixels on specific keyframes.
I understand that this operation can be done using SoX for the audio track, or FFmpeg in the case of the video, manipulating the keyframes.
Here’s my question, as we have to choose between 2 options at this point :
In terms of resources : would it be convenient or even possible to generate in real time a clone of the video and make this variations at the moment that the user’s request the download (please considerate the big volume of videos and users).
Or it would be convenient to face this problem using HDD, pre-generating and storing the already manipulated videos ready to be served ?
I understand that storing all this data will require a few many Tera’s but I’m not sure about how much RAM and Microprocessing could be demanded to perform this operations in real time, over videos that might be as big as 1Gbs.
-
Manifest error pops up when trying to download certain videos for discord.py music bot
30 novembre 2020, par borkI'm trying to make a discord music bot. I'm using youtube-dl to retrieve the info and ffmpeg to play the audio out. My bot has no problems downloading videos and everything is working fine. But when I tried downloading certain videos, this error popped up :


[dash @ 0x7fe45a801200] Manifest too large: 65055
https://manifest.googlevideo.com/api/manifest/dash/expire/1606336104/ei/CGq-X4G6Htauz7sPrZuCsA8/ip/14.192.212.39/id/64a943d43b8f53eb/source/youtube/requiressl/yes/playback_host/r5---sn-h5mpn-30ae.googlevideo.com/mh/Go/mm/31%2C29/mn/sn-h5mpn-30ae%2Csn-30a7rn7l/ms/au%2Crdu/mv/m/mvi/5/pl/24/hfr/all/as/fmp4_audio_clear%2Cwebm_audio_clear%2Cwebm2_audio_clear%2Cfmp4_sd_hd_clear%2Cwebm2_sd_hd_clear/initcwndbps/533750/vprv/1/mt/1606314038/fvip/5/keepalive/yes/beids/23927369/itag/0/sparams/expire%2Cei%2Cip%2Cid%2Csource%2Crequiressl%2Chfr%2Cas%2Cvprv%2Citag/sig/AOq0QJ8wRQIhAOn6Br0QsuXc-3unfhYdzXVXcydzVWioIQlKvv2U4i3OAiB6ApoiqFoPvE3YKYGPbRiId_bHQYO8zsawGGPMidYGAA%3D%3D/lsparams/playback_host%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps/lsig/AG3C_xAwRQIhANmxfRNBI4wSJo6trsKkq8GinQ-ADMxgHRmelBwM-GEAAiAafey9YRrZz1h1S6PzV3u0S6IsZUKscGrrGP9Pofv2uQ%3D%3D: Invalid data found when processing input



After trying to download other videos, which have no problem at all, I found out that the videos showing these errors have an extra step that downloads MPD manifest. I would try to download videos that are way larger and it would work, but it's just these certain videos, with the duration of about 7-10 minutes, that would have these errors. I'm really lost.


This is my code for playing the videos in the voice channels :


voice = get(client.voice_clients, guild = ctx.guild)
with YoutubeDL(ydl_opts) as ydl:
 info = ydl.extract_info(url[playlist], download = False)

URL = info['formats'][0]['url']
voice.play(FFmpegPCMAudio(URL, **FFMPEG_OPTIONS))