Hi Antonio,
nice to see you got a bit stuck (please, that's ironic ;)). Maybe I should have asked more precise, not just "Antonio, what would you do or plan next?".
The Answer could have been "make transcoding live with tvheadend streams". I would like to set the streaming profile in e.g. Kodi or the tvheadend iOS app, set the target connection to my internal dns or external ddns name of pi and watch, shift, record tv with epg and so on in a known environment.
Instead of using a STB with real and pseudo (only bitrate) hardware transcoding that offers possibilities like watching TV from everywhere through your own internet connection at home, we use pi + dvb-x USB adapter + cr. It could also be pc + dvb-x pci card + cr. I think the pi solution would be cheaper than a STB with hw trans. More flexible on new or defect hardware (tuner etc.).
I can see that some provider of internet access - whether cable, radio, dsl or fiber - are going to provide exactly that in one package. Watch tv via app on mobile or on huge, dominating resolution, curved, super flat screen through STB at home.
I think, if we want to get any further on this topic, there needs to be worked on ffmpeg or gstreamer. There is also work needed on the openmax implementation in raspbian. But requires a NDA with SoC manufacturer for video core reference.
So Antonio, if you like to code instead of using code/tools I would suggest that you spent time on ffmpeg or gstreamer. You seem to be not busy enough :-D.
I could need some help on the pipe:// url you mentioned in a earlier post. Is it possible to start a command like ffmpeg or gst-launch with that url? Or do I connect to the streaming url of tvheadend?
Stay tuned