milkv-duo / cvitek-tdl-sdk-cv180x

8 stars 4 forks source link

sample_vi_fd confuses VLC and Celluloid #3

Open cmirceac opened 1 month ago

cmirceac commented 1 month ago

Hello, sample_vi_fd should not start responding to the connecting clients until it can send an I-frame, currently it sends whatever it has in buffer at moment of connecting and that make VLC and Celluloid video players to abort and disconnect. Issue present in 1.1.1 and current devel (2024.05.02). The stream could only be played by ffplayer, part of ffmpeg package that is more tolerant to bad input. This produces issue #98 in the duo-buildroot-sdk.

teknoman117 commented 4 weeks ago

I feel like I'm following you around here a bit, sorry. This issue will also affect https://github.com/milkv-duo/cvitek-tdl-sdk-sg200x (The SDK for the SoC in the Duo 256M and Duo S).

It appears that all of the RTSP connection and client logic is handled inside a closed source library bundled in both repos called libcvi_rtsp.so.

cmirceac commented 4 weeks ago

@teknoman117 True, I've dig trough all the spaghetti and reach the same place :(. Wondering if there's an OSS library that can replace this.