
Recherche avancée
Autres articles (63)
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...)
Sur d’autres sites (8699)
-
Pass UTF8 parameter in powershell
13 juin 2018, par Dev_MCI have to use ffmpeg-normalize (https://github.com/slhck/ffmpeg-normalize) in my project.
Everything works well except that encoding have trouble on Windows :
$OutputEncoding = [System.Text.Encoding]::Unicode
$OutputEncoding
Get-WinSystemLocale
pause
Get-ChildItem -path "./" -recurse | foreach ($_) {
if ($_.Extension -eq ".wav") {
write $_.FullName
ffmpeg-normalize $_.FullName -nt peak -t -20 -o $_.FullName -f
pause
}
if ($_.Extension -eq ".mp4") {
ffmpeg-normalize $_.FullName -c:a aac -nt peak -t -20 -o $_.FullName -f
}
if ($_.Extension -eq ".mp3") {
ffmpeg-normalize $_.FullName -c:a libmp3lame -nt peak -t -20 -o $_.FullName -f
}
}and here is the display
BodyName : utf-16
EncodingName : Unicode
HeaderName : utf-16
WebName : utf-16
WindowsCodePage : 1200
IsBrowserDisplay : False
IsBrowserSave : True
IsMailNewsDisplay : False
IsMailNewsSave : False
IsSingleByte : False
EncoderFallback : System.Text.EncoderReplacementFallback
DecoderFallback : System.Text.DecoderReplacementFallback
IsReadOnly : True
CodePage : 1200
Parent : en
LCID : 1033
KeyboardLayoutId : 1033
Name : en-US
IetfLanguageTag : en-US
DisplayName : English (United States)
NativeName : English (United States)
EnglishName : English (United States)
TwoLetterISOLanguageName : en
ThreeLetterISOLanguageName : eng
ThreeLetterWindowsLanguageName : ENU
CompareInfo : CompareInfo - en-US
TextInfo : TextInfo - en-US
IsNeutralCulture : False
CultureTypes : SpecificCultures, InstalledWin32Cultures, FrameworkCultures
NumberFormat : System.Globalization.NumberFormatInfo
DateTimeFormat : System.Globalization.DateTimeFormatInfo
Calendar : System.Globalization.GregorianCalendar
OptionalCalendars : {System.Globalization.GregorianCalendar, System.Globalization.GregorianCalendar}
UseUserOverride : True
IsReadOnly : False
Press Enter to continue...:
C:\Users\user\Desktop\a\b\d\e\audio - Copy.wav
WARNING: Output file only supports one stream. Keeping only first audio stream.
Press Enter to continue...:
C:\Users\user\Desktop\a\b\d\不\audio - Copy.wav
ERROR: file C:\Users\user\Desktop\a\b\d\?\audio - Copy.wav does not exist
Press Enter to continue...:
C:\Users\user\Desktop\a\c\audio - Copy.wav
WARNING: Output file only supports one stream. Keeping only first audio stream.
Press Enter to continue...:The program works well on MacOS, so I don’t think it’s a software issue. It looks like PowerShell does not send the parameter to the program correctly.
Do you have any ideas ?
Thanks
-
"FFmpeg was not found, spotdl can't continue" even though its installed using sudo apt-get install spotdl + it works if ran from terminal
23 juin 2022, par dank rainbow@bot.command()
async def getsong(ctx, *, songname):
 "get song in mp3 from song name"
 os.popen(f'spotdl {songname} -f "/home/pi/discordbot/output/{songname}.mp3"')
 await ctx.send(file=discord.File(fr'/home/pi/discordbot/output/{songname}.mp3'))



ffmpeg installed with sudo-apt get. works if ran from terminal
how to fix ?


figured it out my self.
working code if it benefits anyone :


@bot.command()
async def getsong(ctx, *, songname):
 "get song in mp3 from song name"
 subprocess.Popen(f'spotdl -o "/home/pi/discordbot/output" --ffmpeg "/usr/bin/ffmpeg" {songname} --path-template "{songname}.mp3"', shell=True)
 await ctx.send(file=discord.File(fr'/home/pi/discordbot/output/{songname}.mp3'))



-
avcodec/movtextenc : Remove redundant function parameters
16 octobre 2020, par Andreas Rheinhardtavcodec/movtextenc : Remove redundant function parameters
It makes no sense to call the functions to write styl, hlit or hclr boxes
with a different box name than "styl", "hlit" or "hclr". Therefore this
commit inlines these values in the functions, removes the function
parameter containing the box's name and removes the (non obsolete) box
names from the list of boxes.Reviewed-by : Philip Langdale <philipl@overt.org>
Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>