Opened 6 weeks ago

Last modified 6 weeks ago

#6636 open enhancement

Support H264/5 Streams with v4l2 outdev

Reported by: sarnex Owned by:
Priority: wish Component: avdevice
Version: git-master Keywords: v4l2
Cc: commendsarnex@gmail.com Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Hi,

Currently, v4l2 format outputs only support rawvideo. Some outputs support h264, like v4l2loopback(see here https://github.com/umlaeute/v4l2loopback/blob/master/v4l2loopback_formats.h)

You currently get this error if you try the following command
ffmpeg -f x11grab -r 30 -s 2560x1440 -i :0.0+1920,0 -vcodec libx264 -f v4l2 -y /dev/video0

[v4l2 @ 0x94a6c0] V4L2 output device supports only a single raw video stream

I would like the ability to output to v4l2 with h264/5 encoded video streams.

I can test any patches.

Thanks,
Sarnex

Change History (2)

comment:1 Changed 6 weeks ago by sarnex

  • Cc commendsarnex@gmail.com added

comment:2 Changed 6 weeks ago by jamrial

  • Component changed from undetermined to avdevice
  • Keywords v4l2loopback removed
  • Priority changed from normal to wish
  • Status changed from new to open
  • Summary changed from [v4l2] Support H264/5 Streams to Support H264/5 Streams with v4l2 outdev
Note: See TracTickets for help on using tickets.