
Recherche avancée
Médias (29)
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (111)
-
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 (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
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 (14007)
-
Encoding audio data using ffmpeg
30 mai 2019, par Matin KhI am receiving a byte array (
int8_t*
) and I would like to use FFMPEG to encode it into FLAC. All the examples I found are reading data from files, which is not the case for me. Following the original documents (see here), I came up with the following solution :#include "libavcodec/avcodec.h"
// ...
// params:
// audioData: original audio data
// len: length of the byte array (audio data)
// sampleRate: sample rate of the original audio data
// frameSize: frame size of the original data
uint8_t* encodeToFlac(uint8_t* audioData, int len, int sampleRate, int frameSize) {
uint8_t* convertedAudioData;
// Context information
AVCodecContext* context = avcodec_alloc_context();
context->bit_rate = 64000;
context->sample_rate = sampleRate;
context->channels = 2;
context->frame_size = frameSize;
short* samples = malloc(frameSize * 2 * context->channels);
int outAudioDataSize = len * 2;
convertedAudioData = malloc(outAudioDataSize);
int outSize = avcodec_encode_audio(c, convertedAudioData, outAudioDataSize, samples);
return convertedAudioData;
}I have two main issues with the above solution :
-
I did not specify what the final encoding should be (for example, MP3, FLAC, etc), which makes me wonder if I’m using FFMPEG library correctly ?
-
Do I have all the necessary information about the source - original audio data ? I am not certain if I have all the necessary information to perform the encoding.
-
-
How can i use live data from an api to livestream using FFMPEG
17 août 2022, par Steve MimshakI would like to use live data from an api in a live stream video in real time how i did not find any information about how this is possible.


I want to use an ubuntu server with FFMPEG to create the livestream.


Does anyone know how to do it.


-
ffserver streaming h.264 raw data
11 novembre 2014, par Samuel David HudsonI have a c++/openGL application which generate a .h264 stream using a hardware encoder (nvidia grid). Im using ffserver to serve the stream to be consumed via a url.
The application writes out the stream data to a file on disk, which gets added to as time goes by.
ffserver.conf
# Port on which the server is listening. You must select a different
# port from your standard HTTP web server if it is running on the same
# computer.
HttpPort 8090
<stream>
File "/home/ec2-user/demo/movie.h264"
NoAudio
Format mpegts
</stream>The problem i am having is that whenever you view the stream, it starts from the begining of the data, rather than from ’now’. I want the stream to be as realtime as possible.
Does anyknow know how i might achieve this ?