fsphil / hacktv

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

Support For TV Software In Local (ex. tvtime) #16

Closed chezsick closed 5 years ago

chezsick commented 5 years ago

hello, i can't read the raw form hacktv, to a software in local for example tvtime reading the /dev/video0 is possible? thank Sick!

fsphil commented 5 years ago

Are you trying to visualise the raw data? If so, try something like this:

$ hacktv -m pal -t uint8 -s 13500000 -o - test | mplayer -demuxer rawvideo -rawvideo fps=25:w=864:h=625:y8 -

chezsick commented 5 years ago

Ok And The Size Other Mode, What Size Frame To Correct Read, NTSC ...

fsphil commented 5 years ago

Look for the frame rate and full frame resolution in the hacktv output:

$ ./hacktv -m ntsc -t uint8 -s 13500000 -o /dev/null test
Video: 715x480 29.97 fps (full frame 858x525)

To view the raw output for the above in mplayer, you need to use 858x525 and 29.97 fps:

$ hacktv -m ntsc -t uint8 -s 13500000 -o - test | mplayer -demuxer rawvideo -rawvideo fps=29.97:w=858:h=525:y8 -

chezsick commented 5 years ago

And The Old TV No Color, What Size Frame? End And The Modulate Sound?

fsphil commented 5 years ago

I don't understand. What are you trying to do?

chezsick commented 5 years ago

The Other Mode, What Is The Size Frame?

fsphil commented 5 years ago

Same method as above.