
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (65)
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
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 -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (9464)
-
FFmpeg Muxing binary data with video into MPEG-TS stream
22 avril 2020, par diogoaosI'm trying to create a MPEG-TS stream with FFmpeg. I feed FFmpeg video form a file and binary data from a UDP stream.



ffmpeg -re -i video.mp4 \
 -f data -i udp://localhost:5000 \
 -map 0:0 -map 0:1 -map 1:0 -codec copy \
 -f mpegts test.ts




I use socat to connect to FFmpeg and type random data :



socat udp:localhost:5000 -




When I try to demux the data channel (channel 2 is for data), it's empty :



ffmpeg -i test.ts -map 0:2 -c:d copy -f data -




I've also tried doing this feeding directly text files and that works fine (I can demux the data stream from the resulting .ts file and it's equal). I've also tried using named pipes connected to a Python script, but that didn't work well (FFmpeg seems to wait for an EOF and than does not keep reading the named pipe).



How do I mux video and binary data from different sources into a single MPEG Transport Stream ?


-
Using python with ffmpeg to query video data from rtsp in complete frame
1er avril 2020, par CDYCurrently, I am trying to use python with ffmpeg to read video data from server.



Here is my command :



command = ["ffmpeg",
 "-c:v", "h264", 
 "-rtsp_transport", "tcp",
 "-i", in_stream, 
 "-c:v", "copy", 
 "-an", "-sn", 
 "-f", "avi", 
 "-"]




I will use this command to query data from server and put data into queue.



One question is, every time the data I query from server which is not a complete frame. It is just a part of encoding data.



If I want to get data as a complete frame. How can I change my command and code ?



Thank you very much


-
Determining size of data[0] in AVFrame of FFMPEG
20 juillet 2020, par user2742299I am trying to allocate AVFrame->data[0] of a video frame to uint8_t* buffer using the following lines of code :


size_t sizeOfFrameData = mpAVFrameInput->linesize[0] * mpAVFrameInput->height;
 
memcpy(mFrameData, mpAVFrameInput->data[0], sizeOfFrameData);



I would like to know if this is a correct way of copying frame data to uint8_t* variable in FFMPEG ?