horgh / videostreamer

Stream video (e.g. RTSP) to an HTML5 video element (MP4)
GNU General Public License v3.0
270 stars 59 forks source link

Chrome - OK, Octo -NOT_OK #24

Open emaklav opened 1 year ago

emaklav commented 1 year ago

Hello! Thx for great app. Can you help me? I'm start streamer with command:

./videostreamer -input rtsp://admin:admin@10.0.1.25:8554/live1.264 -fcgi=false -format RTSP -port 8999

Chrome - perfectli works, but Octo show OK and dint show a stream. A NOT_OK log:

./videostreamer -input rtsp://admin:admin@10.0.1.25:8554/live1.264 -fcgi=false -format RTSP -port 8999 2023/10/06 07:04:26 Starting to serve requests on 0.0.0.0:8999 (HTTP) 2023/10/06 07:04:26 encoder: Waiting for clients... 2023/10/06 07:04:34 Serving [GET] request from [10.0.1.9:55728] to path [/stream] (0 bytes) 2023/10/06 07:04:34 encoder: New client 2023/10/06 07:04:35 Opened output for client 2023/10/06 07:04:38 10.0.1.9:55728: Write error: write tcp 10.0.1.43:8999->10.0.1.9:55728: write: broken pipe 2023/10/06 07:04:38 10.0.1.9:55728: Client cleaned up unable to write frame: Broken pipe 2023/10/06 07:04:40 Failure writing packet 2023/10/06 07:04:41 Client too slow unable to write trailer 2023/10/06 07:04:41 encoder: 0 clients 2023/10/06 07:04:41 encoder: Closed input 2023/10/06 07:04:41 encoder: Waiting for clients...

I'm find a control.jijnja2 in differnt folder - ~/OctoPrint/lib/python3.10/site-packages/octoprint/templates/tabs and it didnt contain

horgh commented 1 year ago

Hi! I'm not familiar with OctoPrint. However, I have come to think that something videostreamer does is not really correct, so it might just not be working correctly generally. I would recommend finding a different tool rather than this one. Sorry about that!

emaklav commented 1 year ago

Ok. great thx!