
Recherche avancée
Médias (1)
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (92)
-
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
Gestion de la ferme
2 mars 2010, parLa ferme est gérée dans son ensemble par des "super admins".
Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
Dans un premier temps il utilise le plugin "Gestion de mutualisation"
Sur d’autres sites (12733)
-
FFMPEG : how i enable -decryption_key instead of -cenc_decryption_key when i do my ffmpeg build ? [closed]
18 juillet 2024, par nabil mouslimi have é different ffmpeg bins , the first one have this option :


dash AVOptions:



-allowed_extensions .D......... List of file extensions that dash is allowed to access (default "aac,m4a,m4s,m4v,mov,mp4,webm,ts")


-cenc_decryption_key .D......... Media decryption key (hex)


and the second one have this option ; dash AVOptions :


dash AVOptions:



-allowed_extensions .D......... List of file extensions that dash is allowed to access (default "aac,m4a,m4s,m4v,mov,mp4,webm,ts")


-decryption_key .D......... Media decryption key (hex)


-http_persistent .D......... Use persistent HTTP connections (default true)


i try all version of ffmpeg but after my build i always have the first options


how i do to have -decryption_ke and -http_persistent options when i build my ffmpeg ??


-
How do I playback .m4s files. And turn them into a binary stream for a Discord Bot
30 octobre 2020, par HarveyI want to download the BBC radio 2 and stream it to a discord server. Each request is https://as-dash-uk-live.akamaized.net/pool_904/live/uk/bbc_radio_two/bbc_radio_two.isml/dash/bbc_radio_two-audio=320000-250636302.m4s However the Time stamp will change and they regularly delete content. I found a .dash file as well https://as-dash-uk-live.akamaized.net/pool_904/live/uk/bbc_radio_two/bbc_radio_two.isml/dash/bbc_radio_two-audio=320000.dash which is seems to request. However I can't find how to send it through a discord bot to a discord server. My code is


const axios = require('axios')


module.exports = {
 play: async function (guild,message) {
 const serverQueue = {};
 const voiceChannel = message.member.voice.channel
 serverQueue.connection = await voiceChannel.join();
 plays(guild)
 
 async function plays(guild) {
 let data1 = new Date(1353439725);
 let data2 = new Date(Date.now()/1000);
 console.log(`https://as-dash-uk-live.akamaized.net/pool_904/live/uk/bbc_radio_two/bbc_radio_two.isml/dash/bbc_radio_two-audio=320000-${Math.floor((data2 - data1))-4000}.m4s`)
 const dispatcher = serverQueue.connection.play((await axios.get(`https://as-dash-uk-live.akamaized.net/pool_904/live/uk/bbc_radio_two/bbc_radio_two.isml/dash/bbc_radio_two-audio=320000-${Math.floor((data2 - data1))-4000}.m4s`)).data)
 .on('finish', () => {
 console.log('Music ended!');
 plays(guild);
 return
 })
 .on('error', error => {
 console.error(error);
 plays(guild);
 return
 });
 dispatcher.setVolumeLogarithmic(serverQueue.volume / 5);
 }
 }
}



However no audio plays and the audio end event is always being called. Am I being really stupid or is there a way to do this.


-
Understanding ffmpeg map option
7 avril 2021, par Austin KykerI came across the following command in a blog post which creates different quality video streams that are packaged into DASH format via the dash muxer.


ffmpeg -i $VIDEO_IN \
 -preset $PRESET_P -keyint_min $GOP_SIZE -g $GOP_SIZE -sc_threshold 0 \
 -r $FPS -c:v libx264 -pix_fmt yuv420p -c:a aac -b:a 128k -ac 1 -ar 44100 \
 -map v:0 -s:0 $V_SIZE_1 -b:v:0 2M -maxrate:0 2.14M -bufsize:0 3.5M \
 -map v:0 -s:1 $V_SIZE_2 -b:v:1 145k -maxrate:1 155k -bufsize:1 220k \
 -map v:0 -s:2 $V_SIZE_3 -b:v:2 365k -maxrate:2 390k -bufsize:2 640k \
 -map v:0 -s:3 $V_SIZE_4 -b:v:3 730k -maxrate:3 781k -bufsize:3 1278k \
 -map v:0 -s:4 $V_SIZE_4 -b:v:4 1.1M -maxrate:4 1.17M -bufsize:4 2M \
 -map v:0 -s:5 $V_SIZE_5 -b:v:5 3M -maxrate:5 3.21M -bufsize:5 5.5M \
 -map v:0 -s:6 $V_SIZE_5 -b:v:6 4.5M -maxrate:6 4.8M -bufsize:6 8M \
 -map v:0 -s:7 $V_SIZE_6 -b:v:7 6M -maxrate:7 6.42M -bufsize:7 11M \
 -map v:0 -s:8 $V_SIZE_6 -b:v:8 7.8M -maxrate:8 8.3M -bufsize:8 14M \
 -map 0:a \
 -init_seg_name init\$RepresentationID\$.\$ext\$ -media_seg_name chunk\$RepresentationID\$-\$Number%05d\$.\$ext\$ \
 -use_template 1 -use_timeline 1 \
 -seg_duration 4 -adaptation_sets "id=0,streams=v id=1,streams=a" \
 -f dash Dash/dash.mpd



The thing I'm struggling to understand is how the maps work. I've read the Map docs but they don't seem to have a comparable example.


- 

- Why is -map v:0 used for every video stream ?
- Why does the first map line operate on stream 0 (e.g. -b:v:0) and the next map line operates on stream 1 (e.g. -b:v:1), etc.






Would really appreciate a breakdown.