
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (77)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (10939)
-
Find out what people are searching when coming from search engines
7 novembre 2017, par InnoCraft — PluginsAt InnoCraft, we know that SEO is an important topic for most of you. If you have not heard of this term before, SEO stands for Search Engine Optimization. It consists in having your content website visible within the search result pages without paying for ads. SEO is also often referred as “natural” or “organic” traffic.
In SEO, one of the most valuable data to analyze is the keyword used by the visitor to come to your website. Since 2011, major search engines decided to not disclose this data anymore, that’s the reason why you are seeing the “Keyword not defined” data within some of your Piwik reports, also called “not provided” :
Keyword not defined in PiwikThe solution
As your keyword data is collected by search engines, each of them provides the searched keywords within different services such as :
- Google Search Console
- Bing/Yahoo Webmaster tools
- Yandex Webmaster
Those services allow website owners to see how many times their website appeared within the SERP (Search Engine Results Page), how bots are crawling your pages, which search terms they used, and more. The drawback is, that they make take this data available only for a short period, you need to log in to all these services to get the insights you need and you cannot get aggregated overall keyword reports (over all search engines combined).
The solution that gives you all this data in Piwik
Would you like to know what the not defined search keywords in Piwik really are ? Would you like to combine keywords data from major search engines in one place ? Would you like to know how important your website is according to Google and Microsoft Bing and Yahoo ?
At InnoCraft, the company behind Piwik, we created a plugin called “Search Engine Performance Keywords”. With this plugin, you will :
- be able to keep the search terms forever
- save time by crossing data from Google and Bing search within Piwik
- get an overview of how Google and Bing are crawling your site
- monitor search rankings and click-through rates for each keyword
1 – Data ownership & data retention
Once more, it is going back to Piwik roots. As Piwik is a Free software, you own the data you collect. Once the import is successful, you will be able to keep the keywords data as long as you wish. In the case of services such as Google Search Console, they will delete the data after 90 days !! Without our plugin you will not be able to analyze precisely how your SEO is doing month by month, year by year.
2 – Save time by using a single interface
Google and Bing have no interest in gathering data coming from various search engines… we do. As a result, with our plugin you can visualize the data coming from those two sources within a single report in order to analyze your SEO in a better way.
You will not have to use spreadsheets anymore and no chance to miss some important keywords which you would maybe miss when you don’t aggregate them in a single report.3 – Crawl overview check
Both Google and Bing have a crawl “budget”. This budget needs to be optimized in order for search engine bots to consider the most relevant pages. By gathering all the data within Piwik you will have a clear view of how well your website is appreciated by search engines :
4 – Monitor search rankings
The Search Engine Keywords Performance feature allows you to monitor search rankings for a given keyword and see his evolution :
it also gives you the possibility to compare the performances of several keywords in order to see how your website is performing as a whole :
How to get started ?
The “Search Engine Keywords Performance” plugin has been developed by the InnoCraft team as a premium feature.
If you are not sure, note that InnoCraft is offering an unconditional and hassle-free 30-day money back guarantee period.
Once you have installed the plugin, follow the guide in order to have it up and running.
The installation process is not difficult in itself but takes some time as it requires to access to Google and Bing APIs.If you enjoyed this article, you may appreciate the following one about how to integrate ad services to Piwik : Make better online marketing decisions with the AOM plugin.
-
Discord Bot Not Playing Audio discord.js v13
17 avril 2023, par ChronoAeroI'm trying to make a discord bot that can play mp3 files in a voice channel.. but it doesn't seem to work as intended



 connection = joinVoiceChannel({
 channelId: voice.channelId,
 guildId: interaction.guildId,
 adapterCreator: voice.channel.guild.voiceAdapterCreator,
 });
 
 
 let resource = createAudioResource(createReadStream(join(__dirname, 'resources/try.mp3')), {
 inlineVolume : true
 });

 resource.volume.setVolume(0.2);

 console.log(join(__dirname, 'resources/try.mp3'));
 
 const player = createAudioPlayer();

 connection.subscribe(player);
 player.play(resource)
 console.log("done");

 await interaction.reply('I have joined the voice channel!');



It successfully joined the voice channel, but it does not play any sound at all


The bot joined the voice channel


I have made sure that the directory name is correct by console.logging join(__dirname, 'resources/try.mp3')


I have also tried to check the required dependency for playing audios in discord.js v13


const { generateDependencyReport } = require('@discordjs/voice');

console.log(generateDependencyReport());



here's the output :


--------------------------------------------------
Core Dependencies
- @discordjs/voice: 0.6.0
- prism-media: 1.3.2

Opus Libraries
- @discordjs/opus: 0.5.3
- opusscript: not found

Encryption Libraries
- sodium: not found
- libsodium-wrappers: 0.7.9
- tweetnacl: not found

FFmpeg
- version: 4.4-essentials_build-www.gyan.dev
- libopus: yes
--------------------------------------------------



I think the discord.js v13 docs said that it only requires any one of each Core , Opus, Encryption, and FFmpeg Dependencies (Correct me if I'm wrong)


Did I miss anything ?


Thank you in advance


-
Streaming raw sound with FFMPEG
30 juin 2020, par Dr_ClickI'm using the ffmpeg library to decode / encode audio in JAVA, using the Process objets. The aim is to got the raw datas decoded by ffmpeg in my JAVA code and then, to send them back to ffmpeg to generate a stream or create a file.



As JAVA sounds only allow wav audio datas, I made a first try with this command line :



ffmpeg -i http://199.180.75.118:80 -acodec pcm_s16le -ar 44100 -ac 2 "/home/dr_click/montest.wav"




It works. But, my goal is to get the frames on the fly and not a file. I thought about using a pipe but it seems it will work only with Linux and not with Windows (and no idea for MacOS)
So, I'd prefer to stream locally a wav file and to catch it with JAVA into a AudioInputStream.



I wrote this command :



ffmpeg -re -i http://199.180.75.118:80 -acodec pcm_s16le -ar 44100 -ac 2 -f rtp rtp://127.0.0.1:1234




It semms to work on the server side. But, when I enter the below command line on the server side :



ffplay rtp://127.0.0.1:1234




It doesn't work at all. I got this error :



- 

- [rtp @ 0x7f29c8000b80] Unable to receive RTP payload type 97 without an SDP file describing it





If I try the couple :



ffmpeg -i http://199.180.75.118:80 -acodec pcm_s16le -ar 44100 -ac 2 -f rtp -sdp_file /home/dr_click/audio.sdp rtp://127.0.1.1:1234




and



ffplay /home/dr_click/audio.sdp




I got the following error :



- 

- [rtp @ 0x7f7d00008040] Protocol 'rtp' not on whitelist 'file,crypto' ! if





And if I finally try :



fmpeg -protocol_whitelist file,http,rtp,tcp -i http://199.180.75.118:80 -acodec pcm_s16le -ar 44100 -ac 2 -f rtp -sdp_file /home/dr_click/audio.sdp rtp://127.0.1.1:1234




I still get the same error.



Which point do I miss to stream locally some raw datas and catch them back in the AudioInputStream ?



Thank you for all your replies.