Open mjpradeepraj opened 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
I haven't found a way to fix the inverted video but fixed the pink output. Sdcard content in the below link.
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.
— 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: @.***>
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.
Thanks for the information @cjj25
I recompiled the stream source but got a segmentation fault on executing stream.
@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 I compiled from https://github.com/cjj25/Yi-RTS3903N-RTSPServer
I use Kali Linux OS and used docker to spin the container and compile.
Stream works well on RTS_AV_ROTATION_90R and RTS_AV_ROTATION_90L but gives segmentation fault when RTS_AV_ROTATION_180 is used.
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.
Thanks. will play around.
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: @.***>
The script worked on victure sc220 with a minor change. Thank you very much. Backup attached. Victure-SC220-backup.zip