Recording & Watching - Cannot Decode 2 PowerVu Channels Simutanously - OSCAM EMU

There are 8 replies in this Thread which was already clicked 2,550 times. The last Post () by fcs001fcs.

  • Hardware: Dreambox DM7020HD (mips32el) - OpenPLi 4.0 and OSCAM-EMU r11281


    With the dual tuner DM7020HD, when I am recording a PowerVu channel on Tuner B and I try and view another PowerVu channel on the same transponder (different SID), I get a black screen.


    It happens the same in reverse, if I am watching a PowerVu channel and a timer recording starts on the same transponder, I get a black screen recording.


    This is all direct decode, no stream relay involved on the DM7020HD.


    I am informed by [MENTION=60986]joeuser[/MENTION] that it is normal that the DM7020HD does not switch to its other Tuner (A in the above example) since it is remaining on the same Sat and Transponder and should not need to switch.


    [MENTION=60986]joeuser[/MENTION] also mentioned that it is most likely due to the number of PIDs that are allowed to be processed by OSCAM-EMU and that I should post the problem in public so that everyone can help and get the benefit, so I am.


    When I switch to one of the PowerVu channels I get the following info concerning PIDS:


    Code
    2016/12/17 00:06:17 xxxxxxxx c   (dvbapi) Demuxer 0 ecmpid 0 CAID: 0E00 ECM_PID: 1772 PROVID: 000000 
    2016/12/17 00:06:17 xxxxxxxx c   (dvbapi) Demuxer 0 found 1 ECMpids and 10 STREAMpids in caPMT
    2016/12/17 00:06:17 xxxxxxxx c   (dvbapi) Demuxer 0 trying to descramble PID 0 CAID 0E00 PROVID 000000 ECMPID 1772 ANY CHID PMTPID 138A VPID 04EC
    2016/12/17 00:06:17 xxxxxxxx c   (dvbapi) Demuxer 0 found 1 ECMpids and 10 STREAMpids in PMT


    The STREAMpids are usually 10 but sometimes 9 and 1 time is 5 for a HD channel.


    I have no idea what is needed so let me know if a log is needed and at what debug level it should be taken in order to understand the problem and hopefully develop a fix.

  • It is not a limitation of oscam-emu, it is a limitation of the drivers/hardware of the boxes. For example my alien2 triplex has a limit of 5 extended_cw pids being decrypted at a time. That limit is not per channel, it is total. I started playing with the drivers to increase the limit, but haven't had time to build/test a new system yet. I do not know what the limit is for other boxes. If you run oscam-emu with a debug level of 128, there might be a hint as to its limit.


    You can try this version of oscam-emu. It limits each channel to the first three pids (one video and the first two audio channels) and ignores subtitle and AC3 tracks. This limit works ok on my alien2 triplex, but I am not sure how the dreambox drivers will react...

  • I use OSCAM for home sharing of a SkyUK card and it works fine. I can view one channel and record another both on the same transponder and on different transponders. If different transponder it goes to the other tuner.


    Why does OSCAM work for NDS but not PowerVu in this situation?


    Thanks, I will try your download but do not have time at the moment, maybe next weekend.


    It is not a limitation of oscam-emu, it is a limitation of the drivers/hardware of the boxes. For example my alien2 triplex has a limit of 5 extended_cw pids being decrypted at a time. That limit is not per channel, it is total. I started playing with the drivers to increase the limit, but haven't had time to build/test a new system yet. I do not know what the limit is for other boxes. If you run oscam-emu with a debug level of 128, there might be a hint as to its limit.

  • Most encryption systems use the same key (cw) for every pid (track) associated with the channel. For powervu, each pid is encrypted using different keys.


    (Other difference is that most change keys around every 10 seconds while powervu changes every second. Which means it is more affected by timing issues...)

  • It is not a limitation of oscam-emu, it is a limitation of the drivers/hardware of the boxes. For example my alien2 triplex has a limit of 5 extended_cw pids being decrypted at a time. That limit is not per channel, it is total. I started playing with the drivers to increase the limit, but haven't had time to build/test a new system yet. I do not know what the limit is for other boxes. If you run oscam-emu with a debug level of 128, there might be a hint as to its limit.


    You can try this version of oscam-emu. It limits each channel to the first three pids (one video and the first two audio channels) and ignores subtitle and AC3 tracks. This limit works ok on my alien2 triplex, but I am not sure how the dreambox drivers will react...


    Tested on a Dreambox DM7020HD with dual tuner both connected to sat feeds with multiple sats.


    With normal OSCAM R11281 with EMU complied by me via SimpleBuild:

    • Recording on PowerVu channel via direct decode (not stream-relay) = OK, record no problem
    • Still recording and switched to next PowerVu station = black screen = Not OK but recording stays OK
    • Switched to PowerVu channel using Stream Relay (not direct decode) = OK, new PowerVu channels clears and prior PowerVu channel recording is still OK
    • Switched to a NDS channel on another SAT and the free tuner is selected and NDS channel clears and PowerVu recording continues = OK



    Replaced OSCAM Binary with Joeuser changes:


    OSCAM did not run automatically on reboot as normal and when I run the command via telnet i get the following error " /usr/bin/oscam: line 1: syntax error: unexpected "(" "


    Code
    root@dm7020hd:~# /usr/bin/oscam --config-dir /etc/tuxbox/config/oscam --daemon --pidfile /tmp/oscam.pid --restart 2 --utf8
    /usr/bin/oscam: line 1: syntax error: unexpected "("
  • Either the file did not get extracted from the compressed tar correctly, or the architecture is wrong...

    Quote

    oscam-svn11289-mipsel-webif-dvbapi: ELF 32-bit LSB executable, MIPS, MIPS-I version 1 (SYSV), dynamically linked, interpreter /lib/ld.so.1, stripped


    I built new drivers for my alien2 to extend the number of pids that can be simultaneously descrambled is 9, then used the modified oscam to limit each channel to 3 pids (video, plus two audio tracks) and I was able to record two channels and watch a third without problem. I have no idea how to modify the dreambox drivers, but if you limit the number of pids oscam indexes, you should be able to at least record one channel and watch another...


    I also modified oscam so that if it gets an ioctl error when trying to set too many keys, it just removes the current pid and not remove all the pids (which is the default action...)


    Also you did not post the oscam logs with debug level of 128...


  • Sorry, I thought you wanted log on binary you provided. I will PM them to you on my current setup.

OSCam-EMU Support Forum

Configs, discussion, downloads and guides for OSCam-EMU Softcam.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!