
Recherche avancée
Autres articles (51)
-
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 -
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 (...)
Sur d’autres sites (10649)
-
lavu/hwcontext_qsv : add loader field to AVQSVDeviceContext
5 juillet 2022, par Haihao Xianglavu/hwcontext_qsv : add loader field to AVQSVDeviceContext
In oneVPL, a valid mfxLoader handle is needed when creating mfx session
for decoding, encoding and processing[1], so add loader field to
AVQSVDeviceContext. User should fill this field before calling
av_hwdevice_ctx_init() if using oneVPLThis is in preparation for oneVPL support
-
avcodec/svq1enc : output ident string in extradata field
31 octobre 2022, par Peter Rossavcodec/svq1enc : output ident string in extradata field
This will enable the acurate identification of FFmpeg produced
SVQ1 streams, should there be new bugs found in the encoder. -
How to make use of data field from ffprobe's show_packets show_data
25 janvier 2023, par Cee WeeI have this ffprobe command reading from rtsp feed. My aim is to extract video frame and audio frame from the feed along with their associated pts_time. My rtsp feed has h265 video format and aac audio format.


I need to pass the video data to OpenCV for processing. OpenCV takes bgr24 format. I used to rely on ffmpeg -i rtsp :// -c copy -f rawvideo -pix_fmt bgr24 -pipe : where its stdout produces video frame in bytes. I am not so sure if this is similar to the "data" in ffprobe packets or not. Doing so has limitation when I need to work on audio and synchronizing audio and video. It seems ffprobe provide both audio and video data naturally in one simple command along with pts_time reference.


I have been trying find reference for show_data and its use of data. It would be appreciated if anyone provide guidance on this.


ffprobe -hide_banner -loglevel fatal -i rtsp ://... -show_packets -show_data -print_format json




"codec_type" : "video",


"stream_index" : 0,


"pts" : 28128,


"pts_time" : "0.312533",


"dts" : 28128,


"dts_time" : "0.312533",


"duration" : 3600,


"duration_time" : "0.040000",


"size" : "7937",


"flags" : "__",


"data" : "\n00000000 : 0000 0102 01d0 02b9 7420 4bfb 5df1 637e ........t K.].c \n00000010 : 0000 0302 2067 e2e9 48f8 6197 3952 8432 .... g..H.a.9R.2\n00000020 : a689 afb5 69ec 0ca>


,




"codec_type" : "audio",


"stream_index" : 1,


"pts" : 6280,


"pts_time" : "0.392500",


"dts" : 6280,


"dts_time" : "0.392500",


"duration" : 1024,


"duration_time" : "0.064000",


"size" : "258",


"flags" : "K_",


"data" : "\n00000000 : 0102 9ffe 0b24 2ad1 2962 a5ca a569 0275 .....$*.)b...i.u\n00000010 : 15a0 f442 2f92 95ee abca 7892 00f6 aac8 ...B/.....x.....\n00000020 : ff8d f8b7 f368 5fb>


,