
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 (102)
-
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 (...) -
Qu’est ce qu’un éditorial
21 juin 2013, parEcrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
Vous pouvez personnaliser le formulaire de création d’un éditorial.
Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (12815)
-
Batch file runs on one folder and not the next [closed]
9 novembre 2020, par user1738673Who Closed this question before it was resolved ?!? How can I get it reopened ?


After all of the suggestions, here is the code to run in the folder of flac files :


cd /D "%~dp0."

FOR %%# IN ("*.flac") DO (Title %~nx0 Processing: %%~nx#
 ffmpeg -i "%%~nx#" -ab 192k -map_metadata 0 -id3v2_version 3 "%%~n#.mp3")
 
ECHO Completed %~nx0
PAUSE



Here are my current troubleshooting steps as completed :


I renamed the files in one of the folders in which it does not run to "a.flac", "b.flac", "c.flac", etc. That is to make sure it is not a filename related problem. It did not run.


I renamed the folder itself to a single letter to make sure it was not a folder name issue (F :\MUSIC\j). It did not run.


I copied the entire folder and gave it a new single-letter name (F :\MUSIC\y). It did not run.


I copied the files to a newly-created single-letter named folder at the same directory level (F :\MUSIC\d). It did not work.


I copied the flac files and bat file from the single-letter folder to a newly created single-letter folder. It did not run.


So, I went back the original folder and RENAMED MY .bat FILE from
single folder - flac to 192.bat
to192.bat
. It ran perfectly.

I went back and renamed the .bat file in all folders described above. They all ran perfectly.


Next, I renamed my master .bat file to
single_folder_flac_to_192.bat
. I ran it in the original file folder with all of the original names for folder and files. It ran perfectly.

I then copied it into each of the folder described above. It ran perfectly.


I then went back to my original code and renamed it to
192a.bat
. This still did not run in the original folder, but ran perfectly in the others I created.

So, I renamed my original folder from 'F :\MUSIC\Yanni - Live At The Acropolis (1994) [FLAC]
to
ylata`. It did not run.

That is all I have time for before needing to go to work. More at lunch time.


Original Post Starts Here :


I am using Windows 10 Pro on my home PC.


I have a batch file which uses ffmpeg to create mp3 from flac and then delete the flac. It runs perfectly in most folders of music. The code is here :


FOR %%a IN ("*.flac") DO (Title %~0 Processing: %%~na.flac
 ffmpeg -i "%%~na.flac" -ab 192k -map_metadata 0 -id3v2_version 3 "%%~na.mp3"
 if not errorlevel 1 if exist "%%~pna.flac" del /q "%%~pna.flac")
ECHO Completed %~n0
PAUSE
 



In some folders, when I run the batch, it just blinks and goes away. Yes- there are flac files in the folders.


I have checked the different music folders for their properties (read only, access, etc.) and they look identical. The file names are "normal". It doesn't matter which drive I copy the folder into, the results are the same.


I have run the file as Administrator and get the same result.


What else should I be looking into ?


-
Error in the pull function ; keepalive request failed for '...' when opening URL, retrying with new connection
28 septembre 2021, par CaroleI'm coding a bot to stream live music for youtube to discord using discord.py and ffmpeg. I used a music cog. However, the bot seems to sometimes have micro lags and even though I want my bot to stay in the voice channel it sometimes leaves. I've hosted my bot on a server but I have regularly this type of error :


[tls @ *hex number* ] Error in the pull function.
[hls @ *hex number* ] keepalive request failed for ' *huge link* ' when opening url, retrying with new connection



I don't understand where those errors come from.


-
How to install FFMPEG for your discord bot ?
8 janvier 2019, par AlexI want to make my discord bot to play music , but i keep getting "FFMPEG not found" error.
My bot is mostly made out of pings so i won’t upload that part. The music code should be this one.
const Discord = require('discord.js');
const bot = new Discord.Client();
var bm = message.content.toLowerCase()
bot.on('message',(message) => {
if (bm == "pray") {
var VC = message.member.voiceChannel;
if (!VC)
return message.reply("You are not in the church my son.")
VC.join()
.then(connection => {
const dispatcher = connection.playFile('d:/mp3.MP3');
dispatcher.on("end", end => {VC.leave()});
})
.catch(console.error); )P.S. : I know that i should import the FFMPEG somehow because i have it downloaded already. But i don’t know how.