
Recherche avancée
Autres articles (112)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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.
Sur d’autres sites (20808)
-
How can we feed bytearray of an image in input of ffmpeg for doing direct operation for live streaming to RTMP server
31 janvier 2017, par Raj Kumar SinghWhat I am doing now is :
I have a stream from a source, that give me byte array for each frame. I have to save that byte array to JPEG file. Each of the frames are being saved in memory. Then I’am streaming those JPEG to server using the FFMPEG command.
What I want to do is :
I want to skip the step of storing each frame as JPEG. I want to directly stream the byte array to RTMP server.
The FFMPEG command I am using is :-
ffmpeg -framerate 10 -i c:\Stream\img%03d.jpg -f flv rtmp://192.168.243.195/live/ac71e
-
Direct ffmpeg -> OpenGL send without intermediary buffer copy
3 juillet 2021, par Lucas ZanellaTo get a decoded frame from ffmpeg, there's the function
avcodec_receive_frame
:

int avcodec_receive_frame ( AVCodecContext * avctx,
 AVFrame * frame 
 ) 



Documentation : https://libav.org/documentation/doxygen/master/group__lavc__decoding.html#ga11e6542c4e66d3028668788a1a74217c


The problem with this function is that I need to pass a frame to it like this :


avcodec_receive_frame(&context, &frame)



such that it will write the context into an
AVFrame*
just so I can pass it to OpenGL by doing another copy. That is, I make an unnecessary copy. For large video frames this could take time.

There should be a function like this :


int avcodec_receive_frame ( AVCodecContext * avctx,
 int (write_function*)(uint8_t data*, AVFrameParameters * parameters)
 ) 



this way I can pass a function pointer of a function that will take care of writing the video frame directly to OpenGL, without making an unnecessary copy. By the way,
AVFrameParameters
is a type I invented. It would have the parameters of the frame like color scheme, dimensions and stride, etc so I can upload properly to OpenGL.

Is there a way to do something like this ? If not, why not ?


PS : something even better would be for OpenGL to pass its GPU pointer to be so I can pass it to OpenGL, but I think this is too extreme


-
Revision 749e0c7b28 : Revert "Revert "Revert 3 patches from Hangyu to get Chrome to build :"" This rev
28 juin 2014, par James ZernChanged Paths :
Modify /test/user_priv_test.cc
Modify /vp9/decoder/vp9_decoder.c
Modify /vp9/decoder/vp9_dthread.h
Modify /vp9/vp9_dx_iface.c
Revert "Revert "Revert 3 patches from Hangyu to get Chrome to build :""This reverts commit b336356198b8ada50fbb59f04f11cefceaf5ff95.
This causes a hang in :
VP9/InvalidFileTest.ReturnCode/3the change to test/user_priv_test.cc remains with a minor update
Change-Id : I4a8a272ca37ea329b0f413f0b1cd827a238bd9fd