Code Monkey home page Code Monkey logo

Comments (15)

braice avatar braice commented on June 20, 2024

from mumudvb.

SourceDoctor avatar SourceDoctor commented on June 20, 2024

i didn't find cause of the issue.
Maybe it's the driver, will be tested next.
So i closed it for for first.
Issue is really confusing.

from mumudvb.

SourceDoctor avatar SourceDoctor commented on June 20, 2024

btw, i could use "BAD CRC32 PID" recognization via API :-)
do you have some plans to implement it somewhere for error detection?

from mumudvb.

braice avatar braice commented on June 20, 2024

from mumudvb.

SourceDoctor avatar SourceDoctor commented on June 20, 2024

thanks for the hint.
btw. it's not the driver :/

I have the same issue on all cards of the same type and i don't think they all have been damaged at the same time.
All the years before they worked in the set up configuration without an issue.

from mumudvb.

SourceDoctor avatar SourceDoctor commented on June 20, 2024

@braice
ok, i can reproduce it also in a diseqc controlled environment.
Other TunerCards, other Multiswitch, other environment other driver version.

Other DVB applications don't have this issue
e.G. dvblast

Issue causing example is:
Astra 19.2E
11626MHz
vertical
22000 kSym/s

Transponder at moment only contains CNN with 4,4Mbit/s which means above 90% Null Pids on Transpnder

Maybe some misscalculation with Null Pids?

/usr/local/bin/mumudvb --help
MuMuDVB is a program who can redistribute stream from DVB on a network, in multicast or in http unicast.
It's main feature is to take a whole transponder and put each channel on a different multicast IP.

Usage: mumudvb [options] 
-c, --config : Config file
-s, --signal : Display signal power
-t, --traffic : Display channels traffic
-l, --list-cards : List the DVB cards and exit
--card       : The DVB card to use (overrided by the configuration file)
--server_id  : The server id (for autoconfiguration, overrided by the configuration file)
-d, --debug  : Don't deamonize
-v           : More verbose
-q           : Less verbose
--dumpfile   : Debug option : Dump the stream into the specified file
-h, --help   : Help

MuMuDVB Version 2.1.0_20181020_mumudvb2
 --- Build information ---
Built with CAM support.
Built without SCAM support.
Built with ATSC support.
Built with ATSC long channel names support.
Built with support for DVB API Version 5.11.
Built with support for DVB-T2.
---------
Originally based on dvbstream 0.6 by (C) Dave Chapman 2001-2004
Released under the GPL.
Latest version available from http://mumudvb.net/
Project from the cr@ns (http://www.crans.org)
by Brice DUBOST ([email protected])

from mumudvb.

SourceDoctor avatar SourceDoctor commented on June 20, 2024

@braice
there is definitly a problem.
I retried it on a small home Antenna Multiswitch Environment with CNN Transponder and have the same problem

from mumudvb.

braice avatar braice commented on June 20, 2024

from mumudvb.

SourceDoctor avatar SourceDoctor commented on June 20, 2024

i logged some stuff with this command:
mumudvb -vvv -s -t -d -c headend3_13.conf 2>&1| tee -a mumudvb_11626_v.log

Output can be downloaded here:
ftp://ftp.berberich.info/mumudvb_11626_v.log

If you need further data, tell me :-)

from mumudvb.

SourceDoctor avatar SourceDoctor commented on June 20, 2024

@braice is this log enough, or do you need more information?

from mumudvb.

braice avatar braice commented on June 20, 2024

from mumudvb.

SourceDoctor avatar SourceDoctor commented on June 20, 2024

tried this one
(show differences in if clause), but still
""
Deb0: TS: packet BAD CRC32 PID : 18

int ts_check_raw_crc32(unsigned char *data)
{
    int i,len;
    uint32_t crc32;
    tbl_h_t *tbl_struct;
    tbl_struct=(tbl_h_t *)data;
    // Stuffing table does not have CRC
    if(tbl_struct->table_id == 0x72)
        return 0;
...

Nethertheless i think this if clause is not wrong on this place :-)

from mumudvb.

braice avatar braice commented on June 20, 2024

from mumudvb.

braice avatar braice commented on June 20, 2024

from mumudvb.

SourceDoctor avatar SourceDoctor commented on June 20, 2024

@braice
seems the problem has been solved

int ts_check_raw_crc32(unsigned char *data)
{
	int i,len;
	uint32_t crc32;
	tbl_h_t *tbl_struct;
	tbl_struct=(tbl_h_t *)data;

        // Stuffing table does not have CRC
        if(tbl_strcut->table_id == 0x72)
            return 1;

	//the real length (it cannot overflow due to the way tbl_h_t is made)
	len=HILO(tbl_struct->section_length)+BYTES_BFR_SEC_LEN;

	//CRC32 calculation

	return (crc32 == 0);
}

from mumudvb.

Related Issues (20)

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.