Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DMX_SET_PES_FILTER failed: Invalid argument on 3 different DVB devices #68

Open
EasyNetDev opened this issue May 20, 2023 · 3 comments
Open

Comments

@EasyNetDev
Copy link

Hi,

I've compiled the dvbtee and when I'm trying to run over a specific device always I'm getting this error.

# ./dvbtee/dvbtee -d -a3 -f0
# dvbtee v0.6.8 - http://github.com/mkrufky/libdvbtee

1684609842 LOG::libdvbtee_set_debug_level: (0xff)
1684609842 rbuf::rbuf: ()
1684609842 listen::socket_listen: ()
1684609842 out::output: ()
1684609842 parse::init: ()
1684609842 listen::socket_listen: ()
1684609842 feed::feed: ()
1684609842 tune::tune: ()
1684609842 linuxtv_tuner::linuxtv_tuner: ()
1684609842 linuxtv_tuner::set_device_ids: (3, 0, 0, 0)
1684609842 linuxtv_tuner::start_feed: ()
start_feed: using /dev/dvb/adapter3/demux0
DMX_SET_PES_FILTER failed: Invalid argument
1684609842 linuxtv_tuner::clear_filters: ()
1684609842 feed::stop: ()
1684609842 listen::stop: ()
1684609842 feed::stop: waiting...
1684609842 feed::stop: done
1684609842 feed::close_file: ()
1684609842 parse::cleanup: ()
1684609842 parse::detach_demux: ()
1684609842 feed::stop: ()
1684609842 listen::stop: ()
1684609842 feed::stop: waiting...
1684609842 feed::stop: done
1684609842 feed::close_file: ()
1684609842 linuxtv_tuner::clear_filters: ()
1684609842 linuxtv_tuner::clear_filters: ()
1684609842 parse::cleanup: ()
1684609842 parse::detach_demux: ()
1684609842 feed::~feed: ()
1684609842 feed::close_file: ()
1684609842 listen::~socket_listen: ()
1684609842 listen::close_socket: ()
1684609842 parse::~parse: ()
1684609842 parse::cleanup: ()
1684609842 parse::detach_demux: ()
1684609842 out::~output: ()
1684609842 out::stop: ()
1684609842 out::~output: (intermediate) 0 packets in, 0 packets out, 0 packets remain in rbuf
1684609842 listen::~socket_listen: ()
1684609842 listen::close_socket: ()
1684609842 rbuf::~rbuf: ()
1684609842 rbuf::dealloc: ()

Even is installed fully on my computer and removed the Debian libdvbpsi lib.

@mkrufky
Copy link
Owner

mkrufky commented May 20, 2023

Try tuning to a service first - does that solve it?

@EasyNetDev
Copy link
Author

Hi,

I tried this:

# dvbtune -c0 -f 338000000 -s 6900
Using DVB card "Silicon Labs Si2168"
tuning DVB-C to 338000000, srate=6900000
polling....
Getting frontend event
FE_STATUS:
polling....
Getting frontend event
FE_STATUS: FE_HAS_SIGNAL FE_HAS_LOCK FE_HAS_CARRIER FE_HAS_VITERBI FE_HAS_SYNC
Event:  Frequency: 348600000
        SymbolRate: 6900000
        FEC_inner:  9

Bit error rate: 0
Signal strength: 0
SNR: 0
FE_STATUS: FE_HAS_SIGNAL FE_HAS_LOCK FE_HAS_CARRIER FE_HAS_VITERBI FE_HAS_SYNC

Then:

# dvbtee -a0 -f0 -e
# dvbtee v0.6.8 - http://github.com/mkrufky/libdvbtee

start_feed: using /dev/dvb/adapter0/demux0
DMX_SET_PES_FILTER failed: Invalid argument

or

# dvbtee -a0 -f0 -s
# dvbtee v0.6.8 - http://github.com/mkrufky/libdvbtee

open_fe: using /dev/dvb/adapter0/frontend0
frontend is not a supported device type!

Which is very strange because tools like: w_scan or w_scan_cpp are working.

I have 4 tuners from Digital Devices, 6 from TechnoTrend and 2 from AVerMedia Technologies.

@mkrufky
Copy link
Owner

mkrufky commented May 20, 2023

for your first command, don't pass -c 0 - there is no channel zero

the other two commands wont work either because they don't tune the frontend

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants