Changes between Version 28 and Version 29 of DirectShow


Ignore:
Timestamp:
Jun 4, 2014, 12:59:38 AM (5 years ago)
Author:
rogerdpack
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DirectShow

    v28 v29  
    3838
    3939{{{
    40 $ ffmpeg -f dshow -list_options true -i video="Integrated Camera"
     40c:\> ffmpeg -f dshow -list_options true -i video="Integrated Camera"
    4141ffmpeg version N-45279-g6b86dd5 Copyright (c) 2000-2012 the FFmpeg developers
    4242  built on Oct 10 2012 17:30:47 with gcc 4.7.1 (GCC)
     
    5858}}}
    5959
     60
    6061You can see in this particular instance that it can either stream it to you in a "raw pixel_format" (yuyv422 in this case), or as an mjpeg stream.
    6162
     
    6768
    6869You can specify "-vcodec copy" to [http://ffmpeg.org/ffmpeg.html#Stream-copy stream copy] the video instead of re-encoding, if you can receive the data in some type of pre-encoded format, like mjpeg in this instance.
     70
     71Example audio list options:
     72{{{
     73c:\> ffmpeg -f dshow -list_options true -i audio=virtual-audio-capturer
     74ffmpeg version N-50911-g9efcfbe Copyright (c) 2000-2013 the FFmpeg developers
     75  built on Mar 13 2013 21:26:48 with gcc 4.7.2 (GCC)
     76  configuration:...
     77  libavutil      52. 19.100 / 52. 19.100
     78  libavcodec     55.  0.100 / 55.  0.100
     79  libavformat    55.  0.100 / 55.  0.100
     80  libavdevice    54.  4.100 / 54.  4.100
     81  libavfilter     3. 45.103 /  3. 45.103
     82  libswscale      2.  2.100 /  2.  2.100
     83  libswresample   0. 17.102 /  0. 17.102
     84  libpostproc    52.  2.100 / 52.  2.100
     85[dshow @ 0215bc00] DirectShow audio device options
     86[dshow @ 0215bc00]  Pin "Capture Pin"
     87[dshow @ 0215bc00]   min ch=2 bits=16 rate= 44100 max ch=2 bits=16 rate= 44100
     88audio=virtual-audio-capturer: Immediate exit requested
     89}}}
     90
    6991
    7092Also this note [http://ffmpeg.zeranoe.com/forum/viewtopic.php?f=3&t=27 that] the input string is in the format video=<video device name>:audio=<audio device name>. It is possible to have two separate inputs (like -f dshow -i audio=foo -f dshow -i video=bar) though some limited tests had shown a difference in  synchronism between the two options.
     
    142164* currently no ability to select "i420" from various yuv options: http://ffmpeg.org/pipermail/ffmpeg-devel/2014-March/155497.html
    143165* cannot use audio pins on certain "combined" video/audio sources http://stackoverflow.com/questions/19113197/ffmpeg-directshow-capture-2-pins
     166* json output?