meekys / cam_overlay

MIT License
7 stars 3 forks source link

Stretch doesn't work with video input mjpeg #23

Open Bishamon1987 opened 4 years ago

Bishamon1987 commented 4 years ago

Hello, I got a camera attached to a video grabber with the following parameters.: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown), 640x480, -5 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc

For some reason camoverlay wont use the stretch option with this video input. The picture down here shows only half the video input (only right side). Also the colors are really off... image

What do you think is the problem? How can I fix it?

meekys commented 4 years ago

Is this from the cpp branch? If so, what's the output when you run this? It's possible the colours are off, as the JPEG shader I've implemented is pretty basic and looks to only really handle a single encoding type.

If you could run cam-overlay --output File it should output a txt and dat file with the current date/time. This would help a lot with testing this. This comment will not output anything to the screen, so maybe just run for 5 seconds, then quit (ctrl+C)

Bishamon1987 commented 4 years ago

It is the cpp branch but not updated in the last 4-6 months. When i have time i will make the file :)

Op ma 25 mei 2020 11:32 schreef meekys notifications@github.com:

Is this from the cpp branch? If so, what's the output when you run this? It's possible the colours are off, as the JPEG shader I've implemented is pretty basic and looks to only really handle a single encoding type.

If you could run cam-overlay --output File it should output a txt and dat file with the current date/time. This would help a lot with testing this.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/meekys/cam_overlay/issues/23#issuecomment-633478658, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHGXD72FOJEFAIS5N3A6NALRTI3LXANCNFSM4NIOEDIQ .

Bishamon1987 commented 4 years ago

Well so finally i had the time to get the files you requested ^^ txt and dat files.zip