cjj25 / Yi-RTS3903N-RTSPServer

A RTSPServer for RTS3903N based IP Cameras (Yi Camera Inspired)
67 stars 13 forks source link

VICTURE SC220 #31

Open mjpradeepraj opened 1 year ago

mjpradeepraj commented 1 year ago

The script worked on victure sc220 with a minor change. Thank you very much. Backup attached. Victure-SC220-backup.zip image

Markdevine79 commented 1 year ago

Is there any possibility you could post a zip of the fat32 directory contents? I don't know what to do with that file format! I have the same camera and have an output but it's quite pink and inverted top-bottom

mjpradeepraj commented 1 year ago

I haven't found a way to fix the inverted video but fixed the pink output. Sdcard content in the below link.

https://we.tl/t-JbW1cSIW4o

Markdevine79 commented 1 year ago

Thanks so much

mark

On Mon, 27 Mar 2023 at 16:05, Pradeep @.***> wrote:

I haven't found a way to fix the inverted video but fixed the pink output. Sdcard content in the below link.

https://we.tl/t-JbW1cSIW4o

— Reply to this email directly, view it on GitHub https://github.com/cjj25/Yi-RTS3903N-RTSPServer/issues/31#issuecomment-1485287802, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4YD3OZATAPAJ62C4NBN433W6GUEXANCNFSM6AAAAAAWGRRZR4 . You are receiving this because you commented.Message ID: @.***>

cjj25 commented 1 year ago

Thanks for sharing @mjpradeepraj

Re: Rotation

If you would like to play with the output rotation image, you can recompile source and modify this line

The available options are here.

mjpradeepraj commented 1 year ago

Thanks for the information @cjj25

I recompiled the stream source but got a segmentation fault on executing stream.

image

cjj25 commented 1 year ago

@mjpradeepraj Did you compile using the Realtek toolchain?

I'm not sure which OS you're using but if you're using a Linux or macOS with Docker installed, you can just run ./compile.sh and this will spin up a docker container and compile everything for you.

mjpradeepraj commented 1 year ago

@cjj25 I compiled from https://github.com/cjj25/Yi-RTS3903N-RTSPServer

I use Kali Linux OS and used docker to spin the container and compile.

mjpradeepraj commented 1 year ago

Stream works well on RTS_AV_ROTATION_90R and RTS_AV_ROTATION_90L but gives segmentation fault when RTS_AV_ROTATION_180 is used.

cjj25 commented 1 year ago

That's very odd and points to some incompatible library files.

You can try looking in the /var/log outputs to see it gives any clues. I also have a compiled strace binary on my tools repo (check my profile) that you can use to start the stream eg. ./strace stream 1

This will give you all the sys calls and show the last call. There's also GDB on the tools repo for further debugging.

mjpradeepraj commented 1 year ago

Thanks. will play around.

Markdevine79 commented 1 year ago

Did you get anywhere with this by any chance?

On Thu, 30 Mar 2023, 10:39 Pradeep, @.***> wrote:

Thanks. will play around.

— Reply to this email directly, view it on GitHub https://github.com/cjj25/Yi-RTS3903N-RTSPServer/issues/31#issuecomment-1490000494, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4YD3O54DEXD456FJ3QXO2TW6VIEBANCNFSM6AAAAAAWGRRZR4 . You are receiving this because you commented.Message ID: @.***>