close Cet article a été publié il y a 4 ans , 5 mois et 12 jours, il est donc possible qu'il ne soit plus à jour. Les informations proposées sont donc peut-être expirées.

Envoyer un flux vidéo ou une image vers /dev/videoX pour simuler une webcam

Classé dans : Programmation, Shell Mots clés : ffmpeg, video, v4l2loopback, visio
$ sudo apt-get install ffmpeg v4l-utils     # installation
$ sudo modprobe v4l2loopback                # prise en compte du module

$ v4l2-ctl --list-device                    # identification de la caméra virtuelle

$ ffmpeg -loop 1 -re -i monImage.png -f v4l2 -vcodec rawvideo -pix_fmt yuv420p /dev/videoX
# envoie d'une image statique
X = valeur renvoyée ci-dessus

$ ffmpeg -re -i testsrc.avi -f v4l2 /dev/videoX1 # envoie d'un flux vidéo

https://atinkerholic.wordpress.com/2018/10/10/how-to-use-a-virtual-webcam-with-static-image-or-video-ffmpeg-v4l-utils-and-v4l2loopback/

5 commentaires

#1  - joker123 a dit :

This paragraph is really a good one it assists new web users,
who are wishing for blogging.

Répondre
#2  - joker 123 a dit :

Howdy! I know this is kinda off topic but
I was wondering which blog platform are you using for this site?
I'm getting sick and tired of Wordpress because I've had problems with
hackers and I'm looking at options for another platform.
I would be great if you could point me in the direction of
a good platform.

Répondre
#3  - sv388 a dit :

I love reading through a post that can make men and women think.
Also, many thanks for allowing me to comment!

Répondre
#4  - leci123 a dit :

When some one searches for his essential thing, therefore he/she needs to be available that in detail, thus that thing
is maintained over here.

Répondre
#5  - joker 388 a dit :

Excellent post. I was checking continuously this blog and I'm impressed!
Extremely helpful info specifically the last part smile I care
for such info a lot. I was looking for this certain info for a very long
time. Thank you and best of luck.

Répondre

Écrire un commentaire

 Se rappeler de moi sur ce site
Quelle est la troisième lettre du mot hef6i8 ?

Fil RSS des commentaires de cet article