PlutoWeb icon indicating copy to clipboard operation
PlutoWeb copied to clipboard

Video encoder / decoder

Open unixpunk opened this issue 6 years ago • 8 comments

@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 avatar Apr 30 '19 16:04 unixpunk

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

unixpunk avatar Apr 30 '19 16:04 unixpunk

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.

LamaBleu avatar Apr 30 '19 17:04 LamaBleu

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 avatar Apr 30 '19 17:04 unixpunk

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?

unixpunk avatar Apr 30 '19 17:04 unixpunk

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.

LamaBleu avatar Apr 30 '19 17:04 LamaBleu

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)

KR0SIV avatar May 01 '19 18:05 KR0SIV

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.

LamaBleu avatar May 01 '19 23:05 LamaBleu

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

A Portable TV Signal Generator is the idea.

samysousa avatar May 05 '19 06:05 samysousa