
Recherche avancée
Autres articles (88)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...) -
Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur
8 février 2011, parLa visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
Configuration de la boite multimédia
Dès (...)
Sur d’autres sites (5978)
-
Injecting KLV data in video stream using ffmpeg
29 octobre 2022, par lsilkDoes anyone here have any experience with streaming video on one stream, for example 0:0, and then taking a .bin file in klv format and putting it in 0:1, and then outputting that to a mpegts udp stream ? I have it working, the only problem is that I have written a python program to update the klv data file while it is streaming, but it doesn't seem to be updated in the stream.


My command : ffmpeg -I "filepath.mpg" -f data -i "filepath.bin" -filter:v fps=60 -map 0:v:0 -map 1:d:0 -f mpegts udp ://IP:PORT


Ive tried -I from a local file, I've also tried streaming the .bin file from an other stream after updating it, but then the fps drops to about 0.5.


-
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 !
-
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