Odr-DabMux running

262 views
Skip to first unread message

Federico Allegretti

unread,
Jun 27, 2016, 7:37:35 AM6/27/16
to mmbtools
Yes, it goes.
Now it's tiem to trim parameters and make the "fine tuning".

But signals are in (i suppose), 'cause a "ss" command returns:
.....
tcp    ESTAB      0      0        192.168.1.182:9001     213.*.*.14:48353  
tcp    ESTAB      0      0        192.168.1.182:ssh        192.168.1.50:50824  
tcp    ESTAB      0      0        192.168.1.182:ssh        192.168.1.50:51816  
tcp    ESTAB      0      0        192.168.1.182:9000      192.168.1.116:45182
.....

so the ZMQ stream from a remote dabplus encoder and a locally generated ZMQ are accepted.

and the odr-dab mux (runned like superuser at the moment) returns some warns but no errors :D


opendab@udab:~$ sudo odr-dabmux -e testmux.mux
Welcome to ODR-DabMux v0.9.0, compiled at Jun  7 2016, 14:51:23

Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
Her Majesty the Queen in Right of Canada
(Communications Research Centre Canada) All rights reserved.

Copyright (C) 2013, 2014, 2015 Matthias P. Braendli
http://opendigitalradio.org

Input URLs supported:
 fifo file zmq
Inputs format supported:
 raw bridge mpeg packet dmb epm
Output URLs supported:
 file fifo udp tcp raw simul

WARN  RC: Restart Telnet server
      ODR-DabMux v0.9.0 starting up
WARN  RC: Waiting on connection
      Farsync card identified.
      Using version 2.1.8 of the FarSync driver
      Set configuration.
      Disable notify.
      Get flags.
      Set flags.
      Get MTU.
      Get flags.
      Set flags.
      Get index.
      Bind interface.
      No announcements defined in ensemble
      because No such node (announcements)
      No announcements defined in service srv-galileo
WARN  Service short label undefined, truncating label Galileo
      No announcements defined in service srv-siena
WARN  Service short label undefined, truncating label Siena
      --- Multiplex configuration ---
      Ensemble
       id:          0x4fff (20479)
       ecc:         0xe0 (224)
       label:       ODR_Umbria-test
       short label: ODR_Umbr
       (0xff00)
       mode:        1
       lto:         1.0 hours
       intl. table. 0
       No announcement clusters defined
      --- Subchannels list ---
      Subchannel   sub-galileo
       input
         URI:     tcp://*:9000
       type:       audio
       id:         0x1 (1)
       bitrate:    64
       protection: EEP 1-A
        option:    0
        level:     0
       SAD:        0
       size (CU):  96
      Subchannel   sub-siena
       input
         URI:     tcp://*:9001
       type:       audio
       id:         0x2 (2)
       bitrate:    64
       protection: EEP 1-A
        option:    0
        level:     0
       SAD:        96
       size (CU):  96
      --- Services list ---
      Service       srv-galileo
       label:       Galileo
       short label: Galileo
       (0xff00)
       id:            0x33 (51)
       pty:           0x0 (0)
       language:      0x0 (0)
       announcements: 0x0
       clusters:
      Service       srv-siena
       label:       Siena
       short label: Siena
       (0xff00)
       id:            0x34 (52)
       pty:           0x0 (0)
       language:      0x0 (0)
       announcements: 0x0
       clusters:
      --- Components list ---
      Component     comp-galileo
       service id:             0x33 (51)
       subchannel id:          0x1 (1)
       label:                 
       short label:           
       (0xff00)
       service component type: 0x3f (63)
       No app type defined
      Component     comp-siena
       service id:             0x34 (52)
       subchannel id:          0x2 (2)
       label:                 
       short label:           
       (0xff00)
       service component type: 0x3f (63)
       No app type defined
      --- Output list ---
      Output      0
        URI: raw://
      Start loop
WARN  inputZMQ sub-galileo input empty, re-enabling pre-buffering
WARN  inputZMQ sub-siena input empty, re-enabling pre-buffering
      inputZMQ sub-galileo input pre-buffering complete
      inputZMQ sub-siena input pre-buffering complete


very happy. Thanks for the help.

Federico Allegretti

unread,
Jul 11, 2016, 1:43:08 PM7/11/16
to mmbtools
I suppose incoming signals are good, but testing the ETI out is a bit tricky.

after dumping mux out to raw, streamed and framed file i got those results:

dablin -s Galileo testout_framed.eti
DABlin - capital DAB experience
SDLOutput: using SDL version '2.0.4'
ETISource: reading from 'testout_framed.eti'
ETIPlayer: ignored ETI frame with ERR = 0x8B
ETIPlayer: ignored ETI frame with ERR = 0xFA
ETIPlayer: ignored ETI frame with ERR = 0x06
ETIPlayer: ignored ETI frame with ERR = 0x01
ETIPlayer: ignored ETI frame with ERR = 0x08
ETIPlayer: ignored ETI frame with ERR = 0x70
etc. etc


 dablin -s Galileo testout_streamed.eti
DABlin - capital DAB experience
SDLOutput: using SDL version '2.0.4'
ETISource: reading from 'testout_streamed.eti'
ETIPlayer: ignored ETI frame with ERR = 0xFC
ETIPlayer: ignored ETI frame with ERR = 0x4F
ETIPlayer: ignored ETI frame with ERR = 0x3F
ETIPlayer: ignored ETI frame with ERR = 0x34
ETIPlayer: ignored ETI frame with ERR = 0x0B
ETIPlayer: ignored ETI frame with ERR = 0x00
ETIPlayer: ignored ETI frame with ERR = 0x00
ETIPlayer: ignored ETI frame with ERR = 0x00
ETIPlayer: ignored ETI frame with ERR = 0x00
etc.

and finally:

 dablin -s Galileo testout_raw.eti
DABlin - capital DAB experience
SDLOutput: using SDL version '2.0.4'
ETISource: reading from 'testout_raw.eti'
FICDecoder: found new audio service: SID 0x0033, subchannel  1, DAB+
FICDecoder: found new audio service: SID 0x0034, subchannel  2, DAB+
FICDecoder: found new ensemble ID/label: 0x4FFF 'ODR_Umbria-test '
FICDecoder: found new service ID/label: 0x0033 'Radio Galileo   '
FICDecoder: found new service ID/label: 0x0034 'Radio Siena     '

but no audio out .....

quite the same behaviour i got with XPADxpert_v1.10 returning errors for the framed and streamed output, and accepting the raw eti file.
With that raw eti out It shows the 2 services but seems all data is zero .....
analisi dab_mux_eti.jpg

Matthias Brändli

unread,
Jul 11, 2016, 4:14:57 PM7/11/16
to crc-mm...@googlegroups.com
The "framed" and "streamed" formats are non-standard, and I think only
the ODR-DabMod file input can handle this. You should use "raw" format
if you want to give the ETI files to any other tool.

mpb
> <http://192.168.1.182:9001> 213.*.*.14:48353
> tcp ESTAB 0 0 192.168.1.182:ssh
> 192.168.1.50:50824 <http://192.168.1.50:50824>
> tcp ESTAB 0 0 192.168.1.182:ssh
> 192.168.1.50:51816 <http://192.168.1.50:51816>
> tcp ESTAB 0 0 192.168.1.182:9000
> <http://192.168.1.182:9000> 192.168.1.116:45182
> <http://192.168.1.116:45182>
> --
> You received this message because you are subscribed to the Google
> Groups "mmbtools" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to crc-mmbtools...@googlegroups.com
> <mailto:crc-mmbtools...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.

Federico Allegretti

unread,
Jul 12, 2016, 7:38:55 AM7/12/16
to mmbtools
SUCCESS!!!

the trick was to enable the throttle when witiring a RAW file on disk of the ETI out.

Seems this "scheduled" writing will generate a much small file (megabytes instead of gigabytes) with only REAL data inside.

Now XPAD detect corect frames and DABLIN reproduce on headphones correct streams :D

Thanks a lot, for your help.

Time to connect a DAB modulator and test on air.

Thumbs up ;-)


Il giorno lunedì 27 giugno 2016 13:37:35 UTC+2, Federico Allegretti ha scritto:

Federico Allegretti

unread,
Jul 20, 2016, 11:48:32 AM7/20/16
to mmbtools
at the moment i can mux and listen dump files, but seems i got troubles to deal with a real dab transmitter.

Do someone know if i shall i enable the simul (trottle) output also with sync output (farsite t1 card) connected to tx?


Il giorno lunedì 27 giugno 2016 13:37:35 UTC+2, Federico Allegretti ha scritto:

Matthias Brändli

unread,
Jul 20, 2016, 2:46:44 PM7/20/16
to crc-mm...@googlegroups.com
You don't need a simul:// when using the farsync card. It already
throttles the multiplexer to nominal rate.

mpb

On 20/07/16 17:48, Federico Allegretti wrote:
> at the moment i can mux and listen dump files, but seems i got troubles
> to deal with a real dab transmitter.
>
> Do someone know if i shall i enable the simul (trottle) output also with
> sync output (farsite t1 card) connected to tx?
>
> Il giorno lunedì 27 giugno 2016 13:37:35 UTC+2, Federico Allegretti ha
> scritto:
>
> Yes, it goes.
> Now it's tiem to trim parameters and make the "fine tuning".
>
> But signals are in (i suppose), 'cause a "ss" command returns:
>
> .....
> tcp ESTAB 0 0 192.168.1.182:9001
> <http://192.168.1.182:9001> 213.*.*.14:48353
> tcp ESTAB 0 0 192.168.1.182:ssh
> 192.168.1.50:50824 <http://192.168.1.50:50824>
> tcp ESTAB 0 0 192.168.1.182:ssh
> 192.168.1.50:51816 <http://192.168.1.50:51816>
> tcp ESTAB 0 0 192.168.1.182:9000
> <http://192.168.1.116:45182>

Federico Allegretti

unread,
Jul 21, 2016, 12:51:03 PM7/21/16
to mmbtools
thanks for the help.

testing more monday next week.


Il giorno lunedì 27 giugno 2016 13:37:35 UTC+2, Federico Allegretti ha scritto:
Reply all
Reply to author
Forward
0 new messages