#linux-media 2021-06-23,Wed

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

WhoWhatWhen
***camus1 has joined #linux-media [00:44]
camus has quit IRC (Ping timeout: 480 seconds) [00:49]
.... (idle for 19mn)
svarbanov has quit IRC (Ping timeout: 480 seconds) [01:08]
............................ (idle for 2h17mn)
fleebs has joined #linux-media [03:25]
............. (idle for 1h3mn)
pinn has joined #linux-media
pinn_ has quit IRC (Ping timeout: 480 seconds)
[04:28]
................... (idle for 1h32mn)
svarbanov has joined #linux-media
jm_h has joined #linux-media
[06:02]
.... (idle for 15mn)
andrey-konovalov has joined #linux-media [06:19]
GBenji has joined #linux-media [06:25]
.... (idle for 18mn)
miqztee has joined #linux-media [06:43]
....... (idle for 34mn)
Whoopie has quit IRC (Quit: ZNC - http://znc.in)
Whoopie has joined #linux-media
[07:17]
....................... (idle for 1h54mn)
camus has joined #linux-media
camus1 has quit IRC (Read error: Connection reset by peer)
[09:15]
...... (idle for 26mn)
miqztee has quit IRC (Ping timeout: 480 seconds) [09:43]
........ (idle for 36mn)
svarbanov has quit IRC (Ping timeout: 480 seconds) [10:19]
montjoie_ has joined #linux-media [10:27]
montjoie_hello [10:27]
***svarbanov has joined #linux-media
montjoie_ is now known as montjoie
[10:28]
montjoiefor zoran, I need to write a jpeg header filter, does it already exists one driver doing this ? [10:30]
............ (idle for 58mn)
***svenska has joined #linux-media [11:28]
svenskahi
i have been trying to use the linux uvc gadget, and for some reason most dequeued buffers have their ERROR flag set
[11:34]
***camus1 has joined #linux-media [11:35]
svenskait appears that the DQBUF ioctl can return buffers before the data has been sent to usb
so i wonder, how do i limit the frame rate at which my frames are output?
(i am currently synthesizing images, so i need to limit the frame rate on the sender site.)
[11:36]
***camus has quit IRC (Remote host closed the connection) [11:37]
svenskaif i am asking in the wrong channel, can you point me somewhere instead? [11:37]
while the /dev/videoN fd is writable [select()], the code will do { ioctl(VIDIOC_DQBUF), fill_buffer(), ioctl(VIDIOC_QBUF) }. ignoring the ERROR flag causes a frame rate of 200~4000 fps (for a 30 fps mode). the O_NONBLOCK flag has no effect, DQBUF does not block in either case. [11:43]
***svenska2 has joined #linux-media [11:44]
svenskasimply adding a delay before doing VIDIOC_QBUF sometimes causes the kernel to panic; i am not sure why [11:46]
***svenska2 has quit IRC () [11:46]
svenskai am a bit out of ideas here. does someone have knowledge how to use the uvc gadget?
i have seen this behaviour on kernels 4.14, 4.19 and 5.4 - i did not see any significant changes to linux-master when i last checked
[11:47]
***miqztee has joined #linux-media [11:57]
................. (idle for 1h20mn)
swegener_ has joined #linux-media [13:17]
svenskadoes anyone have any ideas? [13:18]
***swegener has quit IRC (Ping timeout: 480 seconds) [13:19]
pinchartlsvenska: it's the right channel. I haven't been able to do much work on UVC gadget for a few years though, so I can't really help at this point :-S
it's on my long todo list to revive this project, and there has been a couple of occasions when I thought it would happen, but in the end it didn't
kbingham: ^^
[13:32]
svenskaDo you have any idea how the gadget is to be used correctly?
By the way, your reference implementation (at ideasonboard) can be viewed online, but I can't seem to clone the repository...
(I mean this link: https://git.ideasonboard.org/uvc-gadget.git but don't know if it current.)
pinchartl: Sorry if I am annoying.
[13:33]
***svarbanov has quit IRC (Ping timeout: 480 seconds) [13:37]
pinchartlcan you clone git://git.ideasonboard.org/uvc-gadget.git ?
I need to move that server to cgit, gitweb doesn't work well with http it seems
you're not annoying :-)
I just wish I could dedicate more time to UVC gadget
[13:37]
svenskaYes, I can clone that one correctly.
I used to have a gitweb setup, but the web server would redirect depending on whether the user agent was "git" or not.
[13:39]
Hmm, I changed the setup a few years ago to redirect based on the link itself. [13:44]
***svarbanov has joined #linux-media
miqztee has quit IRC (Remote host closed the connection)
[13:48]
kbinghamsvenska, what platform are you running on ? [13:49]
svenskaAndroid.
kbingham: Which is why I can't easily change the kernel a lot. I can chose to use the uvc-gadget as-is, or I can aim for a complete userspace implementation (which seems like a waste of time and effort).
[13:53]
***miqztee has joined #linux-media [13:57]
b-rad has quit IRC (Ping timeout: 480 seconds)
camus1 has quit IRC ()
[14:02]
......... (idle for 41mn)
miqztee has quit IRC (Remote host closed the connection) [14:43]
pinchartlsvenska: why can't you change the kernel ? because it's a stock Android device, not a device you are developing ?
(oletko ruotsalainen ? ;-))
[14:55]
***b-rad has joined #linux-media [15:07]
svenskapinchartl: it is a vendor kernel. the usb gadget routines are unchanged, though.
google's long-term strategy seems to center around a common kernel for all devices
(or at least a common kernel for all devices based on a platform).
so changes to kernel code are restricted. changes to modules are fine though.
so i can't test with kernel 5.12, for example. :)
[15:13]
pinchartlright
is UVC gadget compiled as a module in the Android kernel ?
[15:18]
svenskadepends on the device, i guess
i've seen some defconfigs with UAC2 enabled, others with UAC2 disabled, and none with UVC enabled by default
generally, the UVC gadget seems to be disabled
[15:20]
***camus has joined #linux-media [15:32]
camus1 has joined #linux-media
camus has quit IRC (Ping timeout: 480 seconds)
[15:45]
NoGuest17jo tuxers [15:50]
ezequielgmontjoie: i think there is one.
somewhere.
jpeg_parse_frame_header at v4l2_jpeg.c ?
sorry, v4l2-jpeg.c i mean
[15:56]
......... (idle for 41mn)
***GBenji has left
camus1 has quit IRC (Remote host closed the connection)
[16:38]
gouchi has joined #linux-media [16:46]
....... (idle for 32mn)
montjoieezequielg: thanks I will check it
it seems there are no user in kernel of it:)
[17:18]
................. (idle for 1h22mn)
***gouchi has quit IRC (Remote host closed the connection)
gouchi has joined #linux-media
[18:41]
.... (idle for 17mn)
b-rad has quit IRC (Ping timeout: 480 seconds) [18:59]
montjoiedoes I have the right to modify a buffer in vb2_ops.buf_prepare ? [19:09]
.... (idle for 15mn)
***ao2 has joined #linux-media
gouchi has quit IRC (Remote host closed the connection)
[19:24]
gouchi has joined #linux-media [19:40]
........ (idle for 37mn)
b-rad has joined #linux-media [20:17]
jm_h has quit IRC (Remote host closed the connection) [20:24]
......... (idle for 40mn)
gouchi has quit IRC (Remote host closed the connection) [21:04]
.... (idle for 15mn)
bjwyman__ has quit IRC (Read error: Connection reset by peer)
bjwyman__ has joined #linux-media
[21:19]
.... (idle for 18mn)
ao2 has quit IRC (Quit: Leaving) [21:37]
svenskadoes anyone actually use the uvc gadget? [21:39]
.... (idle for 15mn)
***andrey-konovalov has quit IRC (Ping timeout: 480 seconds)
b-rad has quit IRC (Remote host closed the connection)
[21:54]
........ (idle for 38mn)
b-rad has joined #linux-media [22:33]

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