
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 (111)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
Sur d’autres sites (10308)
-
How to merge the raw pcm data of two channels ?
15 mai 2019, par maximedupreI have two
Float32Array
s containing the raw pcm data of the left and right channel. Is it possible to create aFloat32Array
that combines both channel ? If so, how would I do that ? Can I simply concatenate the arrays ?Cheers !
-
Sample RTP code to stream x264 data
5 août 2016, par Ajay Ponna VenkateshI am using x264 library to encode frames and I need to stream it to a client which will receive the frame, decode and render it.
Currently, I have borrowed the code from OBS to stream through RTMP and have written a client using FFMPEG’s RTMP code to receive this data. BUT RTMP works on TCP and I now need to stream over UDP. OBS doesn’t seem to support any other protocols than RTMP.So, I decided to use RTP. I can write a client to receive and decode using FFMPEG since it supports RTP just like RTMP. Can anyone please help me with sample code to stream x264 encoded data through plain RTP ? (I don’t want to complicate by using RTSP etc. along with RTP).
The requirement is simple. Say, I use ffplay -> ffplay.exe rtp ://127.0.0.1:17000 then I want this sample code to be able to send data through RTP (over UDP) and ffplay should be able to play. I can take it over from there. Thanks in advance !
-Ajay
-
How OpenGL directly manipulates data on GPU that a video hardware decoded by FFmpeg CUDA
24 janvier 2019, par gn cavalryUbuntu 18.04
FFmpeg 4.1
CUDA 10.0What I want to do is using FFmpeg CUDA decode a video, directly peocess data on GPU by GLSL , then encode data using FFmpeg CUDA. Like this :
Raw Video —> FFmpeg CUDA decoder —> GLSL —> FFmpeg CUDA encoder —> New Video
Here is the short code :
ret = avcodec_send_packet(decoder_ctx, pkt);
while (ret >= 0) {
ret = avcodec_receive_frame(decoder_ctx, frame);
/**
* Now CUDA decoded data is stored on GPU and referenced by frame
* How can GLSL manipulate decoded data on GPU directly,
* without transfer it to CPU and load to GPU again by glTexImage2D()
*/
// I don't if the following code is right, if GLSL processed data is still referenced by frame
while (avcodec_send_frame(encoder_ctx, frame)) {
avcodec_receive_packet(encoder_ctx, &enc_pkt);
}
}Can anyone help me ? Thanks very much !