unixpunk / PlutoWeb

PlutoWeb
73 stars 19 forks source link

Video encoder / decoder #53

Open unixpunk opened 5 years ago

unixpunk commented 5 years ago

@KR0SIV - Thanks for the review!

I like the idea of a DATV / DVB here. I'm sure I can make it happen, I'm just not familiar with DATV / DVB in general or what some example encoder/decoders would be.

I can see having a page that will allow for entering settings required for the commands/particular DATV transmission (for RX) and then have the result written to a USB stick, CIFS share or possibly presented to the browser as a live stream via a named pipe.

For TX, I could do almost the same, let you select a file to upload for TX or point to one on USB/CIFS.

Let me know your suggestions and I can implement the linux-side of things and see if @ImDroided can wrap it into an easy to use webpage.

unixpunk commented 5 years ago

@lamableu Maybe you have something I can copy? I'm all about working smarter, not harder... :)

LamaBleu commented 5 years ago

Hi, ATV is totally deprecated here in Europe except for CCTV use. Moreover ATV is wasting RF bandwidth, pluto is not designed for this and you will fill your flash only for this purpose. As you know you can send and receive DATV (not ATV) stream using several ways on pluto : GNUradio (from your computer or even native on pluto) and LEANTRX. GNUradio is supporting many digital modulations (and non digital including ATV), but requires to be run from a computer, or using a pluto with a specific firmware containing both GNUradio and python support. It works.
The best for you is to include a GNUradio script on the USB mass storage, the same I did for DVB-S mode transmit on pluto using GNUradio. But end-user needs to install GNUradio, libiio support and gr-iio on the computer hosting the pluto. BTW I describe few DATV examples on pluto here including portable/wifi streaming : https://github.com/LamaBleu/Pluto-DATV-test So sorry, I can't figure how to implement ATV in a "light mode" on pluto.

unixpunk commented 5 years ago

Hey, I said I knew nothing about it...apparently I mean DATV... :) I'd rather it was all self-contained if possible. If not, defeats the purpose of PlutoWeb, IMO.

unixpunk commented 5 years ago

Maybe I need to play with leantrx more then, the avail dvb commands are in /bin, maybe we don't need anything but a file to TX?

LamaBleu commented 5 years ago

Maybe I need to play with leantrx more then, the avail dvb commands are in /bin, maybe we don't need anything but a file to TX?

Have a look to the links ! Your firmware includes all needed tools to send DATV, just a matter of scripting and practice. To test DATV, raspberry is also a very usefull, especially using RPiDATV from F5OEO.

KR0SIV commented 5 years ago

learntrx can handle rx and tx without issue I saw there was a video window not in use on the plutoweb software. Shouldn't be too bad to stream video to that web page. I've not looked at the source for this project yet but I'm certainly interested

The idea of having this on the pluto is awesome! especially as a rx. Then I could use my pluto and cellphone as a 70cm DATV rx at low symbol rates. Something you just can't do with off the shelf stuff right now.

For transmit I think the bigger issue is going to be getting video to the pluto. Would be cool if you could run the wifi adapter on the pluto and have an android app that would send video using the web cam to the pluto in near-real-time.

I'm no android developer though (as much as I've tried to be)

LamaBleu commented 5 years ago

Hi corrosive,

You can't display the video on the webpage of leantrx at this moement (and yes a preview - but disabled - windows is on leantrx page), but you can use VLC instead by piping the stream, as shown in this video : https://www.youtube.com/watch?v=3PxscsdPj8M&t=11s

For transmit I think the bigger issue is going to be getting video to the pluto. Would be cool if you could run the wifi adapter on the pluto and have an android app that would send video using the web cam to the pluto in near-real-time.

Transmit video stream from your cellphone using pluto via wifi : https://github.com/LamaBleu/Pluto-DATV-test/tree/master/scripts/gnuradio-webcam

You will also find on my github few scripts to send DATV from a PiCam (RPiZero cam)via wifi.

samysousa commented 5 years ago

A simple pre-implemented GnuRadio Script for : Analogue NTSC on specific "NTSC Channel" Digital ATSC Transmission.

A Portable TV Signal Generator is the idea.