fflewddur / tivolibre

Java app and library for decoding TiVo files to standard MPEG files.
GNU General Public License v3.0
34 stars 4 forks source link

Unsupported packet type: RESERVED2 #22

Open ewtaylo opened 7 years ago

ewtaylo commented 7 years ago

After downloading programs from CNBC to the computer, tivolibre is failing to decode them. Here is the output from such a run:

java -jar TivoDecoder.jar -d -i Fast* -o eric.mpg -m XXXXXXXXXX dir = 'null', file = 'eric.mpg' Header: TivoStreamHeader{ fileType=TiVo (54:69:56:6F), mpegOffset=0x3400, numChunks=3} Chunk 0: TivoStreamChunk{chunkSize=1140, id=3, type=PLAINTEXT} Chunk 1: TivoStreamChunk{chunkSize=4768, id=1, type=ENCRYPTED} Chunk 2: TivoStreamChunk{chunkSize=5640, id=2, type=ENCRYPTED} File format: TRANSPORT_STREAM Starting TS processing at position 13312 Creating a new stream for PMT PID 0x0064 Creating a new VIDEO stream for PID 0x0011 (type=0x1b) Creating a new AUDIO stream for PID 0x0014 (type=0x81) Creating a new PRIVATE_DATA stream for PID 0x0015 (type=0x97) Unsupported packet type: RESERVED2 Closing CountingDataInputStream. Final read position: 13876

A good run looks like: java -jar TivoDecoder.jar -d -i The* -o eric.mpg -m XXXXXXXXXX dir = 'null', file = 'eric.mpg' Header: TivoStreamHeader{ fileType=TiVo (54:69:56:6F), mpegOffset=0x5400, numChunks=3} Chunk 0: TivoStreamChunk{chunkSize=1140, id=3, type=PLAINTEXT} Chunk 1: TivoStreamChunk{chunkSize=9012, id=1, type=ENCRYPTED} Chunk 2: TivoStreamChunk{chunkSize=9888, id=2, type=ENCRYPTED} File format: TRANSPORT_STREAM Starting TS processing at position 21504 Creating a new stream for PMT PID 0x0064 Creating a new VIDEO stream for PID 0x1291 (type=0x02) Creating a new AUDIO stream for PID 0x1294 (type=0x81) Creating a new PRIVATE_DATA stream for PID 0x1296 (type=0x97) PacketId: 100,000 Type: AUDIO_VIDEO_PRIVATE_DATA PID: 0x1291 Position after read ing: 18,821,504 PacketId: 200,000 Type: AUDIO_VIDEO_PRIVATE_DATA PID: 0x1291 Position after read ing: 37,621,504 PacketId: 300,000 Type: AUDIO_VIDEO_PRIVATE_DATA PID: 0x1291 Position after read ing: 56,421,504 PacketId: 400,000 Type: AUDIO_VIDEO_PRIVATE_DATA PID: 0x1291 Position after read ing: 75,221,504 . . .