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

Any suggestions for corrupted streams #23

Open Francisco-DAnconia opened 7 years ago

Francisco-DAnconia commented 7 years ago

I cannont decrypt one of my shows. It plays fine on the tivo but tivolibre results in "first part of the file is not valid" as opened by MPEG Streamclip. TivoDecoder outputs the following in debug mode (it happens a few times):

Invalid TS packet header for packet 14441208
TransportStream appears to be corrupt, cannot find sync bytes
Starting value for resumeDecryptionAtByte: 0xa1d348c4
Resume decryption at: 0xa4800000
Re-synched at packet 14441209 (byte 0xa1d348c4)
PacketId: 14,500,000 Type: AUDIO_VIDEO_PRIVATE_DATA PID: 0x0eb5 Position after reading: 2,726,041,636
PacketId: 14,600,000 Type: AUDIO_VIDEO_PRIVATE_DATA PID: 0x0eb5 Position after reading: 2,744,841,636
Found a valid TS header at 0xa4600000, pid=0x02c6, checking next frame
Masking byte at 0xa46000bc
Resuming decryption at 0xa4800000, bytesWritten = 0xa4800000

Any suggestions on how to decrypt this show or other tools that might work?