dlib/examples
pfeatherstone 937e07e90d
FFmpeg : encoding (#2754)
* docs

* callbacks for encoder

* shorter video

* shorter video

* added is_byte type trait

* leave muxer for next PR

* added overloads for set_layout() and get_layout() in details namespace

* unit test

* example

* build

* overloads for ffmpeg < 5

* Update examples/ffmpeg_video_encoding_ex.cpp

Co-authored-by: Adrià Arrufat <1671644+arrufat@users.noreply.github.com>

* Update dlib/media/ffmpeg_abstract.h

Co-authored-by: Davis E. King <davis685@gmail.com>

* Update dlib/media/ffmpeg_abstract.h

Co-authored-by: Davis E. King <davis685@gmail.com>

* Update dlib/media/ffmpeg_abstract.h

Co-authored-by: Davis E. King <davis685@gmail.com>

* Update dlib/media/ffmpeg_abstract.h

Co-authored-by: Davis E. King <davis685@gmail.com>

* Update dlib/media/ffmpeg_abstract.h

Co-authored-by: Davis E. King <davis685@gmail.com>

* as per suggestion

* remove requires clause

* Update examples/ffmpeg_video_encoding_ex.cpp

Co-authored-by: Davis E. King <davis685@gmail.com>

* Update dlib/media/ffmpeg_abstract.h

Co-authored-by: Davis E. King <davis685@gmail.com>

* Update dlib/media/ffmpeg_abstract.h

Co-authored-by: Davis E. King <davis685@gmail.com>

* Update dlib/media/ffmpeg_abstract.h

Co-authored-by: Davis E. King <davis685@gmail.com>

* Update dlib/media/ffmpeg_muxer.h

Co-authored-by: Davis E. King <davis685@gmail.com>

* use dlib::logger

* oops

* Update dlib/media/ffmpeg_muxer.h

Co-authored-by: Davis E. King <davis685@gmail.com>

* Update dlib/media/ffmpeg_demuxer.h

* Update dlib/media/ffmpeg_demuxer.h

* Update dlib/media/ffmpeg_abstract.h

---------

Co-authored-by: pf <pf@me>
Co-authored-by: Davis E. King <davis685@gmail.com>
Co-authored-by: Adrià Arrufat <1671644+arrufat@users.noreply.github.com>
2023-04-01 09:48:26 -04:00
..
faces YOLO loss (#2376) 2021-07-29 20:05:54 -04:00
johns Finished the more complex metric learning example and added some example data. 2016-12-17 20:41:36 -05:00
video_frames Added an example for the correlation_tracker 2015-02-03 14:01:37 -05:00
3d_point_cloud_ex.cpp cleaned up examples 2015-03-22 19:33:17 -04:00
CMakeLists.txt FFmpeg : encoding (#2754) 2023-04-01 09:48:26 -04:00
LICENSE_FOR_EXAMPLE_PROGRAMS.txt Added licensing comments to the example programs. 2009-02-17 01:45:57 +00:00
assignment_learning_ex.cpp Fixed some grammar and added a note about the bias term. 2015-01-05 17:39:37 -05:00
bayes_net_ex.cpp Fixing grammar in comments. 2014-02-22 16:07:17 -05:00
bayes_net_from_disk_ex.cpp Fixing grammar in comments. 2014-02-22 16:07:17 -05:00
bayes_net_gui_ex.cpp Migrate from dlib::scoped_ptr to std::unique_ptr (#593) 2017-05-14 19:52:34 -04:00
bridge_ex.cpp Fixing grammar in comments. 2014-02-22 16:07:17 -05:00
bsp_ex.cpp fixed grammar 2014-01-12 10:15:46 -05:00
compress_stream_ex.cpp Added a discussion of the parser's set_group_name() method. 2012-12-12 21:01:05 -05:00
config.txt Added an example showing how to use the config_reader. 2009-05-30 18:01:38 +00:00
config_reader_ex.cpp Fixing grammar in comments. 2014-02-22 16:07:17 -05:00
custom_trainer_ex.cpp Made the examples use the new simplified file serialization API. 2014-05-08 21:07:56 -04:00
dir_nav_ex.cpp updated example 2013-06-16 12:07:32 -04:00
dnn_dcgan_train_ex.cpp Rename function to disable_duplicative_biases (#2246) 2020-11-24 22:07:04 -05:00
dnn_face_recognition_ex.cpp Changed graph construction for chinese_whispers() so that each face is always 2017-10-27 19:29:52 -04:00
dnn_imagenet_ex.cpp Evgeniy Fominov's changes that avoid compiler bugs in Visual Studio. 2016-10-08 14:27:34 -04:00
dnn_imagenet_train_ex.cpp Evgeniy Fominov's changes that avoid compiler bugs in Visual Studio. 2016-10-08 14:27:34 -04:00
dnn_inception_ex.cpp Update dnn_inception_ex.cpp (#2256) 2020-12-09 07:37:45 -05:00
dnn_instance_segmentation_ex.cpp Add webp support (#2565) 2022-04-19 07:52:12 -04:00
dnn_instance_segmentation_ex.h Add new loss layer for binary loss per pixel (#1976) 2020-01-20 07:47:47 -05:00
dnn_instance_segmentation_train_ex.cpp Treat warnings as errors (#2490) 2022-04-12 18:53:52 -04:00
dnn_introduction2_ex.cpp Changed the location of the set_synchronization_file() call so that rerunning 2017-05-07 19:11:52 -04:00
dnn_introduction3_ex.cpp Made the DNN layer visiting routines more convenient. 2020-09-05 18:33:04 -04:00
dnn_introduction_ex.cpp Update dnn_introduction_ex.cpp (#2066) 2020-04-22 07:37:58 -04:00
dnn_metric_learning_ex.cpp Improved example 2016-12-17 16:46:39 -05:00
dnn_metric_learning_on_images_ex.cpp Made the metric learning example do image jittering. 2017-10-24 21:13:02 -04:00
dnn_mmod_dog_hipsterizer.cpp Updated comments to reflect recent API changes. 2017-11-02 05:43:15 -04:00
dnn_mmod_ex.cpp fix receptive field comment (#2070) 2020-04-27 06:02:26 -04:00
dnn_mmod_face_detection_ex.cpp Updated comments to reflect recent API changes. 2017-11-02 05:43:15 -04:00
dnn_mmod_find_cars2_ex.cpp Update dnn_mmod_find_cars2_ex.cpp (#966) 2017-11-17 06:38:48 -05:00
dnn_mmod_find_cars_ex.cpp Clarified comments 2017-09-16 15:35:37 -04:00
dnn_mmod_train_find_cars_ex.cpp fix typo in train find cars example (#1028) 2017-12-25 07:56:42 -05:00
dnn_self_supervised_learning_ex.cpp Improve the data augmentation in the SSL example (#2684) 2022-11-09 22:07:00 -05:00
dnn_semantic_segmentation_ex.cpp Add U-net style skip connections to the semantic-segmentation example (#1600) 2019-01-06 09:11:39 -05:00
dnn_semantic_segmentation_ex.h Instance segmentation (#1918) 2019-11-14 22:53:16 -05:00
dnn_semantic_segmentation_train_ex.cpp Instance segmentation (#1918) 2019-11-14 22:53:16 -05:00
dnn_yolo_train_ex.cpp Add support for fused convolutions (#2294) 2021-10-11 10:48:56 -04:00
empirical_kernel_map_ex.cpp Fixing grammar in comments. 2014-02-22 16:07:17 -05:00
face_detection_ex.cpp clarified examples 2014-01-11 22:40:43 -05:00
face_landmark_detection_ex.cpp Fixed grammar 2017-09-15 19:57:16 -04:00
ffmpeg_info_ex.cpp FFMPEG : misc + ffmpeg5 support (#2746) 2023-03-29 22:12:47 -04:00
ffmpeg_screen_grab_ex.cpp Rename ffmpeg examples (#2727) 2023-02-10 22:03:25 -05:00
ffmpeg_video_decoding_ex.cpp Fix for #2729 (#2731) 2023-02-20 20:01:13 -05:00
ffmpeg_video_demuxing_ex.cpp Rename ffmpeg examples (#2727) 2023-02-10 22:03:25 -05:00
ffmpeg_video_encoding_ex.cpp FFmpeg : encoding (#2754) 2023-04-01 09:48:26 -04:00
ffmpeg_webcam_face_pose_ex.cpp FFMPEG : misc + ffmpeg5 support (#2746) 2023-03-29 22:12:47 -04:00
fhog_ex.cpp Fixing grammar in comments. 2014-02-22 16:07:17 -05:00
fhog_object_detector_ex.cpp Updated example to use evaluate_detectors() 2014-05-26 18:46:35 -04:00
file_to_code_ex.cpp All I did in this change was switch from using #include "" syntax 2012-12-08 09:32:13 -05:00
graph_labeling_ex.cpp Fixing grammar in comments. 2014-02-22 16:07:17 -05:00
gui_api_ex.cpp Fixing grammar in comments. 2014-02-22 16:07:17 -05:00
hough_transform_ex.cpp Added an example program for the new hough_transform object. 2014-12-09 17:40:19 -05:00
image_ex.cpp Added example of accessing individual pixels 2014-12-09 08:08:02 -05:00
integrate_function_adapt_simp_ex.cpp Removed non-standard header which wasn't compiling in visual studio 2005 2013-06-03 07:03:02 -04:00
iosockstream_ex.cpp Fixing grammar in comments. 2014-02-22 16:07:17 -05:00
kcentroid_ex.cpp Fixing grammar in comments. 2014-02-22 16:07:17 -05:00
kkmeans_ex.cpp Added spectral_cluster() example 2015-02-11 07:55:42 -05:00
krls_ex.cpp Made the examples use the new simplified file serialization API. 2014-05-08 21:07:56 -04:00
krls_filter_ex.cpp Fixing grammar in comments. 2014-02-22 16:07:17 -05:00
krr_classification_ex.cpp Made the examples use the new simplified file serialization API. 2014-05-08 21:07:56 -04:00
krr_regression_ex.cpp Made the examples use the new simplified file serialization API. 2014-05-08 21:07:56 -04:00
learning_to_track_ex.cpp Made the examples use the new simplified file serialization API. 2014-05-08 21:07:56 -04:00
least_squares_ex.cpp Fixing grammar in comments. 2014-02-22 16:07:17 -05:00
linear_manifold_regularizer_ex.cpp Fixing grammar in comments. 2014-02-22 16:07:17 -05:00
logger_custom_output_ex.cpp Added an example program showing how to setup a logger hook 2014-04-26 17:32:06 -04:00
logger_ex.cpp All I did in this change was switch from using #include "" syntax 2012-12-08 09:32:13 -05:00
logger_ex_2.cpp Fixed minor typos 2014-04-26 19:56:18 -04:00
matrix_ex.cpp fixing grammar 2019-07-27 09:03:14 -04:00
matrix_expressions_ex.cpp fixing grammar 2019-07-27 09:03:14 -04:00
max_cost_assignment_ex.cpp Added max cost assignment example program 2014-12-07 12:11:13 -05:00
member_function_pointer_ex.cpp All I did in this change was switch from using #include "" syntax 2012-12-08 09:32:13 -05:00
mlp_ex.cpp Fixing grammar in comments. 2014-02-22 16:07:17 -05:00
mmod_cars_test_image.jpg Added two vehicle detection examples. 2017-08-26 17:13:47 -04:00
mmod_cars_test_image2.jpg Added another car finding example 2017-09-16 15:35:58 -04:00
model_selection_ex.cpp Minor update 2017-12-18 16:20:21 -05:00
mpc_ex.cpp fleshed out this example with comments 2015-06-02 17:47:46 -04:00
multiclass_classification_ex.cpp Made the examples use the new simplified file serialization API. 2014-05-08 21:07:56 -04:00
multithreaded_object_ex.cpp All I did in this change was switch from using #include "" syntax 2012-12-08 09:32:13 -05:00
object_detector_advanced_ex.cpp Treat warnings as errors (#2490) 2022-04-12 18:53:52 -04:00
object_detector_ex.cpp Made the examples use the new simplified file serialization API. 2014-05-08 21:07:56 -04:00
one_class_classifiers_ex.cpp Fixing grammar in comments. 2014-02-22 16:07:17 -05:00
optimization_ex.cpp use a time based exeuction limit in example 2019-11-28 10:48:02 -05:00
parallel_for_ex.cpp Simplified example to show only the C++11 version of the code. 2016-08-30 14:58:38 -04:00
pascal_voc_2012.h Missing include for `dlib::loss_multiclass_log_per_pixel_` (#2432) 2021-09-15 08:27:24 -04:00
pipe_ex.cpp All I did in this change was switch from using #include "" syntax 2012-12-08 09:32:13 -05:00
pipe_ex_2.cpp All I did in this change was switch from using #include "" syntax 2012-12-08 09:32:13 -05:00
quantum_computing_ex.cpp Fixing grammar in comments. 2014-02-22 16:07:17 -05:00
queue_ex.cpp All I did in this change was switch from using #include "" syntax 2012-12-08 09:32:13 -05:00
random_cropper_ex.cpp Changed the random_cropper's set_min_object_size() routine to take min box 2017-10-24 22:10:02 -04:00
rank_features_ex.cpp Fixing grammar in comments. 2014-02-22 16:07:17 -05:00
resnet.h simplify resnet definition by reusing struct template parameter (#2010) 2020-03-09 21:21:04 -04:00
running_stats_ex.cpp Removed unneeded #include 2013-03-17 14:00:50 -04:00
rvm_ex.cpp Made the examples use the new simplified file serialization API. 2014-05-08 21:07:56 -04:00
rvm_regression_ex.cpp Made the examples use the new simplified file serialization API. 2014-05-08 21:07:56 -04:00
sequence_labeler_ex.cpp Made the examples use the new simplified file serialization API. 2014-05-08 21:07:56 -04:00
sequence_segmenter_ex.cpp Made the examples use the new simplified file serialization API. 2014-05-08 21:07:56 -04:00
server_http_ex.cpp Fixed incorrect type used for iterator in example program. 2013-08-10 09:21:01 -04:00
server_iostream_ex.cpp Treat warnings as errors (#2490) 2022-04-12 18:53:52 -04:00
sockets_ex.cpp All I did in this change was switch from using #include "" syntax 2012-12-08 09:32:13 -05:00
sockstreambuf_ex.cpp Migrate from dlib::scoped_ptr to std::unique_ptr (#593) 2017-05-14 19:52:34 -04:00
sqlite_ex.cpp added a SQLite example program 2015-01-29 20:53:01 -05:00
std_allocator_ex.cpp All I did in this change was switch from using #include "" syntax 2012-12-08 09:32:13 -05:00
surf_ex.cpp simplified SURF example program 2013-03-03 17:25:10 -05:00
svm_c_ex.cpp Added an example for svm_c_trainer. 2014-12-09 18:13:45 -05:00
svm_ex.cpp Made the examples use the new simplified file serialization API. 2014-05-08 21:07:56 -04:00
svm_pegasos_ex.cpp Fixing grammar in comments. 2014-02-22 16:07:17 -05:00
svm_rank_ex.cpp Fixing grammar in comments. 2014-02-22 16:07:17 -05:00
svm_sparse_ex.cpp Fixing grammar in comments. 2014-02-22 16:07:17 -05:00
svm_struct_ex.cpp Fixing grammar in comments. 2014-02-22 16:07:17 -05:00
svr_ex.cpp All I did in this change was switch from using #include "" syntax 2012-12-08 09:32:13 -05:00
thread_function_ex.cpp All I did in this change was switch from using #include "" syntax 2012-12-08 09:32:13 -05:00
thread_pool_ex.cpp Made thread_pool and parallel_for propagate exceptions from task threads to 2016-08-30 14:44:46 -04:00
threaded_object_ex.cpp All I did in this change was switch from using #include "" syntax 2012-12-08 09:32:13 -05:00
threads_ex.cpp Renamed something to avoid name clash with standard library. 2016-07-22 16:22:57 -04:00
timer_ex.cpp All I did in this change was switch from using #include "" syntax 2012-12-08 09:32:13 -05:00
train_object_detector.cpp fixed typo in example 2016-08-24 06:56:35 -04:00
train_shape_predictor_ex.cpp Fixed spelling error in comment 2016-09-30 23:09:03 -04:00
using_custom_kernels_ex.cpp Fixing grammar in comments. 2014-02-22 16:07:17 -05:00
video_tracking_ex.cpp Added comments 2015-02-03 15:33:11 -05:00
webcam_face_pose_ex.cpp Update webcam_face_pose_ex.cpp (#702) 2017-07-11 14:11:06 -04:00
xml_parser_ex.cpp All I did in this change was switch from using #include "" syntax 2012-12-08 09:32:13 -05:00