[gst-devel] Recording TS from a DVB card
Tony Houghton
h at realh.co.uk
Mon Jan 3 20:32:30 CET 2011
[Apologies if you get more than one copy, my first attempt hasn't appeared]
I want to record MPEG TS streams from my DVB cards to disc. I want to be
able to record more than one thing at a time from a single dvr device so
so far I've written code to save packets to a buffer and use callback
functions to selectively notify "clients" which have registered their
interest in packets with certain pids.
I want to sound out GStreamer's capabilities in this area to see whether
it's the best thing to handle the dumping of the partial streams to
disc. AIUI recorded TS files should start with a PAT and PMT and the
first video frame should be an I-frame. Although writing my own code to
handle that shouldn't be difficult, does GStreamer already have code to
make that easy?
The main reason I'm considering GStreamer is because I also want to add
live streaming at some point and using gst's RTSP extension will
probably be the most sensible way to achieve that. But I want the
ability to "rewind" as well as pause live TV, and then be able to seek
forwards to catch up. Can GStreamer already do all that, seamlessly
handling the changeover between disk and memory, or should I write my
own code for it and wrap it in a gst source plugin for RTSP streaming?
--
TH * http://www.realh.co.uk
More information about the gstreamer-devel
mailing list