1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Want to resurrect your D/D2 MAC kit?

Discussion in 'Analogue systems' started by s-band, Apr 26, 2017.

  1. Captain Jack

    Captain Jack Модератор Staff Member

    Joined:
    Oct 21, 2006
    Messages:
    9,539
    Likes Received:
    6,552
    Trophy Points:
    113
    My Satellite Setup:
    See signature
    My Location:
    North Somerset
    Strangely, when I put the decoder into service mode, it doesn't lose the lock and stays on. Wonder if there's interference or something odd going on with the converted file that causes it to lose lock every minute. Or receiver... or a quirk with the decoder itself.

     
    Vipersan and s-band like this.
  2. fsphil

    fsphil Member

    Joined:
    Apr 27, 2017
    Messages:
    34
    Likes Received:
    15
    Trophy Points:
    8
    My Satellite Setup:
    Still playing with analogue. Also running a Humax FOXSAT-HDR and a Thomson THS804.
    My Location:
    UK
    Other things took priority for a bit there, but better late than never here's the latest D-MAC encoder and updated script with a more correct pre-emphasis filter: GitHub - fsphil/television.py: Experimental analogue video encoders

    On my BSB receiver this locks on in pass-through mode, but glitches every three seconds. In normal mode it just displays a black screen and message saying there's no signal. I'm not sure why that's not working - there's still a lot of the digital data that I'm just padding with random bits so it might need everything to be correct first before it even shows an image. Annoying :)
     
  3. Analoguesat

    Analoguesat Administrator Staff Member

    Joined:
    Jul 26, 2003
    Messages:
    44,288
    Likes Received:
    7,230
    Trophy Points:
    113
    Location:
    Scottish Borders
    My Satellite Setup:
    TM 5402HD
    Skybox F3
    Sky+ UK.
    My Location:
    Scottish Borders
    Brilliant stuff guys - I love reading about this sort of tinkering from our members :)
     
    Chris1979 and Vipersan like this.
  4. Captain Jack

    Captain Jack Модератор Staff Member

    Joined:
    Oct 21, 2006
    Messages:
    9,539
    Likes Received:
    6,552
    Trophy Points:
    113
    My Satellite Setup:
    See signature
    My Location:
    North Somerset
    Thanks Phil - will give it a go!

    How are your IC programming skills? Could be converted to a real time hardware encoder. Sadly, my extent of VHDL and assembler knowledge only allows me to operate a 7 segment display... [emoji53] And that was many years ago!
     
  5. Captain Jack

    Captain Jack Модератор Staff Member

    Joined:
    Oct 21, 2006
    Messages:
    9,539
    Likes Received:
    6,552
    Trophy Points:
    113
    My Satellite Setup:
    See signature
    My Location:
    North Somerset
    Feel free to give it a go! World be a shame not to with your nick :)
     
  6. Captain Jack

    Captain Jack Модератор Staff Member

    Joined:
    Oct 21, 2006
    Messages:
    9,539
    Likes Received:
    6,552
    Trophy Points:
    113
    My Satellite Setup:
    See signature
    My Location:
    North Somerset
    Tried the latest version of converted but still losing lock every second - no idea why. Could be the receiver but just seems weird that it locks and then loses lock. Unless it's in service mode, in which case the lock is permanent.

    No such issue from the generator so either the receiver or HackRF.. or we're just not quite there yet :)
     
  7. Captain Jack

    Captain Jack Модератор Staff Member

    Joined:
    Oct 21, 2006
    Messages:
    9,539
    Likes Received:
    6,552
    Trophy Points:
    113
    My Satellite Setup:
    See signature
    My Location:
    North Somerset
    Hi Phil, would you mind uploading some PAL encoders? Want to see what I can get there.
     
  8. fsphil

    fsphil Member

    Joined:
    Apr 27, 2017
    Messages:
    34
    Likes Received:
    15
    Trophy Points:
    8
    My Satellite Setup:
    Still playing with analogue. Also running a Humax FOXSAT-HDR and a Thomson THS804.
    My Location:
    UK
    I've pushed the pal encoder, and an example grc script for transmitting AM and FM. I don't have the old Sky receiver handy so can't test it with FM for satellite at the moment.
    It is extremely slow. Especially the first time you run it as it needs to generate lookup tables. But even after that, on my laptop it barely gets 0.1 fps.

    The C version is much faster but not ready yet :)
     
  9. Captain Jack

    Captain Jack Модератор Staff Member

    Joined:
    Oct 21, 2006
    Messages:
    9,539
    Likes Received:
    6,552
    Trophy Points:
    113
    My Satellite Setup:
    See signature
    My Location:
    North Somerset
    Thanks Phil. Gave it a go with my TV and it works - sorta. The script seems to be stuck on muxing audio with the video

    Code:
    frame=  606 fps=0.4 q=-0.0 size= 1062507kB time=00:00:24.24 bitrate=359078.4kbit
    frame=  607 fps=0.4 q=-0.0 size= 1064261kB time=00:00:24.28 bitrate=359078.4kbit
    frame=  608 fps=0.4 q=-0.0 size= 1066014kB time=00:00:24.32 bitrate=359078.4kbit
    frame=  608 fps=0.4 q=-0.0 size= 1066014kB time=00:00:24.32 bitrate=359078.4kbit
    frame=  608 fps=0.4 q=-0.0 Lsize= 1066014kB time=00:00:24.32 bitrate=359078.4kbits/s   
    video:1066014kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
    
    Also, the flowgraph outputs to hackrf through osmocom sink twice - one for audio, the other for video(?). But when I run it, it say it cannot open hackrf device as it's trying to open it twice. So I disabled one of them...

     
  10. fsphil

    fsphil Member

    Joined:
    Apr 27, 2017
    Messages:
    34
    Likes Received:
    15
    Trophy Points:
    8
    My Satellite Setup:
    Still playing with analogue. Also running a Humax FOXSAT-HDR and a Thomson THS804.
    My Location:
    UK
    I haven't added audio yet. Each line of the GRC flow graph does a different function, one is for viewing locally (ends with SDL), one of the lines that ends with the osmocom is for UHF PAL (terrestrial) and the third is for FM PAL (satellite). You should only enable one of the osmocom lines at a time.

    The C encoder is making good progress. I'm hoping to add audio to that.
     
  11. fsphil

    fsphil Member

    Joined:
    Apr 27, 2017
    Messages:
    34
    Likes Received:
    15
    Trophy Points:
    8
    My Satellite Setup:
    Still playing with analogue. Also running a Humax FOXSAT-HDR and a Thomson THS804.
    My Location:
    UK
    I can push up the audio/nicam stuff I have from previous experiments but it's really unfriendly code :)
     
  12. Captain Jack

    Captain Jack Модератор Staff Member

    Joined:
    Oct 21, 2006
    Messages:
    9,539
    Likes Received:
    6,552
    Trophy Points:
    113
    My Satellite Setup:
    See signature
    My Location:
    North Somerset
    Go for it - this new experimentation is opening my eyes into the highly technical aspects of analogue transmissions.

    Have you done any more development on DMAC (or even DMAC)? Though your BSB receiver is DMAC only I believe...
     
  13. fsphil

    fsphil Member

    Joined:
    Apr 27, 2017
    Messages:
    34
    Likes Received:
    15
    Trophy Points:
    8
    My Satellite Setup:
    Still playing with analogue. Also running a Humax FOXSAT-HDR and a Thomson THS804.
    My Location:
    UK
    Yeah, D-MAC only at the moment. I'm on the look out for a D2 receiver.

    The work at the moment is trying to get valid (but empty) audio packets into the data burst. I've still not managed to convince my receiver that it's seeing a valid signal. It's either:
    * I've not implemented enough of the standard.
    * I've implemented something wrong. (likely)
    * The receiver is faulty. (unlikely)

    Work continues :)
     
  14. Captain Jack

    Captain Jack Модератор Staff Member

    Joined:
    Oct 21, 2006
    Messages:
    9,539
    Likes Received:
    6,552
    Trophy Points:
    113
    My Satellite Setup:
    See signature
    My Location:
    North Somerset
    There's this: PACE MRD960 PLUS Satellite Analogue Receiver | eBay

    He has two available but postage is a little pricey as it's located in Cyprus. I was looking at getting it as it's brand new - maybe if we both get it, we can save on postage?

    Alternatively, I am more than happy to let you borrow my Pace receiver and Philips decoder to play with :)
     
  15. 2cvbloke

    2cvbloke Bulbs need shelter too...

    Joined:
    Jan 5, 2006
    Messages:
    9,033
    Likes Received:
    1,526
    Trophy Points:
    113
    My Satellite Setup:
    No satellite stuff for the moment (aside from a 43cm minidish that was on the house already), Samsung SyncMaster T27B550 Smart TV & Monitor, and a few computers...
    My Location:
    Near Pontop Pike, Co. Durham
    Looks familiar... :p

     
  16. scopus

    scopus Specialist Contributor

    Joined:
    Mar 25, 2005
    Messages:
    1,401
    Likes Received:
    2,112
    Trophy Points:
    113
    My Satellite Setup:
    Channel Master 1.8 Motorised, C/Ku/Ka and a 1.2 Fibo Gregorian Motorised, Ku/Ka all connected to a TM 8000, 5402M3, 5302, Dr HD F15 and Amiko A3, plus a Satfinder5 Spectrum Analyser. Sansui A9 Amp and BOSE Acoustimass speakers for the audio.
    My Location:
    Staffs UK
    I had a Philips BSB receiver converted to D2 MAC by a company called Transworld near Whitby, long gone now though. It worked with Filmnet Tv1000 etc with no problem.
     
  17. Captain Jack

    Captain Jack Модератор Staff Member

    Joined:
    Oct 21, 2006
    Messages:
    9,539
    Likes Received:
    6,552
    Trophy Points:
    113
    My Satellite Setup:
    See signature
    My Location:
    North Somerset
    Yeah, I had a Ferguson one - that was awful. Took forever to lock and decode.
     
  18. PaulR

    PaulR Dazed and Confused Admin Staff Member

    Joined:
    Jun 28, 2003
    Messages:
    15,128
    Likes Received:
    2,855
    Trophy Points:
    113
    My Satellite Setup:
    --------See sig--------
    My Location:
    Wirral, NW UK and Vaucluse, France.
    So did I!

    IIRC there was also an on-board terrestrial TV tuner that could be used in France. It was a great way for me to feed the SECAM transmissions through to my TV at the time.
     
    scopus likes this.
  19. fsphil

    fsphil Member

    Joined:
    Apr 27, 2017
    Messages:
    34
    Likes Received:
    15
    Trophy Points:
    8
    My Satellite Setup:
    Still playing with analogue. Also running a Humax FOXSAT-HDR and a Thomson THS804.
    My Location:
    UK
  20. Captain Jack

    Captain Jack Модератор Staff Member

    Joined:
    Oct 21, 2006
    Messages:
    9,539
    Likes Received:
    6,552
    Trophy Points:
    113
    My Satellite Setup:
    See signature
    My Location:
    North Somerset
    Hi Phil, this is truly impressive work and works great from just about any source I throw at it. One slight "bug" that I've found is that the repeat function doesn't seem to work on my setup:

    Code:
    parallels@ubuntu:~/hacktv$ ./hacktv -f 855250000 -m i -g 47  /media/psf/Home/Downloads/FilmNet+\ ident\ from\ 1996.mp4 -r
    Video: 832x576 25.00 fps (full frame 1024x625)
    Sample rate: 16000000
    Opening '/media/psf/Home/Downloads/FilmNet+ ident from 1996.mp4'...
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/media/psf/Home/Downloads/FilmNet+ ident from 1996.mp4':
      Metadata:
        major_brand     : mp42
        minor_version   : 0
        compatible_brands: isomavc1mp42
        creation_time   : 2007-10-05 22:49:00
      Duration: 00:00:25.68, start: 0.000000, bitrate: 622 kb/s
        Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 119 kb/s (default)
        Metadata:
          creation_time   : 2007-10-05 22:49:00
          handler_name    : (C) 2007 Google Inc. v06.24.2007.
        Stream #0:1(und): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 480x360 [SAR 1:1 DAR 4:3], 500 kb/s, 25 fps, 25 tbr, 25k tbn, 50k tbc (default)
        Metadata:
          creation_time   : 2007-10-05 22:49:00
          handler_name    : (C) 2007 Google Inc. v06.24.2007.
    UU
    
    [starts transmitting file at this stage]
    [at the end of the file, it prints a ton of Us but no more output from HackRF]
    
    UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU.....
    Would be amazing to see a D2MAC implementation of this! With audio :)
     

Share This Page

Click here to support our sponsors