There is no easy answer to your question. I started one such project and found that I know very little about it, so here is a little something from my research.
First, you need to understand that a dvb-t tuner card or stick does not produce video frames in the classical sense, but decoding is performed on a PC, on a processor. An external card will provide you only compressed data, since it extracts them from the air.
Next - the data that will be delivered to you will be in MPEG2 or MPEG4 Transport Stream format. This is suitable for streaming or broadcasting, and not for saving files. VLC can play back TSs recorded to a file, but in order to record a proper video file you need to either transcode the file or repackage it in Program Stream. Google is a little, you will find the differences.
Larger - one frequency on the air consists of many channels, and this channel packaging is called "flour". So - from the BDA tuner / hijacker you will get ALL the data and you will have to manually deduce it or let the BDA demultiplexer do it for you.
I hope that there is enough information to get you started, I can publish interesting links for you when I get to the real keyboard.
Daniel Mošmondor
source share