
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (97)
-
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 (...) -
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 (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (12784)
-
avformat/iamf_writer : Remove nonsense check
19 février 2024, par Andreas Rheinhardtavformat/iamf_writer : Remove nonsense check
Checking whether a pointer to an element of an array is NULL
makes no sense, as the pointer addition involved in getting
the address would be undefined behaviour already if the array
were NULL.
In this case the array allocation has already been checked
a few lines before.
Fixes Coverity issue #1559548.Reviewed-by : James Almer <jamrial@gmail.com>
Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com> -
Audio Lag Issue in Long-term FFmpeg Live Streaming with x11grab and Pulse
8 juillet 2024, par Dhairya VermaI am currently working on a live streaming project where I use FFmpeg with x11grab and PulseAudio to stream headlessly from a Linux server to an RTMP endpoint. While the setup generally works well, I am encountering an issue where the audio begins to lag behind the video after approximately two days of continuous streaming.


"-hwaccel", "cuda",

"-f", "x11grab",

"-s", "1920x1080",

"-draw_mouse", "0",

"-thread_queue_size", "1024",

"-i", ":1",

"-f", "pulse",

"-r", "60",

"-thread_queue_size", "1024",

"-i", "VirtualSink.monitor",

"-c:v", "h264_nvenc",

"-preset:v", "hq",

"-b:v", "2500k",

"-maxrate", "2500k",

"-bufsize", "10000k",

"-vf", "fps=60,crop=1280:720:320:180,format=yuv420p",

"-g", "60",

"-c:a", "aac",

"-af", "adelay=900|900",

"-b:a", "128k",

"-ar", "44100",

"-fps_mode", "cfr",

"-async", "1",

"-f", "flv",

'RTMP_LINK',



After two days of streaming, the audio noticeably lags behind the video. I have tried adjusting various settings and buffers, but the issue persists.


Could anyone please provide any insights or suggestions on how to address this issue ?


-
FFmpeg leak while reading image files
18 septembre 2016, par TimWhile reading image files using a recent version of
FFmpeg
I’m encountering a memory leak I’m having trouble tracking down.It seems that after filling the
AVFrame
withavcodec_send_packet
andavcodec_receive_frame
, my call toav_frame_free
is not actually deallocating theAVBuffer
objects withing the frame. The only thing I’m not freeing is theAVCodecContext
. If I try to do that, I get a crash.I’ve created this sample program, it is about as simple as I can get it. This will keep opening, reading and then closing the same image file in a loop. On my system this leaks memory at an alarming rate.
#include <libavcodec></libavcodec>avcodec.h>
#include <libavformat></libavformat>avformat.h>
int main(int argc, char **argv) {
av_register_all();
while(1) {
AVFormatContext *fmtCtx = NULL;
if (avformat_open_input(&fmtCtx, "/path/to/test.jpg", NULL, NULL) == 0) {
if (avformat_find_stream_info(fmtCtx, NULL) >= 0) {
for (unsigned int i = 0u; i < fmtCtx -> nb_streams; ++i) {
AVStream *stream = fmtCtx -> streams[i];
AVCodecContext *codecCtx = stream -> codec;
AVCodec *codec = avcodec_find_decoder(codecCtx -> codec_id);
if (avcodec_open2(codecCtx, codec, NULL) == 0) {
AVPacket packet;
if (av_read_frame(fmtCtx, &packet) >= 0) {
if (avcodec_send_packet(codecCtx, &packet) == 0) {
AVFrame *frame = av_frame_alloc();
avcodec_receive_frame(codecCtx, frame);
av_frame_free(&frame);
}
}
av_packet_unref(&packet);
}
}
}
avformat_close_input(&fmtCtx);
}
}
return 0;
}