
Recherche avancée
Autres articles (93)
-
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 (...) -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
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
Sur d’autres sites (12024)
-
ffmpeg : how to save h264 raw data as mp4 file
15 avril 2016, par monkidI encode h264 data by libavcodec.
ex.while (1) {
...
avcodec_encode_video(pEnc->pCtx, OutBuf, ENC_OUTSIZE, pEnc->pYUVFrame);
...
}If I directly save OutBuf data as a .264 file, it can`t be play by player. Now I want to save OutBuf
as a mp4 file. Anyone know how to do this by ffmpeg lib ? thanks.
-
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 !