↑back Search ←Prev date Next date→ Show only urls | (Click on time to select a line by its url) |
Who | What | When |
---|---|---|
*** | noobie12 has left "Leaving" | [03:01] |
........................................................................... (idle for 6h13mn) | ||
funman | mchehab: I can't seem to get CBR reads: https://pastebin.com/r5qkadEp
I can use small buffer sizes with set_pesfitler, e.g. 5*7*188, but only with some adapters and not others but the smaller I go the more discrepancy I get in timings | [09:14] |
mchehab | that doesn't sound a libdvbv5-related issue, but either a Kernel, driver or device limitation...
yet, I never heard about people reporting problems on reading from constant bit rate video sources with regards to the pesfilter size, for some devices, you indeed need a large buffer otherwise, you'll start seeing buffer overflows | [09:19] |
funman | yep | [09:21] |
mchehab | that's specially true for USB devices | [09:21] |
funman | to be clear i'm not losing data but i wanted to use the timing information
weirdly here it's the USB device that can use smaller buffers :) but i only tested 2 | [09:21] |
mchehab | the thing is that, on most usb devices, the device uses an internal buffer, and it sends URBs only when the buffer is full
(PCI devices may actually be doing similar stuff... doing DMA only if the buffer is full) if you allocate a buffer with set_pesfilter that it is smaller than the data burst that will be sent when the device starts DMA, you get buffer overflows | [09:22] |
funman | I see | [09:24] |
mchehab | in practice, you need a buffer a little bigger than that, as otherwise you'll have underflows, if you didn't finish reading the buffer while a new one is filled
there's not much we can do here also, let's say that the DMA burst is of size = n the actual PES filter buffer is: n + extra the "extra" size actually depends on how fast is the CPU in order to avoid CPU issues, people use to set extra = n (on v4l, where we know the "n" size) on DVB, we don't so, except on embedded hardware, we just use a large-enough value, based on experimental tests we could add some way for userspace to get some hints, but the thing is that, even with datasheets, we don't really know how big is the DMA burst, on most cases as this is not documented | [09:24] |
funman | yeah i guess try and error works | [09:33] |
mchehab | yep. anyway, if you have a better idea and want to try patching the kernel, feel free to send us the patches :-)
I would love to be able to use smaller buffers, as this would make channel changes faster | [09:35] |
......................................................... (idle for 4h40mn) | ||
funman | looks like the delay came from mismatch between DMA buffer size and pesfilter size
that's why it was periodic if DMA transfers 8 buffers and you read 9, it takes 2 ticks 7 times and 1 tick 1 time | [14:16] |
............... (idle for 1h10mn) | ||
mchehab: how would I discover the buffer size for my USB device ?
looking in lmedm04.c, grep demux gives nothing, not sure if I have the right file | [15:26] | |
...................... (idle for 1h49mn) | ||
jonathan_x | Yo
I am setting up a Philips DVB-T card that is very like some Asus card. I have managed to get it tuning but I receive no video or audio yet. I wonder what to do next. Kaffeine displays no image or sound | [17:16] |
funman | how do you know it's tuned ? | [17:17] |
jonathan_x | dvbtraffic gives no output
dvbv5-zap This is output from dvbv5-zap: http://paste.debian.net/996724/ Is that good or no? | [17:17] |
funman | dunno, i never used dvbv5-zap
could your channel.conf be out-of-date? the "lock (0x1f)" looks good at least you have signal | [17:20] |
jonathan_x | I was using a dvbv5-scan channel file | [17:22] |
funman | ah so it doesnt list the pids ? | [17:23] |
jonathan_x | This is the channel.conf: http://paste.debian.net/996725/
Or at least dvb_channel.conf | [17:25] |
funman | what's your sat?
oops not satellite well the pids could be out of date | [17:25] |
jonathan_x | Well I just scanned it | [17:26] |
funman | ah | [17:26] |
jonathan_x | Is that dvbv5-zap output good enough to move on?
It seems to use demux0 | [17:27] |
funman | probably | [17:27] |
jonathan_x | But mplayer seem to hang on opening the demuxer | [17:27] |
funman | ah do you have something still using the demuxer? | [17:27] |
jonathan_x | Not that I know
kaffeine seems to think everything is okay except no image or sound Also the page for the Asus card lists that a firmware file is needed, that I copied into /lib/firmware | [17:28] |
funman | if you scanned you should be good wrt drivers | [17:29] |
jonathan_x | Okay
program guide also works Kaffeine just won't even start playing the stream But it says demux_wavpack: (open_wv_file:127) open_wv_file: non-seekable inputs aren't supported yet. net_buf_ctrl: dvbspeed mode net_buf_ctrl: slow/fast audio playback enabled net_buf_ctrl: enlarged video fifo to 800 buffers net_buf_ctrl: dvbspeed OFF | [17:32] |
......... (idle for 44mn) | ||
The problem I have is to do with vdpau and nouveau
Sucks. It appears I need to download and extract firmware from the nVidia installer. Running VLC now and I have audio :). But no Video yet. For some reason reception is excellent compared to my previous card in Windows.... :-/. I would always have staggering reception And now it is continuous :-/. :). Yay. This card has no driver in Windows though. Too old. | [18:18] | |
........................................... (idle for 3h30mn) | ||
gstaraz | good day... anyone there ? | [21:53] |
iive | no | [21:55] |
↑back Search ←Prev date Next date→ Show only urls | (Click on time to select a line by its url) |