
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (28)
-
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 -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
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 (...)
Sur d’autres sites (6720)
-
Extracting frames from Raw video
3 janvier 2021, par David SilveriaI set the configuration as :


v4l2-ctl -v pixelformat=pRCC,width=4056,height=3040
v4l2-ctl -p 10



then get the frames with :


v4l2-ctl --stream-mmap=3 --stream-count=100 --stream-to=test.avi



that ends successfully. Now I am stuck at trying to extract frames from this video file and convert them to RGB for viewing.


I have two modes for camera operation, first one is to directly connecting the it to the address bus than listing formats results as :


v4l2-ctl --list-formats-ext

ioctl: VIDIOC_ENUM_FMT
Type: Video Capture

[0]: 'pRCC' (12-bit Bayer RGRG/GBGB Packed)
 Size: Discrete 4056x3040
 Size: Discrete 2028x1520
 Size: Discrete 2028x1080
[1]: 'RG12' (12-bit Bayer RGRG/GBGB)
 Size: Discrete 4056x3040
 Size: Discrete 2028x1520
 Size: Discrete 2028x1080
[2]: 'pRAA' (10-bit Bayer RGRG/GBGB Packed)
 Size: Discrete 1012x760
[3]: 'RG10' (10-bit Bayer RGRG/GBGB)
 Size: Discrete 1012x760



If I connect over the operating system then the result is :


ioctl: VIDIOC_ENUM_FMT
Type: Video Capture

[0]: 'YU12' (Planar YUV 4:2:0)
 Size: Stepwise 32x32 - 4056x3040 with step 2/2
[1]: 'YUYV' (YUYV 4:2:2)
 Size: Stepwise 32x32 - 4056x3040 with step 2/2
[2]: 'RGB3' (24-bit RGB 8-8-8)
 Size: Stepwise 32x32 - 4056x3040 with step 2/2
[3]: 'JPEG' (JFIF JPEG, compressed)
 Size: Stepwise 32x32 - 4056x3040 with step 2/2
[4]: 'H264' (H.264, compressed)
 Size: Stepwise 32x32 - 4056x3040 with step 2/2
[5]: 'MJPG' (Motion-JPEG, compressed)
 Size: Stepwise 32x32 - 4056x3040 with step 2/2
[6]: 'YVYU' (YVYU 4:2:2)
 Size: Stepwise 32x32 - 4056x3040 with step 2/2
[7]: 'VYUY' (VYUY 4:2:2)
 Size: Stepwise 32x32 - 4056x3040 with step 2/2
[8]: 'UYVY' (UYVY 4:2:2)
 Size: Stepwise 32x32 - 4056x3040 with step 2/2
[9]: 'NV12' (Y/CbCr 4:2:0)
 Size: Stepwise 32x32 - 4056x3040 with step 2/2
[10]: 'BGR3' (24-bit BGR 8-8-8)
 Size: Stepwise 32x32 - 4056x3040 with step 2/2
[11]: 'YV12' (Planar YVU 4:2:0)
 Size: Stepwise 32x32 - 4056x3040 with step 2/2
[12]: 'NV21' (Y/CrCb 4:2:0)
 Size: Stepwise 32x32 - 4056x3040 with step 2/2
[13]: 'RX24' (32-bit XBGR 8-8-8-8)
 Size: Stepwise 32x32 - 4056x3040 with step 2/2



As I mentioned, I am trying to get untouched 12bit data as fast as I can then being able to view the pixel data at Python, preferably (I am also open to other suggestions).


I would be glad if experienced users would provide some solutions.


-
How to comile avconv with libx264 in ubuntu 12.04
11 août 2012, par KugutsumenIs there any step by step on how to compile avconv in ubuntu ?
It seems hard to search for any tutorial with avconv compared to ffmpeg.thanks in advance !
-
Calling ffmpeg from php
7 juillet 2013, par v3gaI need to run ffmpeg from a php script. The ffmpeg wiki page on the same topic (http://ffmpeg.org/trac/ffmpeg/wiki/Using%20FFmpeg%20from%20PHP%20scripts) suggests using shell_exec over ffmpeg-php. Some other pages suggests using ffmpeg-php. Which method is better ? Is ffmpeg-php compatible with latest versions of php ? My only purpose is to convert any videos hosted by the user into mp4 (h.264,aac).