🍌
C++ Feed
@cpp_aggregator
306
subscribers
218
photos
12.7K
links
Агрегатор всего подряд про C++.
Для связи:
@smertig
Powered by
https://github.com/Smertig/banana
Download Telegram
Join
🍌
C++ Feed
306 subscribers
🍌
C++ Feed
Standard C++ (Twitter)
Twitter
Standard C++
2019-11 post-Belfast mailing available https://t.co/IOC7ls1uEu #cpp
🍌
C++ Feed
C++ News Bot (Twitter)
Twitter
C++ News Bot
SO post of the day: "Certainly naive, but I do not understand why this compiles?" #cpp #most_vexing_parse https://t.co/P0bPImqkJi
🍌
C++ Feed
Meeting C++ (Twitter)
Twitter
Meeting C++
Wt & JWt 3.5.0 and Wt 4.2.0 released https://t.co/iY1Vdi2Qy1 #cpp #cplusplus
🍌
C++ Feed
Meeting C++ (Twitter)
Twitter
Meeting C++
Took a day of coding, half a day of fighting with opencv and half a day of fine tuning, but the first beta version of the video tool thought about building, is ready...
🍌
C++ Feed
Meeting C++ (Twitter)
Twitter
Meeting C++
Was a lot of fun, writing the tasks doing the reading, processing and writing of the video gave me some insights. Will blog on some of the details and code later.
🍌
C++ Feed
Meeting C++ (Twitter)
Twitter
Meeting C++
Once the Application was build, I did find out that reading and writing videos with OpenCV is not as easy as the API makes you think. But cv::getBuildInformation() lets you print what opencv actually build with and this does not have to match your config.
🍌
C++ Feed
Meeting C++ (Twitter)
Twitter
Meeting C++
CMake WITH_FFMPEG does only work if the libraries are installed in the -dev version. Otherwise OpenCV is build without, and you'll not be able to read/write video formats like mp4. GStreamer plugin is another route to go, but I did not try this yet.
🍌
C++ Feed
Meeting C++ (Twitter)
Twitter
Meeting C++
Then, when reading or writing video, pin it to the OpenCV ffmpeg API: cv::VideoCapture cap(path, cv::CAP_FFMPEG); Especially writing only worked when pinned to the API.
🍌
C++ Feed
Meeting C++ (Twitter)
Twitter
Meeting C++
Reading, Writing and the processing is done as tasks in a QThreadPool. But to not stall the system with lots of processing tasks, the reading thread has to sleep for a few 100 ms to not stall the system and choke everything in video frame memory. Video frames…
🍌
C++ Feed
Meeting C++ (Twitter)
Twitter
Meeting C++
I could reuse my dlib based code for face detection and its pool template could be adapted to also work with the QObject based processing task: https://t.co/XYJJzJFgYA
🍌
C++ Feed
Meeting C++ (Twitter)
Twitter
Meeting C++
Setup and teardown routines in non-flat class hierarchies https://t.co/xlyyfeD7KU #cpp #cplusplus
🍌
C++ Feed
Meeting C++ (Twitter)
Twitter
Meeting C++
One thing I'm wondering about, is it better to keep a large allocation, and not allocate memory for the subframe, or is it better to free the large allocation and copy the subframe into a new allocation.
🍌
C++ Feed
Meeting C++ (Twitter)
Twitter
QtDay
📢
The CFP session for QtDay 2020 is open! Submit your proposal for a talk or a workshop to be held at QtDay 2020, the unique Italian conference about Qt! https://t.co/Z8plvLq8Xk
🍌
C++ Feed
Meeting C++ (Twitter)
Twitter
Meeting C++
Some context from an earlier thread https://t.co/CX3rj6B8FB
🍌
C++ Feed
Meeting C++ (Twitter)
Twitter
Jonathan Müller
Informal poll, because I'm curious: To those of you who are not using exceptions in C++, what is the main reason? RTs appreciated.
🍌
C++ Feed
Meeting C++ (Twitter)
Twitter
Meeting C++
StockholmCpp in 2019 https://t.co/9t6kZuxKR1 #cpp #cplusplus
🍌
C++ Feed
Meeting C++ (Twitter)
Twitter
Meeting C++
2019-11 post-Belfast mailing available https://t.co/vM73M1deRG #cpp #cplusplus
🍌
C++ Feed
Meeting C++ (Twitter)
Twitter
Qt
🔔
Reminder to the Qt community in the #Netherlands; A complimentary #MeetQt event is taking place in #Amsterdam next week. More about the agenda and how to register can be found here: https://t.co/eezPc30hOx #DutchDevelopers #QtDev #LearnQt #QML #UIDesign…
🍌
C++ Feed
Meeting Cpp (Youtube)
YouTube
Overload - Frances Buontempo - Meeting C++ 2019 Secret Lightning Talks
Overload - Frances Buontempo - Meeting C++ 2019 Secret Lightning Talks ACCU Overload magazine https://accu.org/index.php/journals/c78/
🍌
C++ Feed
Meeting C++ (Twitter)
Twitter
Meeting C++
A plug for the @AccuOrg Overload by @fbuontempo - Meeting C++ 2019 Secret Lightning Talks https://t.co/A9eRSNMlFX #cpp #cplusplus
🍌
C++ Feed
Standard C++ (Twitter)
Twitter
Standard C++
A new Pluralsight course is live: C++ 17: Beyond the Basics--Kate Gregory https://t.co/X6A2gK3lTM #cpp