[FFmpeg-trac] #5922(avdevice:new): Can't access pin through DirectShow input
FFmpeg
trac at avcodec.org
Wed Nov 2 09:46:16 EET 2016
#5922: Can't access pin through DirectShow input
-------------------------------------+-------------------------------------
Reporter: | Owner:
ChocolateArmpits | Status: new
Type: defect | Component: avdevice
Priority: normal | Resolution:
Version: git-master | Blocked By:
Keywords: dshow | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by ChocolateArmpits):
Compiled latest snapshot using MingW. Same problem.
{{{
ffmpeg -v 9 -loglevel 99 -f dshow -video_pin_name 1 -i video="Microsoft DV
Camera and VCR" -codec copy -f null -
ffmpeg version N-82183-g6089c44 Copyright (c) 2000-2016 the FFmpeg
developers
built with gcc 4.9.2 (GCC)
configuration: --extra-ldflags=-L/usr/local/x86_64-w64-mingw32/lib
--disable-ffprobe --disable-ffplay --disable-ffserver --prefi
x=/usr/local/x86_64-w64-mingw32 --disable-doc --target-os=mingw32
--arch=x86_64 --disable-debug --enable-memalign-hack --cross-pre
fix=x86_64-w64-mingw32-
libavutil 55. 35.100 / 55. 35.100
libavcodec 57. 65.100 / 57. 65.100
libavformat 57. 57.100 / 57. 57.100
libavdevice 57. 2.100 / 57. 2.100
libavfilter 6. 66.100 / 6. 66.100
libswscale 4. 3.100 / 4. 3.100
libswresample 2. 4.100 / 2. 4.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with
argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging
level) with argument '99'.
Reading option '-f' ... matched as option 'f' (force format) with argument
'dshow'.
Reading option '-video_pin_name' ... matched as AVOption 'video_pin_name'
with argument '1'.
Reading option '-i' ... matched as input file with argument
'video=Microsoft DV Camera and VCR'.
Reading option '-codec' ... matched as option 'codec' (codec name) with
argument 'copy'.
Reading option '-f' ... matched as option 'f' (force format) with argument
'null'.
Reading option '-' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
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 @ 00000000000d7360] skipping pin "DV Vid Out" ("0") != requested
"1"
[dshow @ 00000000000d7360] Could not find output pin from video capture
device.
video=Microsoft DV Camera and VCR: I/O error
}}}
{{{
ffmpeg -v 9 -loglevel 99 -list_options true -f dshow -i video="Microsoft
DV Camera and VCR"
ffmpeg version N-82183-g6089c44 Copyright (c) 2000-2016 the FFmpeg
developers
built with gcc 4.9.2 (GCC)
configuration: --extra-ldflags=-L/usr/local/x86_64-w64-mingw32/lib
--disable-ffprobe --disable-ffplay --disable-ffserver --prefi
x=/usr/local/x86_64-w64-mingw32 --disable-doc --target-os=mingw32
--arch=x86_64 --disable-debug --enable-memalign-hack --cross-pre
fix=x86_64-w64-mingw32-
libavutil 55. 35.100 / 55. 35.100
libavcodec 57. 65.100 / 57. 65.100
libavformat 57. 57.100 / 57. 57.100
libavdevice 57. 2.100 / 57. 2.100
libavfilter 6. 66.100 / 6. 66.100
libswscale 4. 3.100 / 4. 3.100
libswresample 2. 4.100 / 2. 4.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with
argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging
level) with argument '99'.
Reading option '-list_options' ... matched as AVOption 'list_options' with
argument 'true'.
Reading option '-f' ... matched as option 'f' (force format) with argument
'dshow'.
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 v (set logging level) with argument 9.
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 @ 00000000000e6fe0] DirectShow video device options (from video
devices)
[dshow @ 00000000000e6fe0] Pin "DV Vid Out" (alternative pin name "0")
[dshow @ 00000000000e6fe0] vcodec=dvvideo min s=720x480 fps=29.97 max
s=720x480 fps=29.97
[dshow @ 00000000000e6fe0] vcodec=dvvideo min s=720x576 fps=25 max
s=720x576 fps=25
[dshow @ 00000000000e6fe0] Pin "DV A/V Out" (alternative pin name "1")
[dshow @ 00000000000e6fe0] Selecting pin DV Vid Out on video
video=Microsoft DV Camera and VCR: Immediate exit requested
}}}
I also tried a 2015 June compile from Zeranoe, same issue.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5922#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list