
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 (29)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
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 -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (4620)
-
Is there a way to filter out I/B/P frames in an MPEG Video stream and access the macroblock information ?
5 janvier 2018, par Viktor Vix JančíkI am trying make a program for video analysis of MPEG streams in C or C++.
I was able to find out the frame types in a video file using
ffprobe -show_frames -pretty File.mpg | grep 'pict_type' > pict_type.txt
However based on the order of the frames, it seems that they are in "display" (IBBPBBP...) order not in "transmission" order (IPBBPBBPBB...) and it’s not exactly ideal way of doing things as I can’t assure the command didn’t skip any frames or anything as it’s outside of my program.
I have tried OpenCV, but it appears the information I require is too low-level for OpenCV and I believe the solution lies in ffmpeg or libavcodec but the documentation is a nightmare past the CLI. Although I am open to other solutions !
The information I require are :
- The type of each frame (I, B, or P)
- The total number of macroblocks inside a frame
- The number of intra-coded macroblocks inside a P frame
- The number of both forward and backward predicted macroblocks inside a B frame
- The number of just backward predicted macroblocks inside a B frame
- The number of just forward predircted macroblocks inside a B frame
I would be very grateful for your help !
-
Is there a way to filter out I/B/P frames in an MPEG Video stream and access the macroblock information ?
1er mars 2014, par VixianI am trying make a program for video analysis of MPEG streams in C or C++.
I was able to find out the frame types in a video file using
ffprobe -show_frames -pretty File.mpg | grep 'pict_type' > pict_type.txt
However based on the order of the frames, it seems that they are in "display" (IBBPBBP...) order not in "transmission" order (IPBBPBBPBB...) and it's not exactly ideal way of doing things as I can't assure the command didn't skip any frames or anything as it's outside of my program.
I have tried OpenCV, but it appears the information I require is too low-level for OpenCV and I believe the solution lies in ffmpeg or libavcodec but the documentation is a nightmare past the CLI. Although I am open to other solutions !
The information I require are :
- The type of each frame (I, B, or P)
- The total number of macroblocks inside a frame
- The number of intra-coded macroblocks inside a P frame
- The number of both forward and backward predicted macroblocks inside a B frame
- The number of just backward predicted macroblocks inside a B frame
- The number of just forward predircted macroblocks inside a B frame
I would be very grateful for your help !
-
Encoding and decoding timestamps per frame using libav* into mp4
9 mai 2019, par KevinI am writing a program for recording and playing back video together with another program that is connected to a piece of hardware we sell. This other program gathers data from hardware, which contains "timestamp" counters at a fixed sampling rate.
I am looking for a way to encode these timestamps (either raw or converted to unix) into the outputted mp4 file. The main reason being that the video stream might only start getting saved a few minutes into the hardware acquisition
Recording :
timestamp
Main program ---------------> Video program
| |
| |
v v
Save hardware data Save frame data
and timestamp and timestamp
| |
| |
v v
Custom data format .mp4 filePost processing analysis :
for i in range(0,datalen):
hardwareData, timestamp = readHardwareFile()
frame, timestamp = readMP4()
myData[timestamp].hardware = hardwareData
mydata[timestamp].video = frame
analyze(myData)The goal being that when a I want to playback in VLC, or with OpenCV, I have access to timestamps for each frame.
I currently save it as a separate text file with timestamp and frame #, but I’m wondering if there is a more standardized way to do this.