deepch / RTSPtoWeb

RTSP Stream to WebBrowser
MIT License
1.18k stars 284 forks source link

H.265 Codec #68

Open Yongsanzip opened 2 years ago

Yongsanzip commented 2 years ago

Hi everyone,

I need to use H.265 Codec with RTSP protocol ,

and i tried to use RTSP url of my ip camera can broadcast with H.265

and the console message noticed "ts:codec type=H265 is not supported"

then, how could I add some other codec in this solution?

Thanks.

deepch commented 2 years ago

only safari and ie support h265 codec WebRTC not support h265 Google Chrome not support h265 and etc.

Yongsanzip commented 2 years ago

Thanks you for reply, and more questions. I used chrome and IE for h264 codec, chrome does working with every method(HLS/HLSS/MSE/Web RTC) but, IE does not working with every method, even it was h264. and IE debug tool have nothing with network tab when i clicked play button. what can i check for IE?

deepch commented 2 years ago

share you stream rtsp and send me url im check it.

Yongsanzip commented 2 years ago

rtsp://admin:1q2w3e4r!@ysnzp.ddns.net:10554/live/main rtsp://admin:1q2w3e4r!@ysnzp.ddns.net:10556/live/main rtsp://admin:1q2w3e4r!@ysnzp.ddns.net:10553/live/main rtsp://admin:1q2w3e4r!@ysnzp.ddns.net:10558/live/main rtsp://admin:1q2w3e4r!@ysnzp.ddns.net:10555/live/main

deepch commented 2 years ago

rtsp://admin:1q2w3e4r!@ysnzp.ddns.net:10554/live/main: Operation timed out

Yongsanzip commented 2 years ago

Then, plz check https://ysnzp.ddns.net

deepch commented 2 years ago

Please describe your problem in more detail.

Yongsanzip commented 2 years ago

Okay, I wanna stream IP Cam over RTSP, and wanna use Web RTC.

So, I tried to set your solution, and make CCTV can reachable from out of the network with port forwarding,

and make ddns for ssl, but, even if I use IE or Safari, It cannot stream H265 Codec.

Of course, now the CCTV is streamed with H264 Codec for LTS, but my purpose for this project, can stream RTSP with H265.

and, I'm curious about it, I tried to watch streams on the iPhone 13 Pro with iOS 15 . and it cannot stream every method (MSE, HLS, Web RTC in Safari and Chrome via H264)

and, Now the Website (https://ysnzp.ddns.net) cannot stream with Web RTC. It runs over Ubuntu 20.04 Server. and I did not customize anything of origin code.

Conclusion.

  1. I wanna Web RTC can stream with h265

  2. I wanna use it at my iPhone 13 Pro with iOS 15

Thanks.

2022년 2월 15일 (화) 오후 7:59, Andrey Semochkin @.***>님이 작성:

Please describe your problem in more detail.

— Reply to this email directly, view it on GitHub https://github.com/deepch/RTSPtoWeb/issues/68#issuecomment-1040134929, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJKVPV3HCXC7CMMJ7PQE6A3U3IW2PANCNFSM5FDZGIIA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

--

Phone 1811 - 7161

E-mail @.***

Web https://yongsanzip.com

Address 서울특별시 용산구 청파로 213, 용산이안프리미어 105호~108호

Jedrek2021 commented 7 months ago

Back to the H265 case. Budget cameras today almost exclusively have the H265 codec. Trying to run a live image keeps failing: ts: codec type=H265 is not supported Warning, unsupported stream index: 0

Can we count on expanding the software with this codec?

andreprandina commented 3 months ago

I do have a budget camera. H.265 doesn't work either. Nevertheless, mine has a h.265X option. Something related to an "AI". Anywy, i gave it a shot and it´s working fine.