Yi-RTS3903N-RTSPServer icon indicating copy to clipboard operation
Yi-RTS3903N-RTSPServer copied to clipboard

VICTURE SC220

Open mjpradeepraj opened this issue 2 years ago • 11 comments

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

mjpradeepraj avatar Mar 24 '23 13:03 mjpradeepraj

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

Markdevine79 avatar Mar 27 '23 13:03 Markdevine79

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

mjpradeepraj avatar Mar 27 '23 15:03 mjpradeepraj

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: @.***>

Markdevine79 avatar Mar 27 '23 15:03 Markdevine79

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.

cjj25 avatar Mar 29 '23 09:03 cjj25

Thanks for the information @cjj25

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

image

mjpradeepraj avatar Mar 29 '23 14:03 mjpradeepraj

@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.

cjj25 avatar Mar 29 '23 15:03 cjj25

@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 avatar Mar 29 '23 15:03 mjpradeepraj

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

mjpradeepraj avatar Mar 29 '23 20:03 mjpradeepraj

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.

cjj25 avatar Mar 29 '23 21:03 cjj25

Thanks. will play around.

mjpradeepraj avatar Mar 30 '23 09:03 mjpradeepraj

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: @.***>

Markdevine79 avatar Apr 23 '23 21:04 Markdevine79