gkreidl
Posts: 5455
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Real Time Transcoding of DVB TV Streams

Thu Jan 04, 2018 3:15 am

gigo1988 wrote:
Thu Jan 04, 2018 1:54 am
Hi Gkreild,

i´ve 2 questions. First do you know how long does the modifikation take from OMX Modul Bug? Second is it possible to put something like a logo to the transcoded stream? Or a feature to do that in the future. I think it must be easy because it will already transcoded but it isnt a must habe feature but nice to have :D
6by9 provided a solution which I have successfully tested in the version I compiled from source. The fix should appear in the Foundation repository within a few days.

Regarding the logo: I have no idea. There might a useful function in one of the gstreamer plugins.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

gkreidl
Posts: 5455
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

rtranscode 4.0 - Current state of development

Thu Jan 18, 2018 8:12 am

rtranscode 4.0 will run on both Jessie and Stretch (and even on Wheezy, I suppose), but there is a huge difference.

gstreamer-omx-1.0 for the RPI included a lot of patches (30!), which did not only fix bugs but implemented scaling the decoded image using the GPU (Patches 1, 11 and 14). Unfortunately those patches never made it into the upstream gstreamer development and with gstreamer-omx-1.10 software scaling has to be used and this is heavy work for the CPU, especially for HD streams, and limits what can be done. Transcoding will never be as effective on Stretch as it was on Jessie, except if perhaps some good C++ programmer implements HW scaling again.

Otherwise rtranscode 4.0 will contain a lot of new features like deinterlacing, software scalers and support for lots of new video stream resolutions (including such strange formats as 544x576i, which is used on Astra quite a lot) and selection of one of the available audio streams (web interface only).

The newest feature I have added is support for external user scripts for tuning the DVB receiver. Some DVB software or hardware tunes the DVB receiver automatically if you acccess a stream uri (VDR, Tvheadend, Enigma2-Box). Some others require a separate tuning command (Gnutv, mumudvb, HD Homerun systems). User scripts for Gnutv and mumudvb will be part of the package. If you add them to your config file or use a command line option your DVB hardware will be tuned before transcoding starts.

I've also started work on the web interface, which will be included in the package. It is built with the Karrigell framework, which suports user management for different user types. If you connect from your local network, you will have full control: Select a channel, set all stream options, start (optionally including tuning), restart and stop the transcoder. If you connect from the Internet, the server will request user name and password. Depending on the user type it will give limited (only watch or watch and restart transcoder streams) or full control.

Last but not least the package will include two projects, which will let you build your own TV system using either Gnutv or mumudvb. Both projects include a number of scripts, which will create the configuration files, a kweb interface and a channel database and tuning script for rtranscode.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

kazuko.nakamura
Posts: 54
Joined: Sun May 29, 2016 7:14 am

Re: rtranscode 4.0 - Current state of development

Sat Jan 20, 2018 12:21 pm

gkreidl wrote:
Thu Jan 18, 2018 8:12 am

Unfortunately those patches never made it into the upstream gstreamer development and with gstreamer-omx-1.10 software scaling has to be used and this is heavy work for the CPU, especially for HD streams, and limits what can be done. Transcoding will never be as effective on Stretch as it was on Jessie, except if perhaps some good C++ programmer implements HW scaling again.
Does it means, that old version of rtranscode for Jessie has better performance on RPi2 ???

gkreidl
Posts: 5455
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: rtranscode 4.0 - Current state of development

Sat Jan 20, 2018 1:06 pm

kazuko.nakamura wrote:
Sat Jan 20, 2018 12:21 pm
gkreidl wrote:
Thu Jan 18, 2018 8:12 am

Unfortunately those patches never made it into the upstream gstreamer development and with gstreamer-omx-1.10 software scaling has to be used and this is heavy work for the CPU, especially for HD streams, and limits what can be done. Transcoding will never be as effective on Stretch as it was on Jessie, except if perhaps some good C++ programmer implements HW scaling again.
Does it means, that old version of rtranscode for Jessie has better performance on RPi2 ???
No. The new version has the same performance on Jessie, if you do not use extended features like deinterlacing (which requires software scaling).
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

kazuko.nakamura
Posts: 54
Joined: Sun May 29, 2016 7:14 am

Re: Real Time Transcoding of DVB TV Streams

Sat Jan 20, 2018 9:16 pm

Thanks. And also many thanks for your hard work on rtranscode!

mpc823
Posts: 2
Joined: Tue Jan 23, 2018 6:40 am

Re: Real Time Transcoding of DVB TV Streams

Tue Jan 23, 2018 7:29 am

Hello Gkreidl,

thank you for making your nice piece of software, I've been waiting so long for.

Just for fun I want to trancode my Sat-DVB-Stream to my sister , to give her the chance to watch BBC. Therefor have been looking for a solution in first step which work with the bandwith of my DSL Internetconnection. Trancoding ist a only solution for this an also I have a little kind of fun playing around.

So now I have read all, but because its not working it looks like I do not understand some important things.

I have downloaded the latest Raspian image from here then I installed rtranscode and before also the pagage for kweb.

I do habe a Linux based Sat Receiver from Coolstream with Neutrino running. On the Webfrontend I could start through a lnk VLC running on my Laptop playing the stream , coming from my SAT-reciever.
The URL looks like "http://192.168.0.203:31339/0,0x13ec,0x0000,0x0000" .This will now playing ARD HD . I try to run HD 264 becouse I do not have the MPEG2 codec for this RP3.

so if I now try to run rtranscode with the URL-> http://192.168.0.203:31339/0,0x13ec there is a error message coming up
pi@raspberrypi:~/transcoder/transcoder3 $ rtranscode http://192.168.0.203:31339/0,0x13ec hd1 mpeg 5102
Starting to transcode
Size: 768x432 VBR: 1.76M ABR: 64K AAC
Listening on http://127.0.0.1:9080/xyz.mkv
Starting pipeline
Warning Delayed linking failed.
Error Internal data stream error.

Or because of aac ???? I tried

pi@raspberrypi:~/transcoder/transcoder3 $ rtranscode http://192.168.0.203:31339/0,0x13ec hd1 aac 5102
Starting to transcode
Size: 768x432 VBR: 1.76M ABR: 64K AAC
Listening on http://127.0.0.1:9080/xyz.mkv
Starting pipeline
Warning Delayed linking failed.
Error Internal data stream error.
the information output of omxplayer show me :
pi@raspberrypi:~/transcoder/transcoder3 $ omxplayer -i http://192.168.0.203:31339/0,5101
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] decode_slice_header error
[h264 @ 0x1345c30] no frame!
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] decode_slice_header error
[h264 @ 0x1345c30] no frame!
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] decode_slice_header error
[h264 @ 0x1345c30] no frame!
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] decode_slice_header error
[h264 @ 0x1345c30] no frame!
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] decode_slice_header error
[h264 @ 0x1345c30] no frame!
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] decode_slice_header error
[h264 @ 0x1345c30] no frame!
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] decode_slice_header error
[h264 @ 0x1345c30] no frame!
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] decode_slice_header error
[h264 @ 0x1345c30] no frame!
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] decode_slice_header error
[h264 @ 0x1345c30] no frame!
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] decode_slice_header error
[h264 @ 0x1345c30] no frame!
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] decode_slice_header error
[h264 @ 0x1345c30] no frame!
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] decode_slice_header error
[h264 @ 0x1345c30] no frame!
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] decode_slice_header error
[h264 @ 0x1345c30] no frame!
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] decode_slice_header error
[h264 @ 0x1345c30] no frame!
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] decode_slice_header error
[h264 @ 0x1345c30] no frame!
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] decode_slice_header error
[h264 @ 0x1345c30] no frame!
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] decode_slice_header error
[h264 @ 0x1345c30] no frame!
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] decode_slice_header error
[h264 @ 0x1345c30] no frame!
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] decode_slice_header error
[h264 @ 0x1345c30] no frame!
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] decode_slice_header error
[h264 @ 0x1345c30] no frame!
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] decode_slice_header error
[h264 @ 0x1345c30] no frame!
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] decode_slice_header error
[h264 @ 0x1345c30] no frame!
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] decode_slice_header error
[h264 @ 0x1345c30] no frame!
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] decode_slice_header error
[h264 @ 0x1345c30] no frame!
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] SPS unavailable in decode_picture_timing
[h264 @ 0x1345c30] non-existing PPS 0 referenced
[h264 @ 0x1345c30] decode_slice_header error
[h264 @ 0x1345c30] no frame!
Input #0, mpegts, from 'http://192.168.0.203:31339/0,5101':
Duration: N/A, start: 88632.291211, bitrate: N/A
Program 1000
Stream #0:0[0x13ed]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
Stream #0:1[0x13ee](deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 256 kb/s
Stream #0:2[0x13ef](mis): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 256 kb/s
Stream #0:3[0x13f2](deu): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 448 kb/s
Stream #0:4[0x13f1](deu): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (hearing impaired)
Stream #0:5[0x13f0](deu): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
have a nice day ;)
So I do not have a nice day :-D but could it be that the stream from my DVB-reciever is incompatible for rtranscode. ?

Find out whats going on I thought it might be a good idea to try to get a stream from a SAT-IP-Server. Therefore I grabed some time a go a nice piece of hardware from Digital-Device . The "Octupus Net" could make DVBS DVBS2 DVBC DVBT DVBT2 available in the network. But there is only the way pick up the stream through rtsp., but rtranscode need the http stream.

Working with the rtsp call all the information for zapping channels (freq pid diseqe ...... ) and then tuning to the channel is inside the rtsp request which is not supported by rtranscode .

So I want to ask please could you give me a hint why rtranscode did not work with my SAT receiver ?

and is the a chance to make rtranscode compatible for the SAT-IP protokoll ?


many thanks Martin

gkreidl
Posts: 5455
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Real Time Transcoding of DVB TV Streams

Tue Jan 23, 2018 12:09 pm

1. The current version of rtranscode doesn't run on Raspbian Stretch. rtranscode 4.0 is in development (and beta testing) and will replace it in a few weeks. It will run on both Jessie and Stretch.

2. rtranscode does support http and udp streams, but no rtsp (but this may change in the future).

You seem to be running Stretch, so please have some patience. The 4.0 version should be ready for publication some time in February.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

mpc823
Posts: 2
Joined: Tue Jan 23, 2018 6:40 am

Re: Real Time Transcoding of DVB TV Streams

Tue Jan 23, 2018 7:11 pm

Hello Gkreidl,
The current version of rtranscode doesn't run on Raspbian Stretch

Thank you very much for your hint . :D Now it's working on Jessie.

It makes me a lot of fun playing with your transcoding software.

Bastinazo
Posts: 5
Joined: Tue Nov 10, 2015 11:07 am

Re: Real Time Transcoding of DVB TV Streams

Fri Feb 23, 2018 3:02 am

Any good new about v4 ???? :D

gkreidl
Posts: 5455
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Real Time Transcoding of DVB TV Streams

Fri Feb 23, 2018 5:39 am

Bastinazo wrote:
Fri Feb 23, 2018 3:02 am
Any good new about v4 ???? :D
I had to stop working on it for two weeks, but yes: the new manual (about 70 pages) is ready except for one chapter and proof reading. I'm still working on the web interface, but everything else is almost ready for publication. I'm looking forward to publish it some time in March.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

Return to “Graphics, sound and multimedia”

Who is online

Users browsing this forum: No registered users and 8 guests