#linuxtv 2017-11-20,Mon

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)

WhoWhatWhen
***noobie12 has left "Leaving" [03:01]
........................................................................... (idle for 6h13mn)
funmanmchehab: 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]
mchehabthat 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]
funmanyep [09:21]
mchehabthat's specially true for USB devices [09:21]
funmanto 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]
mchehabthe 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]
funmanI see [09:24]
mchehabin 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]
funmanyeah i guess try and error works [09:33]
mchehabyep. 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)
funmanlooks 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_xYo
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]
funmanhow do you know it's tuned ? [17:17]
jonathan_xdvbtraffic gives no output
dvbv5-zap
This is output from dvbv5-zap: http://paste.debian.net/996724/
Is that good or no?
[17:17]
funmandunno, 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_xI was using a dvbv5-scan channel file [17:22]
funmanah so it doesnt list the pids ? [17:23]
jonathan_xThis is the channel.conf: http://paste.debian.net/996725/
Or at least dvb_channel.conf
[17:25]
funmanwhat's your sat?
oops not satellite
well the pids could be out of date
[17:25]
jonathan_xWell I just scanned it [17:26]
funmanah [17:26]
jonathan_xIs that dvbv5-zap output good enough to move on?
It seems to use demux0
[17:27]
funmanprobably [17:27]
jonathan_xBut mplayer seem to hang on opening the demuxer [17:27]
funmanah do you have something still using the demuxer? [17:27]
jonathan_xNot 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]
funmanif you scanned you should be good wrt drivers [17:29]
jonathan_xOkay
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)
gstarazgood day... anyone there ? [21:53]
iiveno [21:55]

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)