BogdanovKirill / RtspClientSharp

Pure C# RTSP client for .NET Standard without external dependencies and with true async nature. I welcome contributions.
MIT License
708 stars 284 forks source link

AV1 or HEVC/H265 Stream Support #17

Open mistal-distal opened 5 years ago

mistal-distal commented 5 years ago

Didn't use the template because the overall idea is pretty straight forward.

I've been testing this library for some time and like the cleanliness and feature set. I can take a look at starting this adventure; overall someday it will need to implement AV1/h265 to stay relevant, most sources are h264 at the moment still.

Other interest

BogdanovKirill commented 5 years ago

Good point. Unfortunately I don't have camera/server to implement that now

mistal-distal commented 5 years ago

If you provide some way to contact/pay I will buy you one. I've got a few here and know which ones do h265 well.

Ive learned a lot more about C# reading through your code.

The RTSPPlayer example should be a github repo of its own. That quick Ffmpeg wrapper is awesome.

BogdanovKirill commented 5 years ago

If you provide some way to contact/pay I will buy you one. I've got a few here and know which ones do h265 well.

Ive learned a lot more about the intricate techniques of C# reading through your code.

The RTSPPlayer example should be a github repo of its own. That quick Ffmpeg wrapper is awesome.

Thank you for your feedback. You could buy H.265 camera and give me access through internet. I would try to impelement it.

BogdanovKirill commented 5 years ago

The RTSPPlayer example should be a github repo of its own. That quick Ffmpeg wrapper is awesome.

At the moment I don't want to do it, because it is not as much effective as it could be. It is possible to write much faster code (which don't use intermediate buffers to decode and draw frames)

BBUBBA commented 5 years ago

I tried Test (RTSP Performance) Last Weekend...

ffmpegAutogen & ffmediaelement & Rtspsharp & ODM (Without Buffering)

But.. This Project is Super fast.....

I waiting Support H.265 T_T.

Have a nice day. Everyone ~!

BogdanovKirill commented 5 years ago

@BBUBBA

Thank you for your feedback. Could you check new version in master branch please? There were new improvements in rtsp player in examples

BBUBBA commented 5 years ago

@BBUBBA

Thank you for your feedback. Could you check new version in master branch please? There were new improvements in rtsp player in examples

OK !!

I Trying Test now ^^

(Finished Test~! (2019-05-16) Master Brach Lib. still Super Fast ^^.) (i will Try stability Test this weekend ^^)

Thanks ~!!

mistal-distal commented 5 years ago

@BogdanovKirill

This is looking great, keep up the good work.

BogdanovKirill commented 5 years ago

@BBUBBA @DogFive Thank you for your feedback

BBUBBA commented 5 years ago

@BBUBBA @DogFive Thank you for your feedback

i really Thank you !! Mr. BogdanovKirill ~!

wangning08115 commented 5 years ago

@BogdanovKirill ,Thank you。 And can you give me some Software development documentation for H265. I'm a beginner, and i want reaearch this.

BogdanovKirill commented 5 years ago

@wangning08115 I would recommend you to analyze sources of FFMPEG. For example: https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/hevcdec.c https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/hevc_parser.c Also this could help: https://tools.ietf.org/html/rfc7798

amphineko commented 4 years ago

For RTSP servers with H.265 streams, you may try using VLC streaming feature:

vlc input.mp4 :sout=#transcode{vcodec=hevc,acodec=mpga,ab=128,channels=2,samplerate=44100,scodec=none}:rtp{sdp=rtsp://:8554/} :no-sout-all :sout-keep --loop

which will transcode input.mp4 to HEVC and serve via RTSP.

NapalmRain commented 3 years ago

Good day! Tell me please, do you have any new about adding of h.265 support?

Husseinbeygi commented 2 years ago

Hi hope you have nice day I implement this masterpiece in Blazor and got a live video with latency of 200 ms. but I ran to a problem about the HEVC x265 cameras did you manage the implementing of HEVC x265 support?

SandipBR commented 1 year ago

@BogdanovKirill Thanks a lot for this amazing piece of work. I used it in some projects and works like charm. I have multiple cameras with H265 rtsp stream. I could provide the link for the stream. I would really like to have this feature implemented. Please let me know how can I help. Thanks