
Recherche avancée
Autres articles (48)
-
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 (...) -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...) -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)
Sur d’autres sites (5861)
-
Revision 70728 : Un chouilla de phpdoc et éviter une notice si ...
14 mars 2013, par kent1@… — LogUn chouilla de phpdoc et éviter une notice si $argscontexte ?modele ? n’est pas défini
-
Revision 70728 : Un chouilla de phpdoc et éviter une notice si ...
14 mars 2013, par kent1@… — LogUn chouilla de phpdoc et éviter une notice si $argscontexte ?modele ? n’est pas défini
-
FFMpeg v4l2m2m green output
16 avril 2020, par Roman HoncharenkoI'm using hardware encoding via FFMPEG and h264_v4l2m2m codec.



If I'm using FFmpeg h264_v4l2m2m, the encoded video looks like this



ffmpeg -i small.mp4 -vcodec h264_v4l2m2m grb_2-v4l2.avi

[h264_v4l2m2m @ 0x13d24d0] driver 'bcm2835-codec' on card 'bcm2835-codec-isp'
[h264_v4l2m2m @ 0x13d24d0] driver 'bcm2835-codec' on card 'bcm2835-codec-encode'
[h264_v4l2m2m @ 0x13d24d0] Using device /dev/video11
[h264_v4l2m2m @ 0x13d24d0] driver 'bcm2835-codec' on card 'bcm2835-codec-encode'
[h264_v4l2m2m @ 0x13d24d0] Failed to set number of B-frames
 Last message repeated 1 times
[h264_v4l2m2m @ 0x13d24d0] Failed to set header mode
[h264_v4l2m2m @ 0x13d24d0] Failed to set gop size
[h264_v4l2m2m @ 0x13d24d0] h264 profile not found
[h264_v4l2m2m @ 0x13d24d0] Encoder adjusted: qmin (0), qmax (51)
[h264_v4l2m2m @ 0x13d24d0] Failed to set minimum video quantizer scale
[h264_v4l2m2m @ 0x13d24d0] Failed to set maximum video quantizer scale




And while processing :



[avi @ 0x145aa20] Non-monotonous DTS in output stream 0:0; previous: 0, current: 0; changing 
to 1. This may result in incorrect timestamps in the output file.




If the video container is not AVI, then the resulting video is blank.



I want to use this encoder as a backend codec for OpenCV. If I'm trying to use it, I'm getting the following error :



This encoder requires using the avcodec_send_frame() API




What is the workaround and where should I look ?



- 

- Machine : Raspberry Pi 4B+
- System : Custom Yocto Distribution (master branches)
- OpenCV version : 4.1.0
- FFMpeg version : 4.2.2