Opened 18 hours ago

#11379 new defect

avfoundation: cannot use Logitech Brio at 1080p 30fps

Reported by: Jean-Michaël Celerier Owned by:
Priority: normal Component: avdevice
Version: unspecified Keywords: avfoundation
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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.

Change History (0)

Note: See TracTickets for help on using tickets.