
Recherche avancée
Médias (91)
-
Head down (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Echoplex (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Discipline (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Letting you (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
1 000 000 (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
999 999 (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (103)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users. -
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)
Sur d’autres sites (6894)
-
Bump dates to 2019
31 janvier 2019, par Henrik GramnerBump dates to 2019
- [DH] autocomplete.c
- [DH] common/aarch64/asm-offsets.c
- [DH] common/aarch64/asm-offsets.h
- [DH] common/aarch64/asm.S
- [DH] common/aarch64/bitstream-a.S
- [DH] common/aarch64/bitstream.h
- [DH] common/aarch64/cabac-a.S
- [DH] common/aarch64/dct-a.S
- [DH] common/aarch64/dct.h
- [DH] common/aarch64/deblock-a.S
- [DH] common/aarch64/deblock.h
- [DH] common/aarch64/mc-a.S
- [DH] common/aarch64/mc-c.c
- [DH] common/aarch64/mc.h
- [DH] common/aarch64/pixel-a.S
- [DH] common/aarch64/pixel.h
- [DH] common/aarch64/predict-a.S
- [DH] common/aarch64/predict-c.c
- [DH] common/aarch64/predict.h
- [DH] common/aarch64/quant-a.S
- [DH] common/aarch64/quant.h
- [DH] common/arm/asm.S
- [DH] common/arm/bitstream-a.S
- [DH] common/arm/bitstream.h
- [DH] common/arm/cpu-a.S
- [DH] common/arm/dct-a.S
- [DH] common/arm/dct.h
- [DH] common/arm/deblock-a.S
- [DH] common/arm/deblock.h
- [DH] common/arm/mc-a.S
- [DH] common/arm/mc-c.c
- [DH] common/arm/mc.h
- [DH] common/arm/pixel-a.S
- [DH] common/arm/pixel.h
- [DH] common/arm/predict-a.S
- [DH] common/arm/predict-c.c
- [DH] common/arm/predict.h
- [DH] common/arm/quant-a.S
- [DH] common/arm/quant.h
- [DH] common/base.c
- [DH] common/base.h
- [DH] common/bitstream.c
- [DH] common/bitstream.h
- [DH] common/cabac.c
- [DH] common/cabac.h
- [DH] common/common.c
- [DH] common/common.h
- [DH] common/cpu.c
- [DH] common/cpu.h
- [DH] common/dct.c
- [DH] common/dct.h
- [DH] common/deblock.c
- [DH] common/frame.c
- [DH] common/frame.h
- [DH] common/macroblock.c
- [DH] common/macroblock.h
- [DH] common/mc.c
- [DH] common/mc.h
- [DH] common/mips/dct-c.c
- [DH] common/mips/dct.h
- [DH] common/mips/deblock-c.c
- [DH] common/mips/deblock.h
- [DH] common/mips/macros.h
- [DH] common/mips/mc-c.c
- [DH] common/mips/mc.h
- [DH] common/mips/pixel-c.c
- [DH] common/mips/pixel.h
- [DH] common/mips/predict-c.c
- [DH] common/mips/predict.h
- [DH] common/mips/quant-c.c
- [DH] common/mips/quant.h
- [DH] common/mvpred.c
- [DH] common/opencl.c
- [DH] common/opencl.h
- [DH] common/osdep.c
- [DH] common/osdep.h
- [DH] common/pixel.c
- [DH] common/pixel.h
- [DH] common/ppc/dct.c
- [DH] common/ppc/dct.h
- [DH] common/ppc/deblock.c
- [DH] common/ppc/deblock.h
- [DH] common/ppc/mc.c
- [DH] common/ppc/mc.h
- [DH] common/ppc/pixel.c
- [DH] common/ppc/pixel.h
- [DH] common/ppc/ppccommon.h
- [DH] common/ppc/predict.c
- [DH] common/ppc/predict.h
- [DH] common/ppc/quant.c
- [DH] common/ppc/quant.h
- [DH] common/predict.c
- [DH] common/predict.h
- [DH] common/quant.c
- [DH] common/quant.h
- [DH] common/rectangle.c
- [DH] common/rectangle.h
- [DH] common/set.c
- [DH] common/set.h
- [DH] common/tables.c
- [DH] common/tables.h
- [DH] common/threadpool.c
- [DH] common/threadpool.h
- [DH] common/vlc.c
- [DH] common/win32thread.c
- [DH] common/win32thread.h
- [DH] common/x86/bitstream-a.asm
- [DH] common/x86/bitstream.h
- [DH] common/x86/cabac-a.asm
- [DH] common/x86/const-a.asm
- [DH] common/x86/cpu-a.asm
- [DH] common/x86/dct-32.asm
- [DH] common/x86/dct-64.asm
- [DH] common/x86/dct-a.asm
- [DH] common/x86/dct.h
- [DH] common/x86/deblock-a.asm
- [DH] common/x86/deblock.h
- [DH] common/x86/mc-a.asm
- [DH] common/x86/mc-a2.asm
- [DH] common/x86/mc-c.c
- [DH] common/x86/mc.h
- [DH] common/x86/pixel-32.asm
- [DH] common/x86/pixel-a.asm
- [DH] common/x86/pixel.h
- [DH] common/x86/predict-a.asm
- [DH] common/x86/predict-c.c
- [DH] common/x86/predict.h
- [DH] common/x86/quant-a.asm
- [DH] common/x86/quant.h
- [DH] common/x86/sad-a.asm
- [DH] common/x86/sad16-a.asm
- [DH] common/x86/trellis-64.asm
- [DH] common/x86/util.h
- [DH] common/x86/x86inc.asm
- [DH] common/x86/x86util.asm
- [DH] encoder/analyse.c
- [DH] encoder/analyse.h
- [DH] encoder/api.c
- [DH] encoder/cabac.c
- [D
-
Today we celebrate Data Privacy Day 2019
28 janvier 2019, par Jake Thornton — Privacy -
c# how to capture audio from nvlc and raise Accord.Audio.NewFrameEventArgs
30 septembre 2018, par MATRIX81I’m working on the application in c# that record video stream from IP cameras.
I’m using
Accord.Video.FFMPEG.VideoFileWriter
and nVLC C# wrapper.
I have a class that captures audio from the stream using nVLC, which should implement theIAudioSource
interface, so I’ve usedCustomAudioRendere
to capture sound data, then raised the event NewFrame that contains the signal object.
The problem is when saving the signal to video file, the sound is terrifying(discrete) when the record fromRTSP
stream, but in good quality when the record from the local mic(from the laptop).
Here is the code that raises the event :public void Start()
{
_mFactory = new MediaPlayerFactory();
_mPlayer = _mFactory.CreatePlayer<iaudioplayer>();
_mMedia = _mFactory.CreateMedia<imedia>(Source);
_mPlayer.Open(_mMedia);
var fc = new Func(SoundFormatCallback);
_mPlayer.CustomAudioRenderer.SetFormatCallback(fc);
var ac = new AudioCallbacks { SoundCallback = SoundCallback };
_mPlayer.CustomAudioRenderer.SetCallbacks(ac);
_mPlayer.Play();
}
private void SoundCallback(Sound newSound)
{
var data = new byte[newSound.SamplesSize];
Marshal.Copy(newSound.SamplesData, data, 0, (int)newSound.SamplesSize);
NewFrame(this, new Accord.Audio.NewFrameEventArgs(new Signal(data,Channels, data.Length, SampleRate, Format)));
}
private SoundFormat SoundFormatCallback(SoundFormat arg)
{
Channels = arg.Channels;
SampleRate = arg.Rate;
BitPerSample = arg.BitsPerSample;
return arg;
}
</imedia></iaudioplayer>And here is the code that captures the event :
private void source_NewFrame(object sender, NewFrameEventArgs eventArgs)
{
Signal sig = eventArgs.Signal;
duration += eventArgs.Signal.Duration;
if (videoFileWrite == null)
{
videoFileWrite = new VideoFileWriter();
videoFileWrite.AudioBitRate = sig.NumberOfSamples*sig.NumberOfChannels*sig.SampleSize;
videoFileWrite.SampleRate = sig.SampleRate;
videoFileWrite.FrameSize = sig.NumberOfSamples/sig.NumberOfFrames;
videoFileWrite.Open("d:\\output.mp4");
}
if (isStartRecord)
{
DoneWriting = false;
using (MemoryStream ms = new MemoryStream())
{
encoder = new WaveEncoder(ms);
encoder.Encode(eventArgs.Signal);
ms.Seek(0, SeekOrigin.Begin);
decoder = new WaveDecoder(ms);
Signal s = decoder.Decode();
videoFileWrite.WriteAudioFrame(s);
encoder.Close();
decoder.Close();
}
DoneWriting = true;
}
}