fps=5 max s=640x480 fps=30
vcodec=h264 min s=640x480 fps=5 max s=640x480 fps=30 (tv,
bt470bg/bt709/unknown, topleft)
vcodec=mjpeg min s=1920x1080 fps=5 max s=1920x1080 fps=30
vcodec=mjpeg min s=1920x1080 fps=5 max s=1920x1080 fps=30 (pc,
bt470bg/bt709/unknown, center)
Diederick Niehorst
ut of their device.
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow.c | 448
1 file changed, 323 insertions(+), 125 deletions(-)
diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index c59cd30f30..7467fae1fc 100644
--- a/libavdevice/ds
Enabled discovering a DirectShow device's color range, space, primaries,
transfer characteristics and chroma location, if the device exposes that
information. Sets them in the stream's codecpars.
Signed-off-by: Diederick Niehorster
---
libavdevice/dsh
Needed to enable programmatic discovery of DirectShow devices
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow.c | 68 -
1 file changed, 61 insertions(+), 7 deletions(-)
diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index 8d0a6fcc09
evice provides broken timestamps.
Solves trac #8620.
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow.c | 1 +
libavdevice/dshow_capture.h | 1 +
libavdevice/dshow_pin.c | 13 +++--
3 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/libavdevice/dshow.c b/libavd
concerns these devices, I only moved
some of it into functions, didn't change its logic. Rest is thoroughly
tested of course.
Diederick Niehorster (6):
avformat: add control_message function to AVInputFormat
avdevice/dshow: implement control_message interface
avdevice: adding control me
Control messages are useful for programmatic control of not only outdevs but
also indevs.
Bumping avformat version.
Signed-off-by: Diederick Niehorster
---
libavdevice/avdevice.c | 8 +---
libavformat/avformat.h | 6 ++
libavformat/version.h | 4 ++--
3 files changed, 13 insertions
: Diederick Niehorster
---
libavdevice/dshow.c | 41 +
libavdevice/dshow_capture.h | 1 +
2 files changed, 42 insertions(+)
diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index 8d0a6fcc09..6e0147aed7 100644
--- a/libavdevice/dshow.c
+++ b
This control message can be used to programmatically ask a device to show its
configuration dialog.
Bumping avdevice version.
Signed-off-by: Diederick Niehorster
---
libavdevice/avdevice.h | 10 ++
libavdevice/version.h | 2 +-
2 files changed, 11 insertions(+), 1 deletion(-)
diff
DirectShow source will pop up its configuration dialog when
AV_APP_TO_DEV_CONFIG is received. Implementation for several other possible
configuration dialogs is more involved and will be provided in the next commit.
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow.c | 19
Cleanup in case the show_analog_tv_tuner_audio_dialog was set was missing.
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow_crossbar.c | 4
1 file changed, 4 insertions(+)
diff --git a/libavdevice/dshow_crossbar.c b/libavdevice/dshow_crossbar.c
index 2438683cde..961defe690 100644
The "show config dialog" command message can now also trigger dialog boxes for
the crossbar connecting pins filter the analog tuner audio / analog tuner
filters. _Untested_ as I do not have either device.
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow.c
No need to query twice, use value we've already unconditionally got.
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow_pin.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavdevice/dshow_pin.c b/libavdevice/dshow_pin.c
index ee0d4a1b42..8408af26da 1
GetTime may return an error indication that the sample has not timestamps, or
may return a NULL start time. In those cases, fall back to graph time
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow_pin.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a
This patch series enables using video device instead of wallclock times
for a DirectShow device. It supersedes
https://ffmpeg.org/pipermail/ffmpeg-devel/2021-June/280879.html, which i messed
up.
Diederick Niehorster (3):
avdevice/dshow: implement option to use device video timestamps
r can switch this off and revert to
the old behavior, so a fall back remains available in case the device provides
broken timestamps.
Solves trac #8620.
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow.c | 1 +
libavdevice/dshow_capture.h | 1 +
libavdevice/dshow_pin.c
No need to query twice, use value we've already unconditionally got.
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow_pin.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavdevice/dshow_pin.c b/libavdevice/dshow_pin.c
index ee0d4a1b42..8408af26da 1
GetTime may return an error indication that the sample has not timestamps, or
may return a NULL start time. In those cases, fall back to graph time
better debug message in case sample dropped: could now be audio or video frame
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow_pin.c
not permitted) instead of -22 (invalid argument).
This actually seems to apply to many other devices, at least the gdigrab, v4l2,
vfwcap, x11grab, fbdev, kmsgrab and android_camera devices, from reading the
source.
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow.c | 2 +-
1 file
not permitted) instead of -22 (invalid argument).
This actually seems to apply to many other devices, at least the gdigrab, v4l2,
vfwcap, x11grab, fbdev, kmsgrab and android_camera devices, from reading the
source.
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow.c | 2 +-
1 file
options, instead of
asking them to discover a dshow devices capabilities through the list_options
option with an ffmpeg tool, and listing what they want to configure in text
boxes.
Signed-off-by: Diederick Niehorster
---
doc/APIchanges | 4 +++
libavdevice/avdevice.c | 71
Signed-off-by: Diederick Niehorster
---
configure | 2 +
doc/examples/.gitignore| 1 +
doc/examples/Makefile | 47
doc/examples/Makefile.example | 1 +
doc/examples/device_get_capabilities.c | 151
Draw implementation in line with that of avdevice_list_devices
Signed-off-by: Diederick Niehorster
---
libavdevice/avdevice.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/libavdevice/avdevice.c b/libavdevice/avdevice.c
index 371ec17d02..2e64d35cf5 100644
--- a
Undeprecating the avdevice capabilities API and implementing it for the
dshow device. Much needed. Together with the other patches i sent, a
dshow device can now be properly used programmatically by programs using
ffmpeg under the hood.
Diederick Niehorster (4):
avdevice/avdevice: Revert
hood.
Diederick Niehorster (4):
avdevice/avdevice: Revert "Deprecate AVDevice Capabilities API"
avdevice/avdevice: clean up avdevice_capabilities_create
avdevice/dshow: implement capabilities API
examples: adding device_get_capabilities example
configure
options, instead of
asking them to discover a dshow devices capabilities through the list_options
option with an ffmpeg tool, and listing what they want to configure in text
boxes.
Signed-off-by: Diederick Niehorster
---
doc/APIchanges | 4 +++
libavdevice/avdevice.c | 71
Draw implementation in line with that of avdevice_list_devices
Signed-off-by: Diederick Niehorster
---
libavdevice/avdevice.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/libavdevice/avdevice.c b/libavdevice/avdevice.c
index 371ec17d02..2e64d35cf5 100644
--- a
This implements avdevice_capabilities_create and avdevice_capabilities_free for
the dshow device.
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow.c | 498
1 file changed, 462 insertions(+), 36 deletions(-)
diff --git a/libavdevice/dshow.c
Signed-off-by: Diederick Niehorster
---
configure | 2 +
doc/examples/.gitignore| 1 +
doc/examples/Makefile | 47
doc/examples/Makefile.example | 1 +
doc/examples/device_get_capabilities.c | 151
This implements avdevice_capabilities_create and avdevice_capabilities_free for
the dshow device.
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow.c | 498
1 file changed, 462 insertions(+), 36 deletions(-)
diff --git a/libavdevice/dshow.c
This implements avdevice_capabilities_create and avdevice_capabilities_free for
the dshow device.
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow.c | 498
1 file changed, 462 insertions(+), 36 deletions(-)
diff --git a/libavdevice/dshow.c
Signed-off-by: Diederick Niehorster
---
configure | 2 +
doc/examples/.gitignore| 1 +
doc/examples/Makefile | 47
doc/examples/Makefile.example | 1 +
doc/examples/device_get_capabilities.c | 151
Enabled discovering a DirectShow device's color range, space, primaries,
transfer characteristics and chroma location, if the device exposes that
information. Sets them in the stream's codecpars.
Signed-off-by: Diederick Niehorster
Co-authored-by: Valerii Zapodovnikov
---
libavdevi
ut of their device.
Closes: #9271
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow.c | 460
1 file changed, 332 insertions(+), 128 deletions(-)
diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index 6a7bac579a..252db47351 100644
options, instead of
asking them to discover a dshow devices capabilities through the list_options
option with an ffmpeg tool, and listing what they want to configure in text
boxes.
Signed-off-by: Diederick Niehorster
---
libavdevice/avdevice.c | 71
Draw implementation in line with that of avdevice_list_devices
Signed-off-by: Diederick Niehorster
---
libavdevice/avdevice.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/libavdevice/avdevice.c b/libavdevice/avdevice.c
index 695b9143af..d73d36e1dd 100644
--- a
NB: will break build, makes needed corresponding changes to avformat.
Signed-off-by: Diederick Niehorster
---
libavdevice/avdevice.c | 34 --
libavdevice/avdevice.h | 42 +-
libavdevice/internal.h | 33
Signed-off-by: Diederick Niehorster
---
libavformat/avformat.h | 9 -
libavformat/version.h | 2 +-
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 6fd09f52cb..12197465bc 100644
--- a/libavformat/avformat.h
+++ b
Signed-off-by: Diederick Niehorster
---
libavformat/avformat.h | 9 +
1 file changed, 9 insertions(+)
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 12197465bc..5e1e82a315 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -530,6 +530,7 @@ typedef
ugh a special value (like 0
or -1), but that is a problem (like always with special values). The is_set
field alleviates the use of special values. This will be used when implementing
the avdevice capabilities API for avdevice/dshow in a later commit
Signed-off-by: Diederick Niehorster
---
libavutil/
age will be
shown in upcoming device_get_capabilities example. av_opt_get (body changed)
still passes FATE.
Signed-off-by: Diederick Niehorster
---
libavutil/opt.c | 93 +
libavutil/opt.h | 12 +-
libavutil/version.h | 2 +-
3 files chan
Signed-off-by: Diederick Niehorster
---
libavdevice/internal.h | 31 +++
libavdevice/utils.c| 48 ++
libavdevice/version.h | 2 +-
3 files changed, 80 insertions(+), 1 deletion(-)
diff --git a/libavdevice/internal.h b
Needs to be moved up in file for upcoming implementation of
avdevice_capabilities_create.
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow.c | 40
1 file changed, 20 insertions(+), 20 deletions(-)
diff --git a/libavdevice/dshow.c b/libavdevice
their state.
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index 004b4e6154..40a492b787 100644
--- a/libavdevice/dshow.c
+++ b/libavdevice/dshow.c
@@ -272,14 +272,18
This implements avdevice_capabilities_create for the dshow device
(avdevice_capabilities_free not needed as it would be no-op).
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow.c | 384 +---
1 file changed, 365 insertions(+), 19 deletions
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow.c | 21 +++--
1 file changed, 11 insertions(+), 10 deletions(-)
diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index 082ae5f26c..c158a536d8 100644
--- a/libavdevice/dshow.c
+++ b/libavdevice/dshow.c
@@ -940,6
"", but keep current url
4. if s->priv_data has already been allocated, do not do so again.
Signed-off-by: Diederick Niehorster
---
libavformat/avformat.h | 20 +
libavformat/utils.c| 66 +++---
libavformat/version.h | 2
Signed-off-by: Diederick Niehorster
---
configure | 2 +
doc/examples/.gitignore| 1 +
doc/examples/Makefile | 1 +
doc/examples/Makefile.example | 1 +
doc/examples/device_get_capabilities.c | 192
Signed-off-by: Diederick Niehorster
---
doc/examples/Makefile | 48 +--
1 file changed, 24 insertions(+), 24 deletions(-)
diff --git a/doc/examples/Makefile b/doc/examples/Makefile
index de707bb3ca..7988ed4226 100644
--- a/doc/examples/Makefile
+++ b/doc
list_options true would crash when both a video and an audio device were
specified as input. Crash would occur on line 1618 (in this new rev) because
ctx->device_unique_name[otherDevType] would be NULL
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow.c | 6 --
1 file changed
While the capabilities API is in principle meant to be used with an allocated
format context belonging to an unopened device, small changes make it work for
an opened dshow device as well. So hereby done.
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow.c | 36
Signed-off-by: Diederick Niehorster
---
doc/indevs.texi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/doc/indevs.texi b/doc/indevs.texi
index b377924c2f..685b1357a6 100644
--- a/doc/indevs.texi
+++ b/doc/indevs.texi
@@ -611,6 +611,12 @@ Save the currently used video capture filter
not permitted) instead of -22 (invalid argument).
This actually seems to apply to many other devices, at least the gdigrab, v4l2,
vfwcap, x11grab, fbdev, kmsgrab and android_camera devices, from reading the
source.
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow.c | 2 +-
1 file
Needed to enable programmatic discovery of DirectShow devices
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow.c | 80 +
1 file changed, 73 insertions(+), 7 deletions(-)
diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index 389daa6380
The list returned by get_device_list now contains info about what media
type(s), if any, can be provided by each device.
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index
GetTime may return an error indication that the sample has not timestamps, or
may return a NULL start time. In those cases, fall back to graph time
better debug message in case sample dropped: could now be audio or video frame
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow_pin.c
this now allows to
find devices that provide both audio and video, and devices that provide
neither.
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow.c | 103 +---
1 file changed, 98 insertions(+), 5 deletions(-)
diff --git a/libavdevice/dsho
r can switch this off and revert to
the old behavior, so a fall back remains available in case the device provides
broken timestamps.
Closes: #8620
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow.c | 1 +
libavdevice/dshow_capture.h | 1 +
libavdevice/dshow_pin.c
Cleanup in case the show_analog_tv_tuner_audio_dialog was set was missing.
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow_crossbar.c | 4
1 file changed, 4 insertions(+)
diff --git a/libavdevice/dshow_crossbar.c b/libavdevice/dshow_crossbar.c
index 2438683cde..961defe690 100644
DirectShow source will pop up its configuration dialog when
AV_APP_TO_DEV_CONFIG is received. Implementation for several other possible
configuration dialogs is more involved and will be provided in the next commit.
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow.c | 26
ntext().
Diederick Niehorster (35):
avdevice/dshow: implement option to use device video timestamps
avdevice/dshow: add use_video_device_timestamps to docs
avdevice/dshow: query graph and sample time only once
avdevice/dshow: handle unknown sample time
avdevice/dshow: set no-seek flags
avd
This control message can be used to programmatically ask a device to show its
configuration dialog.
Bumping avdevice version.
Signed-off-by: Diederick Niehorster
---
libavdevice/avdevice.h | 10 ++
libavdevice/version.h | 2 +-
2 files changed, 11 insertions(+), 1 deletion(-)
diff
Control messages are useful for programmatic control of not only outdevs but
also indevs.
Bumping avformat version.
Signed-off-by: Diederick Niehorster
---
libavdevice/avdevice.c | 8 +---
libavformat/avformat.h | 6 ++
libavformat/version.h | 4 ++--
3 files changed, 13 insertions
cases. Users
should be provided with this information, so AVDeviceInfo is extended to
provide it.
Bump avdevice version
Signed-off-by: Diederick Niehorster
---
libavdevice/avdevice.c | 2 ++
libavdevice/avdevice.h | 2 ++
libavdevice/version.h | 2 +-
3 files changed, 5 insertions(+), 1
No need to query twice, use value we've already unconditionally got. Improve
variable names
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow_pin.c | 30 +-
1 file changed, 17 insertions(+), 13 deletions(-)
diff --git a/libavdevice/dshow_pin.c b/libavd
: Diederick Niehorster
---
libavdevice/dshow.c | 42 +
libavdevice/dshow_capture.h | 1 +
2 files changed, 43 insertions(+)
diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index 3e41f4f99f..9f041e90f8 100644
--- a/libavdevice/dshow.c
+++ b
The "show config dialog" command message can now also trigger dialog boxes for
the crossbar connecting pins filter the analog tuner audio / analog tuner
filters. _Untested_ as I do not have either device.
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow.c
gy (IntelĀ® SST))" is
printed incorrectly).
Signed-off-by: Diederick Niehorster
---
fftools/cmdutils.c | 41 +++--
1 file changed, 31 insertions(+), 10 deletions(-)
diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c
index 4148285971..b7018b7dab 10064
Signed-off-by: Diederick Niehorster
---
doc/indevs.texi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/doc/indevs.texi b/doc/indevs.texi
index b377924c2f..685b1357a6 100644
--- a/doc/indevs.texi
+++ b/doc/indevs.texi
@@ -611,6 +611,12 @@ Save the currently used video capture filter
not permitted) instead of -22 (invalid argument).
This actually seems to apply to many other devices, at least the gdigrab, v4l2,
vfwcap, x11grab, fbdev, kmsgrab and android_camera devices, from reading the
source.
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow.c | 2 +-
1 file
r can switch this off and revert to the old
behavior, so a fall back remains available in case the device provides
broken timestamps.
Closes: #8620
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow.c | 1 +
libavdevice/dshow_capture.h | 1 +
libavdevice/dshow_pin.c
Signed-off-by: Diederick Niehorster
---
doc/indevs.texi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/doc/indevs.texi b/doc/indevs.texi
index b377924c2f..685b1357a6 100644
--- a/doc/indevs.texi
+++ b/doc/indevs.texi
@@ -611,6 +611,12 @@ Save the currently used video capture filter
GetTime may return an error indication that the sample has not
timestamps, or may return a NULL start time. In those cases, fall back
to graph time.
Better debug message in case sample dropped: could now be audio or
video frame
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow_pin.c
not permitted)
instead of -22 (invalid argument).
This actually seems to apply to many other devices, at least the
gdigrab, v4l2, vfwcap, x11grab, fbdev, kmsgrab and android_camera
devices, from reading the source.
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow.c | 2 +-
1 file changed
Needed to enable programmatic discovery of DirectShow devices
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow.c | 80 +
1 file changed, 73 insertions(+), 7 deletions(-)
diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index 389daa6380
this now allows to find devices that provide both audio and
video, and devices that provide neither.
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow.c | 103 +---
1 file changed, 98 insertions(+), 5 deletions(-)
diff --git a/libavdevice/dsho
cases. Users should be provided with this information, so
AVDeviceInfo is extended to provide it.
Bump avdevice version
Signed-off-by: Diederick Niehorster
---
libavdevice/avdevice.c | 2 ++
libavdevice/avdevice.h | 2 ++
libavdevice/version.h | 2 +-
3 files changed, 5 insertions(+), 1 deletion
The list returned by get_device_list now contains info about what media
type(s), if any, can be provided by each device.
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index
fftools now print info about what media type(s), if any, are provided by
sink and source avdevices.
Signed-off-by: Diederick Niehorster
---
fftools/cmdutils.c | 34 --
1 file changed, 24 insertions(+), 10 deletions(-)
diff --git a/fftools/cmdutils.c b/fftools
Control messages are useful for programmatic control of not only outdevs
but also indevs.
Bumping avformat version.
Signed-off-by: Diederick Niehorster
---
libavdevice/avdevice.c | 8 +---
libavformat/avformat.h | 6 ++
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a
: Diederick Niehorster
---
libavdevice/dshow.c | 42 +
libavdevice/dshow_capture.h | 1 +
2 files changed, 43 insertions(+)
diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index 3e41f4f99f..9f041e90f8 100644
--- a/libavdevice/dshow.c
+++ b/libavdevice
This control message can be used to programmatically ask a device to
show one of its configuration dialogs.
Adding documentation of this message's int argument.
Bumping avdevice version.
Signed-off-by: Diederick Niehorster
---
doc/indevs.texi
DirectShow source will pop up its configuration dialog when
AV_APP_TO_DEV_CONFIG is received. Implementation for several other
possible configuration dialogs is more involved and will be provided in
the next commit.
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow.c | 29
Cleanup was missing for when the show_analog_tv_tuner_audio_dialog is
true.
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow_crossbar.c | 4
1 file changed, 4 insertions(+)
diff --git a/libavdevice/dshow_crossbar.c b/libavdevice/dshow_crossbar.c
index 2438683cde..961defe690
The "show config dialog" command message can now also trigger dialog
boxes for the crossbar connecting pins filter the analog tuner
audio / analog tuner filters. _Untested_ as I do not have either device.
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow.c
Enabled discovering a DirectShow device's color range, space, primaries,
transfer characteristics and chroma location, if the device exposes that
information. Sets them in the stream's codecpars.
Signed-off-by: Diederick Niehorster
Co-authored-by: Valerii Zapodovnikov
Signed-off-by:
their device.
Closes: #9271
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow.c | 460
1 file changed, 332 insertions(+), 128 deletions(-)
diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index b3fcd9444e..34c7b63220 100644
--- a/libavd
This reverts commit 4f49ca7bbc75a9db4cdf93f27f95a668c751f160. The next
few patches clean up the API and implement this capability for
avdevice/dshow.
Signed-off-by: Diederick Niehorster
---
libavdevice/avdevice.c | 71 ++
libavdevice/avdevice.h | 5
Draw implementation in line with that of avdevice_list_devices
Signed-off-by: Diederick Niehorster
---
libavdevice/avdevice.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/libavdevice/avdevice.c b/libavdevice/avdevice.c
index 695b9143af..e66906e91b 100644
--- a
of the avdevices, so in principle it is
important that this patchset adds the ability to create an allocated but
unopened AVFormatContext+AVInputFormat with the new function
avformat_alloc_input_context().
Diederick Niehorster (33):
avdevice/dshow: implement option to use device video timestamps
Signed-off-by: Diederick Niehorster
---
libavdevice/avdevice.c | 2 +-
libavdevice/avdevice.h | 28 +---
libavdevice/internal.h | 33 +
libavdevice/version.h | 2 +-
4 files changed, 36 insertions(+), 29 deletions(-)
diff --git a
solution. Documenting that an invalid range
means value not available allows communicating this situation without
adding a field to the AVOptionRange struct.
Signed-off-by: Diederick Niehorster
---
libavutil/opt.c | 2 +-
libavutil/opt.h | 5 +
2 files changed, 6 insertions(+), 1 deletion(-)
diff
age will be shown in upcoming device_get_capabilities example.
av_opt_get (body changed) still passes FATE.
Signed-off-by: Diederick Niehorster
---
libavutil/opt.c | 81 +
libavutil/opt.h | 17 +-
libavutil/version.h | 2 +-
3 files chan
Signed-off-by: Diederick Niehorster
---
libavdevice/internal.h | 31 +++
libavdevice/utils.c| 48 ++
libavdevice/version.h | 2 +-
3 files changed, 80 insertions(+), 1 deletion(-)
diff --git a/libavdevice/internal.h b
Needs to be moved up in file for upcoming implementation of
avdevice_capabilities_create.
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow.c | 40
1 file changed, 20 insertions(+), 20 deletions(-)
diff --git a/libavdevice/dshow.c b/libavdevice
their state after cleanup.
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index 4605bd6f8e..20f58aee63 100644
--- a/libavdevice/dshow.c
+++ b/libavdevice/dshow.c
@@ -291,14
options, instead of asking them to discover a
dshow device's capabilities through the list_options option with an
FFmpeg tool, and listing what they want to configure in dumb text boxes.
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow.c | 377 +-
Signed-off-by: Diederick Niehorster
---
libavdevice/dshow.c | 21 +++--
1 file changed, 11 insertions(+), 10 deletions(-)
diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index 73113acddd..92cfaa062d 100644
--- a/libavdevice/dshow.c
+++ b/libavdevice/dshow.c
@@ -959,6
t s->url to "", but keep current url
4. if s->priv_data has already been allocated, do not do so again.
4b. do reset options to default and apply provided options (if any)
5. add 4b to docs of avformat_open_input
Bumping avformat version.
Signed-off-by: Diederick Nieh
Signed-off-by: Diederick Niehorster
---
configure | 2 +
doc/examples/.gitignore| 1 +
doc/examples/Makefile | 1 +
doc/examples/Makefile.example | 1 +
doc/examples/device_get_capabilities.c | 190
1 - 100 of 253 matches
Mail list logo