
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (91)
-
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community. -
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 (...) -
Configuration spécifique pour PHP5
4 février 2011, parPHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
Modules spécifiques
Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)
Sur d’autres sites (4066)
-
How to keep sound of file mp4 when mix it with audio files mp3 [FFMPEG] [closed]
20 juin 2013, par Noe LoveIn Android after I run the FFMPEG command has been mixed mp4 & mp3 files but mp4 audio file after the mix has been lost. How can I keep the mp4 audio.
My command :ffmpeg -i /sdcard/music.mp3 -i/sdcard/video.mp4 -acodec copy -vcodec copy /sdcard/newvideo.mp4
Can you help me. Thank you very much.
-
ffprobe - getting file info from pipe
29 mai 2013, par AndrewshkovskiiI've got an oog file (it was mixed by sox from two audiostreams recorded by pbx Asterisk) and i'am trying to get file information with ffprobe.
When i'am using something likecat %filename%.ogg | ffrobe -i -
I've got invalid file info (Duration : N/A, wrong bitrate and etc.)
But when i'am trying toffprobe -i %filename%
Everything works fine and i get file info.
What can be wrong ? File content ? -
Audio output from MemoryStream using TTS to Discord Bot
26 mars 2019, par Casval Zem DaikunI’m writing a Discord Bot in VS2017 using Discord.Net wrapper. I’ve gotten everything to work (parsing/sending text commands, joining voice channels) except the main goal : Using TTS audio output stream in a voice channel.
Basically, I’m using SpeechSynthesizer to create the MemoryStream and write that to the Discord bot. The problem is, there’s no audio. At all. I’ve been following several other answers as well as the documentation on the Discord.Net site and can’t seem to find a way to get this to work. Audio streaming via url/file is well documented but not this.
var ffmpeg = CreateProcess("");
var output = ffmpeg.StandardOutput.BaseStream;
IAudioClient client;
ConnectedChannels.TryGetValue(guild.Id, out client);
var discord = client.CreatePCMStream(AudioApplication.Mixed);
await output.CopyToAsync(discord);
await discord.FlushAsync();Above is the sample I’ve been using which is sourced from a file via ffmpeg. I see that it’s just copying over a stream, so I’ve attempted the following in various methods :
IAudioClient client;
ConnectedChannels.TryGetValue(guild.Id, out client);
var discord = client.CreatePCMStream(AudioApplication.Mixed);
var synth = new SpeechSynthesizer();
var stream = new MemoryStream();
var synthFormat = new SpeechAudioFormatInfo(
EncodingFormat.Pcm,
8000,
16,
1,
16000,
2,
null);
synth.SetOutputToAudioStream(stream, synthFormat);
synth.Speak("this is a test");
await stream.CopyToAsync(discord);
await discord.FlushAsync();I’ve tried changing around the SpeechAudioFormatInfo properties, changing the output on the SpeechSynthesizer, completely removing the async calls, pretty much everything that I could think of with no result.
I realize that I could just output sound to a dummy audio device and have another account/bot pick up on that but that was not the goal of this exercise.
I also realize that I could just write the output to a file and just stream it but that would increase the processing time. These TTS instructions are small, never over 5 words, and need to be somewhat quick to the point since they’re supposed to be "callouts".Lastly, I couldn’t exactly find a way to make this work with ffmpeg either. Everything I’ve read seems to indicate the need for a physical source, not just a memory stream.
So, I’m at wit’s end. Any assistance would be appreciated.