
Recherche avancée
Autres articles (36)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...) -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users.
Sur d’autres sites (7894)
-
How can I batch/sequentially download m3u8 files using ffmpeg ?
20 février 2020, par YesterdecI’m currently downloading m38u playlists individually using the following on Mac :
ffmpeg -i <"URL with m3u8"> -codec copy output.ts
If I want to do multiple files, I currently do it from separate Terminal windows.
What I would like to do is, in a single instance, tell ffmpeg to e.g. take URLs from a .txt file and download them in sequence, with a sequential output name for each (fine for them to all go in same output folder).
Sample code from m3u8 file :
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:9
#EXTINF:8.333333,
segment00000.ts
#EXTINF:8.333333,
segment00001.ts
#EXTINF:8.333333,
segment00002.ts
#EXTINF:5.000000,
segment00003.ts
#EXTINF:8.333333,
segment00004.ts
#EXTINF:8.333333,
segment00005.tsI certainly have homebrew installed - I’m a novice, so unsure whether that means I’m actively ’using’ it to manage packages
The file with the list of of m3u8 addresses is currently located at /Users/username/Downloads/m38u hold list.txt and looks like this :
https://streaming.imvbox.com/media/2825/1280x800/1280x800.m3u8
https://streaming.imvbox.com/media/2298/1280x800/1280x800.m3u8
https://streaming.imvbox.com/media/2822/1280x800/1280x800.m3u8
https://streaming.imvbox.com/media/2821/1280x800/1280x800.m3u8
https://streaming.imvbox.com/media/2820/1280x800/1280x800.m3u8
https://streaming.imvbox.com/media/2088/1280x800/1280x800.m3u8But so far this file is simply a place to store the links - I haven’t used it anything other than to copy the links from.
-
ffmpeg, download video stream from url
5 juillet 2021, par samiullahI am developing application to save any online webinar(video or audio) given the url using ffmpeg library. Url usually contain other contents like text, images as well. So i have problem, how to separately get video stream from url using ffmpeg(or some other better free library). Url may be for any site, not only for youtube, but as an example, link may be like


http://www.youtube.com/watch?v=wnrJJYm7qIw


-
Is it possible to download files (MP4) from external server and convert it to MP3 in NodeJS
19 mai 2021, par GrayGalaxyI am currently working on a chrome extension to download songs from JioSaavn.com. In my implementation I use an Vercel instance as a prox. This is a workaround for CORS error in the extension. The server code is shown as below.


const axios = require('axios')
module.exports = (req, res) => {
 res.setHeader('Access-Control-Allow-Origin', '*')
 res.setHeader('Cache-Control', 's-maxage=300, stale-while-revalidate')
 const URL = req.url // requested url
 // get array buffer
 if (url === '/') return res.redirect('https://github.com/GrayGalaxy/jiosaavn-downloader')

 let server_url = `https://snoidcdnems02.cdnsrv.jio.com/c.saavncdn.com/${URL}`
 axios.get(src_url, { responseType: 'arraybuffer' })
 .then(r => r.data)
 .then(result => res.send(result))
 .catch(() => {
 res.status(400).send('Cannot access the requested URL')
 })
 }
}




This outputs a MP4 file (just with audio). As for example if you put
/983/01100b84f61ca8b3a0432f12c564be8e_96.mp4
as theURL
parameter it will output as MP4.

Now I want to convert that response MP4 to a MP3 file. I tried ffmpeg, fluent-ffmpef and many other implementation. Most of them dose not support ArrayBuffer as an input (I think) it doesn't provide any output as expected. Or it might possible Vercel does not allow file-browser.


Please give a solution to that.