Stuff those bytes

Monday, September 21st, 2009

When writing transport stream packets to a file, don’t forget to add all 0xFF in the unused space at the end of the packet. This is very important, otherwise software like VLC will think that a new packet is starting early and get confused.

(more…)

CRC32 on MPEG2 section data

Wednesday, September 16th, 2009

I’ve been digging around some other projects, and found this algorithm for calculating the checksum on section data in an MPEG2 transport stream.

(more…)

My DVB USB stick

Monday, September 14th, 2009

The USB DVB stick I am using is a Freecom. It works, when plugged into the house aerial.

I don’t know if it’s the driver, or a hardware fault. But I don’t get transport packets until the USB transfer buffer is full.

(more…)

Linux DVB demux slow

Saturday, September 12th, 2009

DVB on Linux has a great API, but with the state of documentation, it’s slow progress writing against it.

(more…)

DVB Transport Streams

Friday, September 11th, 2009

I am working on a project that needs to receive over the air DVB data (FreeView, Sky etc), and interpret the stream, to find a channel and record it to disk.

(more…)