logo
Most Viewed Last 7 Days
436MHz DATV Up-Converter (196)
10GHz ATV dx 115km (98)
Chirp Sounders (98)
Archive2 - DATV Transmitter (98)
12:6 Audio Mixer - Testing (77)
23cm DG0VE Amplifier (77)

ALL



Cluster Activity

Spots per uW band today:
UK spotter or spotted only.

Solar data:
SFI
71
A-Index
6
K-Index
2
Exp.K
0
Sunspots
12
Activity
qui
GMF
qui
Aurora?
no

My Weather

Date:18/01/18 Time:13:30
Temp:5C
Wind Speed:2.5mph
Wind Dir:247deg
Pressure:995.95mB
Humidity:118%
Dew Point:8.6C
UKHASnet
GB3KM streaming with ffmpeg & Gallery

Just the info of how i stream to BATC.tv with ffmpeg...

ffmpeg -i /dev/video1 -deinterlace -acodec libmp3lame -s 352x288 -ac 2 -ab 64k -ar 22050 -f flv -r 15 -vcodec libx264 -preset fast -tune zerolatency -b:v 275k -minrate 275k -maxrate 275k -bufsize 275k "rtmp://fms.batc.tv/**********" -f image2 -updatefirst 1 -r 0.003125 -bt 80M -s 240x192 /var/www/thumbs/img%04d.jpg

This takes input from a hauppauge PVR-USB2, encodes to h.264 with mp3 audio and sends to the server.
The second part saves a raw image every five minutes from the capture device with a progressive number as file name.

I then use compare function in php from the webserver on the streaming pc to check if the image is different from the stock testcard images on GB3KM...
compare -metric PSNR image0005.jpg reference1.jpg

This returns a value which relates to the difference between the images, lower value means similar image.

Some more php removes the repeat testcard images and leaves the ones which are different (user images) and then spits out some html to create the image gallery on here:

www.batc.tv/streams/km

Hope that's useful for anyone else trying a similar thing!











Last page added:07/01/18 10:15
M0DTS.co.uk