[FFmpeg-trac] #11379(avdevice:new): avfoundation: cannot use Logitech Brio at 1080p 30fps
FFmpeg
trac at avcodec.org
Fri Dec 27 20:37:40 EET 2024
#11379: avfoundation: cannot use Logitech Brio at 1080p 30fps
-------------------------------------+-------------------------------------
Reporter: Jean- | Type: defect
Michaël Celerier |
Status: new | Priority: normal
Component: avdevice | Version:
Keywords: | unspecified
avfoundation | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
- AVFoundation and FFMPEG reports that my webcam is able to reach 1080p at
30fps with the NV12 codec:
{{{
[avfoundation @ 0x14eb09220] 1920x1080@[30.000030 30.000030]fps
[avfoundation @ 0x14eb09220] 1920x1080@[24.000038 24.000038]fps
[avfoundation @ 0x14eb09220] 1920x1080@[20.000000 20.000000]fps
[avfoundation @ 0x14eb09220] 1920x1080@[15.000015 15.000015]fps
[avfoundation @ 0x14eb09220] 1920x1080@[10.000000 10.000000]fps
[avfoundation @ 0x14eb09220] 1920x1080@[7.500002 7.500002]fps
[avfoundation @ 0x14eb09220] 1920x1080@[5.000000 5.000000]fps
}}}
But when I try to play it back:
{{{
$ ffplay -f avfoundation -i 0 -framerate 30 -video_size 1920x1080
-pixel_format nv12
[AVFoundation indev @ 0x12ae14d90] Configuration of video device
failed, falling back to default.
[avfoundation @ 0x12ae16610] Stream #0: not enough frames to estimate
rate; consider increasing probesize
Input #0, avfoundation, from '0':
Duration: N/A, start: 9531.520167, bitrate: N/A
Stream #0:0: Video: rawvideo (NV12 / 0x3231564E), nv12(tv),
1920x1080, 1000k tbr, 1000k tbn
}}}
I get a 5fps stream (at the right size).
Apple's Photo Booth app has no issue opening the same stream at 1080p30.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11379>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list