fsphil / hacktv

Analogue TV transmitter for the HackRF
GNU General Public License v3.0
713 stars 84 forks source link

Scrambled baseband output is delayed due to empty buffer lines #25

Closed Zcooger closed 5 years ago

Zcooger commented 5 years ago

This issue does not affect complex output at all - only file output where not every viewing application let the user to skip desired amount of data (header skip). FTA: clear_0_rgb Datacom Videocrypt - added one buffer line: videocrypt_0_rgb Nagravision Syster - added 344 buffer lines: syster_0_rgb

fsphil commented 5 years ago

This is not a bug, hacktv's output is not intended for display like this. But it is handy to have the output aligned for testing, so I've applied a fix for it.

Your decoder software should be using the sync pulses to find the start of a frame rather than making assumptions.

Zcooger commented 5 years ago

Hello, I applied your fixes to HackTV but the first baseband frame is still the same. The baseband files can be viewed using Vooya (for linux) or YUV player (for windows).

fsphil commented 5 years ago

Looks fine here? 00000001

Zcooger commented 5 years ago

Yup.