[FFmpeg-trac] #5922(avdevice:new): Can't access pin through DirectShow input

FFmpeg trac at avcodec.org
Tue Nov 1 14:18:47 EET 2016


#5922: Can't access pin through DirectShow input
-------------------------------------+-------------------------------------
             Reporter:               |                     Type:  defect
  ChocolateArmpits                   |                 Priority:  normal
               Status:  new          |                  Version:  git-
            Component:  avdevice     |  master
             Keywords:  dshow        |               Blocked By:
  directshow 1394 dv interleaved     |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 I'm trying to capture a dv stream using a firewire capture card. The
 Directshow device filter has two pins. First one is only a video stream
 (DV Vid Out), second is an interleaved video/audio (DV A/V Out). Using
 ffmpeg I can access only the first pin, pointing to the second returns an
 error.
 Using GraphEdit I successfully accesed the second stream and played it
 back along with the audio. Had no problems in VLC either. This doesn't
 seem like a Directshow error or that of my capture card. Running 64bit
 compilation from Zeranoe on Windows 7.

 DEVICES:

 {{{
 ffmpeg -list_devices true -f dshow -i dummy
 ffmpeg version 3.1.4 Copyright (c) 2000-2016 the FFmpeg developers
   built with gcc 5.4.0 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisyn
 th --enable-bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r
 --enable-gnutls --enable-iconv --enable-libass --enable-
 libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-
 libgme --enable-libgsm --enable-libilbc --enable-libmodp
 lug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-
 amrwb --enable-libopenh264 --enable-libopenjpeg --enable-l
 ibopus --enable-librtmp --enable-libschroedinger --enable-libsnappy
 --enable-libsoxr --enable-libspeex --enable-libtheora --enable
 -libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis
 --enable-libvpx --enable-libwavpack --enable-libwebp --
 enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid
 --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
   libavutil      55. 28.100 / 55. 28.100
   libavcodec     57. 48.101 / 57. 48.101
   libavformat    57. 41.100 / 57. 41.100
   libavdevice    57.  0.101 / 57.  0.101
   libavfilter     6. 47.100 /  6. 47.100
   libswscale      4.  1.100 /  4.  1.100
   libswresample   2.  1.100 /  2.  1.100
   libpostproc    54.  0.100 / 54.  0.100
 [dshow @ 000000000033a400] DirectShow video devices (some may be both
 video and audio devices)
 [dshow @ 000000000033a400]  "Microsoft DV Camera and VCR"
 [dshow @ 000000000033a400]     Alternative name "@device_pnp_\\?\avc#sony
 &dv-vcr&typ_4&id_0&dv#22715d0201460008#{65e8773d-8f56-11d
 0-a3b9-00a0c9223196}\global"
 [dshow @ 000000000033a400] DirectShow audio devices
 [dshow @ 000000000033a400]  "Stereo Mix (VIA High Definition"
 [dshow @ 000000000033a400]     Alternative name
 "@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\Stereo Mix (VIA High
 Definition
 "
 dummy: Immediate exit requested
 }}}


 OPTIONS FOR THE CAPTURE DEVICE:

 {{{
 ffmpeg -loglevel trace -f dshow -list_options true -i video="Microsoft DV
 Camera and VCR"
 ffmpeg version 3.1.4 Copyright (c) 2000-2016 the FFmpeg developers
   built with gcc 5.4.0 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisyn
 th --enable-bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r
 --enable-gnutls --enable-iconv --enable-libass --enable-
 libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-
 libgme --enable-libgsm --enable-libilbc --enable-libmodp
 lug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-
 amrwb --enable-libopenh264 --enable-libopenjpeg --enable-l
 ibopus --enable-librtmp --enable-libschroedinger --enable-libsnappy
 --enable-libsoxr --enable-libspeex --enable-libtheora --enable
 -libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis
 --enable-libvpx --enable-libwavpack --enable-libwebp --
 enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid
 --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
   libavutil      55. 28.100 / 55. 28.100
   libavcodec     57. 48.101 / 57. 48.101
   libavformat    57. 41.100 / 57. 41.100
   libavdevice    57.  0.101 / 57.  0.101
   libavfilter     6. 47.100 /  6. 47.100
   libswscale      4.  1.100 /  4.  1.100
   libswresample   2.  1.100 /  2.  1.100
   libpostproc    54.  0.100 / 54.  0.100
 Splitting the commandline.
 Reading option '-loglevel' ... matched as option 'loglevel' (set logging
 level) with argument 'trace'.
 Reading option '-f' ... matched as option 'f' (force format) with argument
 'dshow'.
 Reading option '-list_options' ... matched as AVOption 'list_options' with
 argument 'true'.
 Reading option '-i' ... matched as input file with argument
 'video=Microsoft DV Camera and VCR'.
 Finished splitting the commandline.
 Parsing a group of options: global .
 Applying option loglevel (set logging level) with argument trace.
 Successfully parsed a group of options.
 Parsing a group of options: input file video=Microsoft DV Camera and VCR.
 Applying option f (force format) with argument dshow.
 Successfully parsed a group of options.
 Opening an input file: video=Microsoft DV Camera and VCR.
 [dshow @ 000000000033a580] DirectShow video device options (from video
 devices)
 [dshow @ 000000000033a580]  Pin "DV Vid Out" (alternative pin name "0")
 [dshow @ 000000000033a580]   vcodec=dvvideo  min s=720x480 fps=29.97 max
 s=720x480 fps=29.97
 [dshow @ 000000000033a580]   vcodec=dvvideo  min s=720x576 fps=25 max
 s=720x576 fps=25
 [dshow @ 000000000033a580]  Pin "DV A/V Out" (alternative pin name "1")
 [dshow @ 000000000033a580] Selecting pin DV Vid Out on video
 video=Microsoft DV Camera and VCR: Immediate exit requested
 }}}

 ACCESS ERROR:


 {{{
 ffplay -loglevel trace -video_pin_name 1 -f dshow -i video="Microsoft DV
 Camera and VCR"
 ffplay version 3.1.4 Copyright (c) 2003-2016 the FFmpeg developers
   built with gcc 5.4.0 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisyn
 th --enable-bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r
 --enable-gnutls --enable-iconv --enable-libass --enable-
 libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-
 libgme --enable-libgsm --enable-libilbc --enable-libmodp
 lug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-
 amrwb --enable-libopenh264 --enable-libopenjpeg --enable-l
 ibopus --enable-librtmp --enable-libschroedinger --enable-libsnappy
 --enable-libsoxr --enable-libspeex --enable-libtheora --enable
 -libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis
 --enable-libvpx --enable-libwavpack --enable-libwebp --
 enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid
 --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
   libavutil      55. 28.100 / 55. 28.100
   libavcodec     57. 48.101 / 57. 48.101
   libavformat    57. 41.100 / 57. 41.100
   libavdevice    57.  0.101 / 57.  0.101
   libavfilter     6. 47.100 /  6. 47.100
   libswscale      4.  1.100 /  4.  1.100
   libswresample   2.  1.100 /  2.  1.100
   libpostproc    54.  0.100 / 54.  0.100
 [dshow @ 000000000055f5a0] skipping pin "DV Vid Out" ("0") != requested
 "1"
 [dshow @ 000000000055f5a0] Could not find output pin from video capture
 device.
 video=Microsoft DV Camera and VCR: I/O error  0KB sq=    0B f=0/0
 }}}



 VERSION:

 {{{
 ffmpeg -version
 ffmpeg version 3.1.4 Copyright (c) 2000-2016 the FFmpeg developers
 built with gcc 5.4.0 (GCC)
 configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth
  --enable-bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r
 --enable-gnutls --enable-iconv --enable-libass --enable-li
 bbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-
 libgme --enable-libgsm --enable-libilbc --enable-libmodplu
 g --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-
 amrwb --enable-libopenh264 --enable-libopenjpeg --enable-lib
 opus --enable-librtmp --enable-libschroedinger --enable-libsnappy
 --enable-libsoxr --enable-libspeex --enable-libtheora --enable-l
 ibtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis
 --enable-libvpx --enable-libwavpack --enable-libwebp --en
 able-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-
 libzimg --enable-lzma --enable-decklink --enable-zlib
 libavutil      55. 28.100 / 55. 28.100
 libavcodec     57. 48.101 / 57. 48.101
 libavformat    57. 41.100 / 57. 41.100
 libavdevice    57.  0.101 / 57.  0.101
 libavfilter     6. 47.100 /  6. 47.100
 libswscale      4.  1.100 /  4.  1.100
 libswresample   2.  1.100 /  2.  1.100
 libpostproc    54.  0.100 / 54.  0.100

 }}}

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


More information about the FFmpeg-trac mailing list