[FFmpeg-trac] #4486(avdevice:new): Missing AVInputFormat.get_device_list() for dshow and avfoundation

FFmpeg trac at avcodec.org
Thu Apr 16 15:45:11 CEST 2015


#4486: Missing AVInputFormat.get_device_list() for dshow and avfoundation
----------------------------------+--------------------------------------
             Reporter:  nalply    |                     Type:  defect
               Status:  new       |                 Priority:  normal
            Component:  avdevice  |                  Version:  git-master
             Keywords:            |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+--------------------------------------
 Rationale: We are writing a C library to enumerate devices
 programmatically.

 Currently one can pass the option -list_devices to the ffmpeg executable
 and this is handled in libavdevice/dshow.c:dshow_read_header() and
 libavdevice/avfoundation.m:avf_read_header(), but this is not accessible
 by API (we get "function not implemented" when invoking
 avdevice_list_devices()).

 Would it make sense to separate this code out to a separate function
 dshow_get_device_list() and assign it to ff_dshow_demuxer.get_device_list?
 Similarly for avfoundation?

 Should we go ahead and then mail a patch or a git merge proposal to
 ffmpeg-devel?

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4486>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list