
Recherche avancée
Autres articles (111)
-
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (6200)
-
libav : Filling AVFrame with RGB24 sample data ?
31 mai 2012, par Ashika Umanga UmagiliyaI am trying to fill sample data for a AVFrame initialized with RGB24 format.
I use following code snippet to populate RGB data.
But in the encoded video,I can only see grayscale strip covering only 1/3 of the videoframe.
This code snippet suppose to fill only Red color.
Any tips what Im doing wrong here ?AVFrame *targetFrame=.....
int height=imageHeight();
int width=imageWidth();
for(y=0;ydata[0][(y* width)+x]=(x%255); //R
targetFrame->data[0][(y* width)+x+1]=0; //G
targetFrame->data[0][(y* width)+x+2]=0; //B
}
} -
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 ?


-
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