Giter Club home page Giter Club logo

dvblast's People

Contributors

agatward avatar amdmi3 avatar bencoh avatar cmassiot avatar durkovic avatar gonberdeal avatar ivoire avatar jeremy-poulter avatar joolzg avatar jpsaman avatar k10kan avatar koshkoshka avatar koxder avatar lecotex avatar nto avatar quarium avatar sebastinas avatar slimey99uk avatar sraillard avatar stsp avatar thresheek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dvblast's Issues

Avoid messages "error: couldn't writev to local_ip:local_port/udp (Connection refused)"

Hi, I have been using DVBLast in a production environment for the last few years, great software and super stable.

I am demultiplexing a MPTS udp source and sending the individual demuxed programs to local ffmpeg instances for further processing via udp, all works ok and it has been working fine for the last few years. The problem I always have had is that whenever I have to restart the ffmpeg instances the log is full of messages like this:

error: couldn't writev to 192.168.3.201:2500/udp (Connection refused)

The messages are produced at a rate of 5 per second, so, since the MPTS has 6 channels and the ffmpeg takes a few seconds to restart whenever that happens the log is filled with 100 to 150 log lines with the same message, I have tried all -quiet options and the message always appear.

Is there any way to avoid "error: couldn't writev to....." messages being produced or decrease the frequency of them?

Thanks in advance.
Salva.

PS: DVBLast versión being used is DVBlast 3.4 (release) and OS is raspbian (Ubuntu) on a Raspberry PI 3B+

setting frontend failed (Invalid argument) with valid argements

this my w_scan log
tune to: S f = 11900 kHz V SR = 27500 AUTO 0,AUTO QPSK (2048:2048:16) (time: 06:43.289) (no signal)
service = IRIB TV1 (IRIB)
service = RADIO IRAN (IRIB)
service = IRIB TV2 (IRIB)
service = RADIO PAYAM (IRIB)
service = IRIB TV3 (IRIB)
service = IRIB TV4 (IRIB)
service = RADIO MAAREF (IRIB)
service = RADIO FARHANG (IRIB)
service = PRESS TV (IRIB)
service = IRINN (IRIB)
service = RADIO VARZESH (IRIB)
service = IRIB AMOOZESH (IRIB)
service = RADIO QURAN (IRIB)
service = IRIB SALAMAT (IRIB)
service = RADIO MONASEBATI (IRIB)
service = RADIO JAVAN (IRIB)
service = RADIO 06 WORLD SERVICE (IRIB)
service = iFILM ENG (IRIB)
S f = 11900 kHz V SR = 27500 AUTO 0,AUTO QPSK (2048:2048:16) : updating network_id -> (2048:1:16)
new transponder: (S f = 12265 kHz H SR = 30000 3/4 0,35 QPSK (1:1:1)) 0x4043
new transponder: (S f = 12283 kHz V SR = 30000 3/4 0,35 QPSK (1:1:17)) 0x4043
new transponder: (S f = 12323 kHz V SR = 30000 3/4 0,35 QPSK (1:1:15)) 0x4043
already known: (S f = 12302 kHz H SR = 27500 5/6 0,35 QPSK (702:702:5231)), but not found by pids
new transponder: (S f = 11880 kHz H SR = 27500 3/4 0,35 QPSK (1:1:2)) 0x4043
tune to: S f = 10872 kHz V SR = 27500 7/8 0,35 QPSK (110:2048:18) (time: 06:55.533)

but when I try this dvblast command getting this

dvblast -a 0 -f 11900000 -s 27500 -v 13 -m qpsk

DVBlast 3.4 (release)
warning: restarting
debug: compiled with DVB API version 5.11
debug: using DVB API version 5.12
debug: Frontend "Conexant CX24123/CX24109" supports:
debug: frequency min: 950000, max: 2150000, stepsize: 1011, tolerance: 5000
debug: symbolrate min: 1000000, max: 45000000, tolerance: 0
debug: capabilities:
debug: INVERSION_AUTO
debug: FEC_1_2
debug: FEC_2_3
debug: FEC_3_4
debug: FEC_4_5
debug: FEC_5_6
debug: FEC_6_7
debug: FEC_7_8
debug: FEC_AUTO
debug: QPSK
debug: FE_CAN_RECOVER
debug: delivery systems:
debug: DVBS
debug: frequency 11900000 is in Ku-band (higher)
debug: configuring LNB to v=13 p=0 satnum=0 uncommitted=0 lnb-type=universal bis_frequency=1300000
debug: tuning DVB-S frontend to f=11900000 srate=27500 inversion=-1 fec=999 rolloff=35 modulation=qpsk pilot=-1 mis=0 /pls-mode: ROOT (0) pls-code: 0 is-id: 0 /
error: setting frontend failed (Invalid argument)

ffdecsawrapper+dvblast

Hello!

I started dvblast in the configuration file is a SID(among others) for which it does not ffdecsawrapper authorization.
Programs for which authorization has ffdecsawrapper are decoded (visible in oscam_web), but can not be played(vlc).
Subject to dvblast.conf such a SID is not, everything ok.
???

option --provider-name doesn't work without additional args to the output address

if we write output address in the form ip:port (without @interface or /option/option ...),
despite we have provided --provider-name sth. on the command line,
the program reaches dvblast.c:196

if ( psz_string == NULL || !*psz_string ) goto end;

and the function config_ParseHost returns, without setting p_config->psz_service_provider.
As a result the provider name isn't changed.

That must happen on dvblast.c:262:

if ( !p_config->psz_service_provider && psz_provider_name )
    p_config->psz_service_provider = strdup( psz_provider_name );

where psz_provider_name is the command line argument.

debug: closing MMI session (5)

debug: closing MMI session (5)
warning: too many errors for stream 224.0.0.2:[email protected], resetting
debug: closing DateTime session (2)

debug: closing ConditionalAccess session (4)

Hello, I have a SkyStar USB 2 HD CI and CAM TechniCrypt Irdeto CI +. The module reads the card and decodes well over time restarts. This is repeated. The same happens with the CAM Mascom Irdeto "cryptoworks". In other applications (VDR, gnutv) modules do not fall. Can anything be done?

edit:problem solved: "always on" = 0 for all.

syntax for http unicast

Hi

I am searching for the syntax to use dvblast for http unicast but proved futile. All the tutorials and article only showed multicast syntax.

I would appreciate it if you could show me the syntax for using dvblast for http unicast. Many thanks

Not streaming from DVB-S2

Hey there, been battling last 2 days and have run out of resources to read... I'm trying to stream off my satellite LNB 10750 to get freeview here in NZ.

It starts but nothing is streaming and if I check my router no joins/groups are made on that multicast, though if i test from VLC on my laptop the router shows them. I think the issue is more that the content is not actually there as its not using 10750 for LNB settings; how does one set this? Everything is running fine in tvheadend and then I disable it to try get dvblast working (tvheadend was just to make sure the card worked etc)

root@raspberrypi:~# dvblast -f 12394000 -s 22500000 -c three -e -v 18
DVBlast 3.0 (release)
warning: restarting
debug: turning on DVB compliance, required by EPG information
debug: compiled with DVB API version 5.10
debug: using DVB API version 5.10
debug: Frontend "Sundtek DVB-S/S2 (III)" supports:
debug: frequency min: 925000, max: 2175000, stepsize: 0, tolerance: 0
debug: symbolrate min: 1000000, max: 45000000, tolerance: 0
debug: capabilities:
debug: INVERSION_AUTO
debug: FEC_1_2
debug: FEC_2_3
debug: FEC_3_4
debug: FEC_4_5
debug: FEC_5_6
debug: FEC_6_7
debug: FEC_7_8
debug: FEC_AUTO
debug: QPSK
debug: 2G_MODULATION
debug: FE_CAN_RECOVER
debug: delivery systems:
debug: DVBS2
debug: DVBS
debug: frequency 12394000 is in Ku-band (higher)
debug: configuring LNB to v=18 p=0 satnum=0 uncommitted=0
debug: tuning DVB-S frontend to f=12394000 srate=22500000 inversion=-1 fec=999 rolloff=35 modulation=legacy pilot=-1 mis=0
warning: failed opening CAM device /dev/dvb/adapter0/ca0 (No such file or directory)
debug: setting filter on PID 0
debug: setting filter on PID 16
debug: setting filter on PID 17
debug: setting filter on PID 18
debug: setting filter on PID 19
debug: setting filter on PID 20
debug: conf: 239.0.0.41:20000 config=0x61 sid=1920 pids[0]
debug: conf: 239.0.0.42:20000 config=0x61 sid=1921 pids[0]

--ecm-passtrough doesn't work correctly

--ecm-passtrough works only when no pids are specified:

dvblast.conf:
239.3.3.3:3331 1 2110

but if some pids are specified like this:

dvblast.conf:
239.3.3.3:3331 1 2110 3000,3201,3202

the ECM packets aren't forwarded.
They must be specified explicitly:

dvblast.conf (ECM pid is 50):
239.3.3.3:3331 1 2110 3000,3201,3202,50

ConditionalAccessClose do not freeing memory ...

I have found a possible missing of "freeing memory" on "ConditionalAccessClose".

During call of "ConditionalAccessHandle" the function allocate memory for "system_ids" :

        p_ids->i_nb_system_ids = l / 2;
        p_ids->pi_system_ids = malloc( p_ids->i_nb_system_ids
                                        * sizeof(uint16_t) );

After removing the DVB-CI slot cam the prevoius allocate memory is not "freed".

    msg_Dbg( p_access, "closing ConditionalAccess session (%d)", i_session_id );
    free( p_sessions[i_session_id - 1].p_sys );

the memory allocated for system id is not released.

I guess the right code should be:

    system_ids_t *p_ids =
        (system_ids_t *)p_sessions[i_session_id - 1].p_sys;           
    
    if ( p_ids->i_nb_system_ids )
        free( p_ids->pi_system_ids );
	
    msg_Dbg( p_access, "closing ConditionalAccess session (%d)", i_session_id );

    free( p_sessions[i_session_id - 1].p_sys );

Am I right ?

Empty PAT is output

I am using DVBlast release 2.2.

In config file I have following line:
239.8.1.4:[email protected]/udp 1 0 1077,3324,7088
So I want to output only PIDs: 1077,3324,7088, nothing more.
I run the DVBlast with following command:
./dvblast -D 239.0.0.3:2111/udp/ifaddr=10.8.8.1 -c config.cfg -l &
Unfortunately I got on output the empty PAT table (without any entries in program loop)

Is it possible not to output any PAT table? Is it known issue, or I am doing something wrong?

dvblast returns ioctl errors when dvblastctl is used to get front-end statistics

Seen with latest dvblast version 3.4.

Example to reproduce:
First start dvblast:
dvblast -u -d 127.0.0.1:25000 -f 12100000 -s 27500000 -m psk_8 -n 0 -a 0 -r /tmp/dvblast.sock
Next launch dvblastctl:
dvblastctl -r /tmp/dvblast.sock -x xml fe_status

During execution of dvblastctl, dvblast throws the following errors and no signal strength, SNR and BER values are returned:
error: ioctl FE_READ_BER failed (Operation not supported)
error: ioctl FE_READ_SIGNAL_STRENGTH failed (Operation not supported)
error: ioctl FE_READ_SNR failed (Operation not supported)

Looks like deprecated kernel calls are used in "dvb_FrontendStatus", see:
https://github.com/gfto/dvblast/blob/master/dvb.c#L1493

Will this be corrected ?
Thanks for any comment!
Michel Vanden Broecke

Multiple input stream

Hi,

It is necessary to change MIS=9 to MIS=8 in line 994 "#define MIS 9" to pass correctly the stream id to the tuner card because :

static struct dtv_property dvbs2_cmdargs[] = {
{ .cmd = DTV_DELIVERY_SYSTEM, .u.data = SYS_DVBS2 }, // 0
{ .cmd = DTV_FREQUENCY, .u.data = 0 }, // 1
{ .cmd = DTV_MODULATION, .u.data = PSK_8 }, // 2
{ .cmd = DTV_INVERSION, .u.data = INVERSION_AUTO }, // 3
{ .cmd = DTV_SYMBOL_RATE, .u.data = 27500000 }, // 4
{ .cmd = DTV_INNER_FEC, .u.data = FEC_AUTO }, // 5
{ .cmd = DTV_PILOT, .u.data = PILOT_AUTO }, // 6
{ .cmd = DTV_ROLLOFF, .u.data = ROLLOFF_AUTO }, // 7
{ .cmd = DTV_STREAM_ID, .u.data = 0 }, // 8
{ .cmd = DTV_TUNE },
};

ECM passthru after reload

Hello dvblast team,

when I add new service to config and reload using dvblastctl, ECM pids are not included in the newly added stream even when I have used -Y option when starting dvblast.

Can you please fix this?

Change DVB-CT card to DVB-T mode

Hello,

Is possible add feature (or add to README / Man page) how select DVB-C or DVB-T on dual DVB-CT cards?

We have such cards and they are after load default in DVB-C mode and we can not select T mode by dvblast, so for now we using work-around and after boot-up we run for few seconds "vlc" just for switch such card to DVB-T mode.

Could be handy if dvblast will have such feature.

Port 0 (TAB 1): DUAL DVB-CT2 CXD2843

02:00.0 Multimedia controller: Digital Devices GmbH Device 0006

dvblast 1st run
debug: Frontend "CXD2843 DVB-C/C2 DVB-T/T2" type "QAM (DVB-C)" supports:

after VLC command
cvlc dvb-t://frequency=730000000:bandwidth=8 :dvb-adapter=0

dvblast 2nd and next runs
debug: Frontend "CXD2843 DVB-C/C2 DVB-T/T2" type "OFDM (DVB-T)" supports:

regards Petr

Could not understand error messages

Hi

I got a list of error messages while using dvblast.
I could not figure out what these error messages mean. Would appreciate your help.

warning: TS discontinuity on pid 3071 expected_cc 4 got 8 (H.264/14496-10 video (MPEG-4/AVC), sid 15)
warning: TS discontinuity on pid 3070 expected_cc 8 got 9 (PMT, sid 15)
V:PortSettingsChanged: [email protected] interlace:0 deinterlace:0 anaglyph:0 par:1.42 display:0 layer:0 alpha:255 aspectMode:0
warning: TS discontinuity on pid 3071 expected_cc 9 got 12 (H.264/14496-10 video (MPEG-4/AVC), sid 15)
warning: TS discontinuity on pid 3050 expected_cc 1 got 2 (PMT, sid 11)
warning: TS discontinuity on pid 3071 expected_cc 15 got 2 (H.264/14496-10 video (MPEG-4/AVC), sid 15)
warning: TS discontinuity on pid 3071 expected_cc 2 got 4 (H.264/14496-10 video (MPEG-4/AVC), sid 15)
warning: TS discontinuity on pid 3072 expected_cc 8 got 9 (13818-7 Audio with ADTS transport syntax, sid 15)
warning: TS discontinuity on pid 3054 expected_cc 2 got 3 (PMT, sid 10)
warning: TS discontinuity on pid 3071 expected_cc 6 got 8 (H.264/14496-10 video (MPEG-4/AVC), sid 15)
warning: TS discontinuity on pid 3072 expected_cc 0 got 1 (13818-7 Audio with ADTS transport syntax, sid 15)
warning: TS discontinuity on pid 3080 expected_cc 5 got 6 (PMT, sid 17)
warning: TS discontinuity on pid 3071 expected_cc 4 got 6 (H.264/14496-10 video (MPEG-4/AVC), sid 15)
warning: TS discontinuity on pid 3080 expected_cc 15 got 0 (PMT, sid 17)
warning: TS discontinuity on pid 3071 expected_cc 7 got 10 (H.264/14496-10 video (MPEG-4/AVC), sid 15)
warning: TS discontinuity on pid 3072 expected_cc 15 got 0 (13818-7 Audio with ADTS transport syntax, sid 15)
warning: TS discontinuity on pid 3071 expected_cc 13 got 1 (H.264/14496-10 video (MPEG-4/AVC), sid 15)
warning: TS discontinuity on pid 3005 expected_cc 5 got 6 (PMT, sid 2)
warning: TS discontinuity on pid 3020 expected_cc 6 got 7 (PMT, sid 5)
warning: TS discontinuity on pid 3071 expected_cc 11 got 14 (H.264/14496-10 video (MPEG-4/AVC), sid 15)
warning: TS discontinuity on pid 3080 expected_cc 9 got 10 (PMT, sid 17)
warning: TS discontinuity on pid 3071 expected_cc 0 got 1 (H.264/14496-10 video (MPEG-4/AVC), sid 15)
warning: TS discontinuity on pid 3071 expected_cc 2 got 3 (H.264/14496-10 video (MPEG-4/AVC), sid 15)
warning: TS discontinuity on pid 3072 expected_cc 9 got 10 (13818-7 Audio with ADTS transport syntax, sid 15)
warning: TS discontinuity on pid 3071 expected_cc 4 got 6 (H.264/14496-10 video (MPEG-4/AVC), sid 15)
warning: TS discontinuity on pid 17 expected_cc 12 got 13 (SDT, sid 0)
warning: TS discontinuity on pid 3025 expected_cc 3 got 4 (PMT, sid 6)
warning: TS discontinuity on pid 3040 expected_cc 4 got 5 (PMT, sid 9)
warning: TS discontinuity on pid 3071 expected_cc 11 got 14 (H.264/14496-10 video (MPEG-4/AVC), sid 15)
warning: TS discontinuity on pid 3072 expected_cc 3 got 4 (13818-7 Audio with ADTS transport syntax, sid 15)
warning: TS discontinuity on pid 3005 expect

Suddenly DVBlast stopped working - does not bring out any stream

dvblast -f 485028615 -a 0 --delsys ATSC -v 6 -c adapter0.conf
DVBlast 3.4 (release)
warning: restarting
debug: compiled with DVB API version 5.11
debug: using DVB API version 5.11
debug: Frontend "TurboSight TBS 6704(Quad ATSC/QAMB)" supports:
debug: frequency min: 44000000, max: 1002000000, stepsize: 62500, tolerance: 0
debug: symbolrate min: 0, max: 0, tolerance: 0
debug: capabilities:
debug: INVERSION_AUTO
debug: FEC_AUTO
debug: QAM_64
debug: QAM_256
debug: QAM_AUTO
debug: 8VSB
debug: delivery systems:
debug: ATSC
debug: DVBC_ANNEX_B
debug: tuning ATSC frontend to f=485028615 inversion=-1 modulation=qam_auto
warning: failed opening CAM device /dev/dvb/adapter0/ca0 (No such file or directory)
debug: setting filter on PID 0
debug: setting filter on PID 16
debug: setting filter on PID 17
debug: setting filter on PID 18
debug: setting filter on PID 19
debug: setting filter on PID 20
debug: conf: 127.0.0.1:1001 config=0x1 sid=1 pids[0]
debug: change sid tsid

..... < no output until i press CTRL-C>
^Cinfo: Shutdown was requested.
debug: removing 127.0.0.1:1001

error: unable to query frontend

I am using ubuntu 13.10
TBS 6928SE

I can't start dvblast, this latest git version not working ?

DVBlast 2.2 (git-2.2-68-g9a2ea9f)
warning: restarting
debug: compiled with DVB API version 5.10
error: unable to query frontend

Execute command
dvblast -a 0 -f 12031000 -m qpsk -n 0 -P -1 -R 0 -u -s 27500000 -S 0 -v 18 -c sky.cfg -Y -t 1 -i 1

spu_pid (or spu_pid), what is?

Hi, can anyone tell me please what is the spupid that I see in the documentation, for option -0?

-0, --pidmap <pmtpid,audiopid,videopid,spupid>

The README says:

  1. PID remapping
    239.255.0.1:1234/udp/epg/tsid=42/ssrc=192.168.0.1/pidmap=pmt_pid,audio_pid,video_pid,spu_pid

All four PIDs are required!

Is this the Subtitles PID? If yes, what happens if the Service doesn't have subtitles?

Thank you very much in advance, regards

question/feature

Supports dvblast sending the pin into CI/skylink card? We have some stations (r.g. Horror cahnnel) with parental lock/pin. We cann't remove pin from card.

unicable

Hey, how you can use dvblast with unicable?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.