Talk:FFmpeg

From ArchWiki
Jump to navigation Jump to search

Add example to stream mobile webcam to v4l2

I recently got a laptop without a webcam. But I found out that there are multiple ways to use phone webcam as laptop webcam. One is to use droidcam, it does dkms but I don't really recommend it because you cannot turn off the extra device on the browser. The other method is to use ip webcam, host it on the phone, install linux-headers and v4l2loopback-dkms and run ffmpeg -i http://192.168.1.xxx:8080/video -vf format=yuv420p -f v4l2 /dev/video0 which will provide webcam as /dev/video0. Pickfire (talk) 14:45, 9 November 2020 (UTC)

The claim on --enable-vaapi missing in official ffmpeg is wrong?

> Note: The flag --enable-vaapi needs to be configured to use VA-API with ffmpeg, which ffmpeg does not contain. You can check the configuration of ffmpeg: ffmpeg -buildconf

However, with the example transcode code above with `local/ffmpeg 2:4.3.1-3`

it does show that `encoder  : Lavc58.91.100 h264_vaapi`

I think is due to the autodetect thing in ffmpeg compile time?

—This unsigned comment is by Brli (talk) 23:34, 11 January 2021 (UTC). Please sign your posts with ~~~~!