
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (15)
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
Sur d’autres sites (3854)
-
ffmpeg cannot open connection tcp ://a.rtmp.youtube.com
13 mars 2024, par Hiji DeuiI want to live stream using ffmpeg, when live on Facebook it runs normally, but when I live on YouTube there is an error, is there anything wrong with the command I entered ? even though the command is the same as live on Facebook, but only the RTMP link has been changed




ffmpeg -re -i out.mp4 -c:v copy -c:a aac -ar 44100 -ab 128k -ac 2 -strict -2 -flags +global_header -bsf:a aac_adtstoasc -bufsize 3000k -f flv "rtmp://a.rtmp.youtube.com/live2/my-key-streaming"







and the output is




ffmpeg version N-55112-g7eb9cf593e-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 8 (Debian 8.3.0-6)
 configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
 libavutil 56. 61.100 / 56. 61.100
 libavcodec 58.114.100 / 58.114.100
 libavformat 58. 64.100 / 58. 64.100
 libavdevice 58. 11.103 / 58. 11.103
 libavfilter 7. 91.100 / 7. 91.100
 libswscale 5. 8.100 / 5. 8.100
 libswresample 3. 8.100 / 3. 8.100
 libpostproc 55. 8.100 / 55. 8.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'out.mp4':
 Metadata:
 major_brand : mp42
 minor_version : 0
 compatible_brands: isommp42
 creation_time : 2020-12-26T11:13:27.000000Z
 com.android.version: 10
 Duration: 00:00:03.27, start: 0.000000, bitrate: 21344 kb/s
 Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, unknown/bt470bg/unknown), 1920x1080, 20225 kb/s, SAR 1:1 DAR 16:9, 29.99 fps, 30.01 tbr, 90k tbn, 180k tbc (default)
 Metadata:
 rotate : 90
 creation_time : 2020-12-26T11:13:27.000000Z
 handler_name : VideoHandle
 Side data:
 displaymatrix: rotation of -90.00 degrees
 Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 128 kb/s (default)
 Metadata:
 creation_time : 2020-12-26T11:13:27.000000Z
 handler_name : SoundHandle
[tcp @ 0x58bf880] Connection to tcp://a.rtmp.youtube.com:1935 failed: Connection timed out
[rtmp @ 0x5893140] Cannot open connection tcp://a.rtmp.youtube.com:1935
rtmp://a.rtmp.youtube.com/live2/my-key: Connection timed out







how to fix this, btw i use vps, sorry, my english so bad and this is the first time i asked on this website


-
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.


-
Anomalie #4324 (Fermé) : La vignette d’une video ne sert pas comme logo d’un article
26 avril 2019, par Franck DHello :-)
SPIP 3.2.4 [24285]
Avec uniquement les plug « meta+ » version 2.2.3 et « oembed » en version 2.0.10
php 5.6.40Il semble y avoir un bug avec les vignettes des vidéos, https://contrib.spip.net/Metas-version-2#comment500975
J’ai fait d’autres tests, et en faite le problème est présent même avec une vidéo qui est hébergé localement et avec l’ajout manuellement d’une vignette via la médiathèque
Je pense que c’est un bug, car, il y a une différence de comportement entre une image, et une vignette qui sert pour une vidéoDe même, si dans un article, je ne mets pas mais et que j’ajoute une vignette à ce document, alors cela fonctionne, Facebook voit bien l’image qui sert pour la vidéo
Franck