yocto.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
* #raspberrypi #ffmpeg
@ 2023-05-04 10:40 Ed Watson
  2023-05-04 11:29 ` [yocto] " Ross Burton
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ed Watson @ 2023-05-04 10:40 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1178 bytes --]

Hello,

I am trying to get v4l_mem2mem in to ffmpeg. It does hardware h264 encoding on a RPI4

ffmpeg  -encoders | grep h264

for example

ffmpeg -f v4l2  - i /dev/video0 -v:c v4l_mem2mem out.mp4

would take the a webcam output and encode it in h264 using the hardware encoder.

On raspberry pi os:

V..... libx264              libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (codec h264)

V..... libx264rgb           libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 RGB (codec h264)

V..... h264_omx             OpenMAX IL H.264 video encoder (codec h264)

V..... h264_v4l2m2m         V4L2 mem2mem H.264 encoder wrapper (codec h264)

V..... h264_vaapi           H.264/AVC (VAAPI) (codec h264)

On yocto so far this is what I have managed so far ....

V....D libx264              libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (codec h264)

V....D libx264rgb           libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 RGB (codec h264)

I am working from this:

https://git.yoctoproject.org/poky/tree/meta/recipes-multimedia/ffmpeg/ffmpeg_5.1.2.bb?h=langdale

Anyone else go anywhere close?

[-- Attachment #2: Type: text/html, Size: 4485 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-05-26 13:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-04 10:40 #raspberrypi #ffmpeg Ed Watson
2023-05-04 11:29 ` [yocto] " Ross Burton
     [not found] ` <175BED4DE45E8E90.14539@lists.yoctoproject.org>
2023-05-04 13:11   ` Ross Burton
     [not found] ` <GST4UR.R24GL1IDZDSM3@googlemail.com>
2023-05-26 13:16   ` Ed Watson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).