[FFmpeg-trac] #5922(avdevice:new): Can't access pin through DirectShow input
FFmpeg
trac at avcodec.org
Tue Oct 5 22:14:15 EEST 2021
#5922: Can't access pin through DirectShow input
-------------------------------------+-------------------------------------
Reporter: | Owner: (none)
ChocolateArmpits |
Type: defect | Status: new
Priority: normal | Component: avdevice
Version: git-master | Resolution:
Keywords: dshow | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by Pysis):
Found this after these:
https://stackoverflow.com/questions/19113197/ffmpeg-directshow-
capture-2-pins
https://github.com/FFmpeg/FFmpeg/blob/bc70684e74a185d7b80c8b80bdedda659cb581b8/libavdevice/dshow.c#L665
I have a similar situation also on Windows using Cygwin:
{{{
> ffm -f dshow -list_options true -i video='JVC GR-DF550'
[dshow @ 000001eaf52b6080] DirectShow video device options (from video
devices)
[dshow @ 000001eaf52b6080] Pin "DV Vid Out" (alternative pin name "0")
[dshow @ 000001eaf52b6080] vcodec=dvvideo min s=720x480 fps=29.97 max
s=720x480 fps=29.97
[dshow @ 000001eaf52b6080] Pin "DV A/V Out" (alternative pin name "1")
video=JVC GR-DF550: Immediate exit requested
}}}
{{{
> ffplay -loglevel 400 -rtbufsize 702000k -f dshow -i
video=(read):audio=(read)
read> JVC GR-DF550
read> JVC GR-DF550
Initialized direct3d renderer.
[dshow @ 00000262ff38a680] Selecting pin DV Vid Out on videof=0/0
[dshow @ 00000262ff38a680] Could not find audio only device with name [JVC
GR-DF550] among source devices of type audio.
[dshow @ 00000262ff38a680] Searching for audio device within video devices
for JVC GR-DF550
[dshow @ 00000262ff38a680] reusing previous graph capture filter...
@device_pnp_\\?\avc#jvc&gr-df550&camcorder&dv#715c280803888000#{65e8773d-
8f56-11d0-a3b9-00a0c9223196}\global
[dshow @ 00000262ff38a680] Could not find output pin from audio only
capture device.
video=JVC GR-DF550:audio=JVC GR-DF550: I/O error
nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
}}}
Then saw the parameter used here to try and select another pin:
{{{
> ffplay -loglevel trace -hide_banner -rtbufsize 702000k -video_pin_name 1
-f dshow -i video='JVC GR-DF550'
Initialized direct3d renderer.
[dshow @ 0000026c5795a4c0] skipping pin "DV Vid Out" ("0") != requested
"1"
[dshow @ 0000026c5795a4c0] Could not find output pin from video capture
device.
video=JVC GR-DF550: I/O error
}}}
{{{
> ffplay -loglevel trace -hide_banner -rtbufsize 702000k -video_pin_name
'DV A/V Out' -f dshow -i video='JVC GR-DF550'
Initialized direct3d renderer.
[dshow @ 000002b76890a4c0] skipping pin "DV Vid Out" ("0") != requested
"DV A/V Out"
[dshow @ 000002b76890a4c0] Could not find output pin from video capture
device.
video=JVC GR-DF550: I/O error
nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
}}}
Tool info:
{{{
ffplay version 4.3.2-2021-02-27-full_build-www.gyan.dev Copyright (c)
2003-2021 the FFmpeg developers
built with gcc 10.2.0 (Rev6, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-shared --disable-
w32threads --disable-autodetect --enable-fontconfig --enable-iconv
--enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-
libsnappy --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq
--enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2
--enable-libdav1d --enable-libzvbi --enable-librav1e --enable-libwebp
--enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom
--enable-libopenjpeg --enable-libvpx --enable-libass --enable-frei0r
--enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-
libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid
--enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va
--enable-dxva2 --enable-libmfx --enable-libcdio --enable-libgme --enable-
libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-
libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame
--enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-
libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis
--enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa
--enable-librubberband --enable-libsoxr --enable-chromaprint
libavutil 56. 51.100 / 56. 51.100
libavcodec 58. 91.100 / 58. 91.100
libavformat 58. 45.100 / 58. 45.100
libavdevice 58. 10.100 / 58. 10.100
libavfilter 7. 85.100 / 7. 85.100
libswscale 5. 7.100 / 5. 7.100
libswresample 3. 7.100 / 3. 7.100
libpostproc 55. 7.100 / 55. 7.100
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5922#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list