mirror of https://github.com/davisking/dlib.git
master
matlab_wrapper_ci
faster_mat_assign
update_github_actions_ubuntu_image
before_dnn_serialization_cleanup
v17.39
v17.40
v17.41
v17.42
v17.43
v17.44
v17.45
v17.46
v17.47
v17.48
v17.49
v18.0
v18.1
v18.10
v18.11
v18.12
v18.13
v18.14
v18.15
v18.16
v18.17
v18.18
v18.2
v18.3
v18.4
v18.5
v18.6
v18.7
v18.8
v18.9
v19.0
v19.1
v19.10
v19.11
v19.12
v19.13
v19.14
v19.15
v19.16
v19.17
v19.18
v19.19
v19.2
v19.20
v19.21
v19.22
v19.23
v19.24
v19.24.2
v19.24.3
v19.24.4
v19.24.5
v19.24.6
v19.3
v19.4
v19.5
v19.6
v19.7
v19.8
v19.9
${ noResults }
2 Commits (master)
Author | SHA1 | Message | Date |
---|---|---|---|
pfeatherstone |
decdef12f5
|
[FFmpeg] decoding and demuxing improvements (#2784)
* typo * - added compile time information to audio object. Not convinced this is needed actually. I'm perfectly happy just using the ffmpeg::frame object. I'm pretty sure I'm the only user who cares about audio. - created resizing_args and resampling_args * smaller videos for unit tests * shorter videos for unit tests * - decoder and demuxer: you now resize or resample at the time of read. therefore you don't set resizing or resampling parameters in constructor, but you pass them to read() - added templated read() function - simplified load_frame() * inherit from resizing_args and resampling_args * reorganised the tests to segragate decoding, demuxing, encoding and muxing as much as possible * much more basic example * demxing examples split * examples * fixing examples * wip * Fix load_frame() * added frame - specific tests * - makes sense to have a set_params() method rather than constructing a new object and moving. I mean, it works and it absolutely does the right thing, and in fact the same thing as calling set_params() now, but it can look a bit weird. * notes on defaults and good pairings * Update ffmpeg_demuxer.h Watch out for `DLIB_ASSERT` statements. Maybe one of the unit tests should build with asserts enabled. * Update ffmpeg_details.h * Update ffmpeg_muxer.h * WIP * WIP * - simplified details::resizer - added frame::set_params() - added frame::clear() - forward packet directly into correct queue * pick best codec if not specified * added image data * warn when we're choosing an appropriate codec * test load_frame() * - for some reason, you sometimes get warning messages about too many b-frames. Resetting pict_type suppresses this. - you can move freshly decoded frames directly out. * callback passed to push() * I think it's prettier this way * WIP * full callback API for decoder * updated tests * updated example * check the template parameter is callable and has 1 argument first before getting it's first argument * Potential bug fix * - write out the enable_if's explictly. It's fine. I think it's clear what's going on if someone cares - guard push() with a boolean which asserts when recursion is detected * pre-conditions on callbacks: no recursion --------- Co-authored-by: pf <pf@me> Co-authored-by: Your name <you@example.com> |
1 year ago |
pfeatherstone |
7155daeeea
|
FFmpeg : muxing (#2755)
* muxing * Add HSV support (#2758) * Add HSV support * Add tests * Update dlib/pixel.h Co-authored-by: Adrià Arrufat <1671644+arrufat@users.noreply.github.com> * Add HSV struct and make more things const --------- Co-authored-by: Davis E. King <davis685@gmail.com> * Fix imglab changing the current dir too soon (#2761) * A bit of cleanup --------- Co-authored-by: pf <pf@me> Co-authored-by: Adrià Arrufat <1671644+arrufat@users.noreply.github.com> Co-authored-by: Davis E. King <davis685@gmail.com> Co-authored-by: Davis King <davis@dlib.net> |
1 year ago |