RtspClientSharp icon indicating copy to clipboard operation
RtspClientSharp copied to clipboard

AV1 or HEVC/H265 Stream Support

Open mistal-distal opened this issue 5 years ago • 16 comments

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

mistal-distal avatar Feb 11 '19 02:02 mistal-distal

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

BogdanovKirill avatar Feb 21 '19 08:02 BogdanovKirill

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.

mistal-distal avatar Mar 19 '19 05:03 mistal-distal

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 avatar Mar 23 '19 13:03 BogdanovKirill

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)

BogdanovKirill avatar Mar 23 '19 13:03 BogdanovKirill

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 ~!

BBUBBA avatar May 15 '19 00:05 BBUBBA

@BBUBBA

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

BogdanovKirill avatar May 15 '19 11:05 BogdanovKirill

@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 ~!!

BBUBBA avatar May 16 '19 01:05 BBUBBA

@BogdanovKirill

This is looking great, keep up the good work.

mistal-distal avatar May 16 '19 02:05 mistal-distal

@BBUBBA @DogFive Thank you for your feedback

BogdanovKirill avatar May 16 '19 07:05 BogdanovKirill

@BBUBBA @DogFive Thank you for your feedback

i really Thank you !! Mr. BogdanovKirill ~!

BBUBBA avatar May 16 '19 08:05 BBUBBA

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

wangning08115 avatar Jul 11 '19 11:07 wangning08115

@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

BogdanovKirill avatar Jul 16 '19 05:07 BogdanovKirill

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.

amphineko avatar Nov 21 '19 20:11 amphineko

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

NapalmRain avatar Dec 29 '20 06:12 NapalmRain

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?

Husseinbeygi avatar Jan 12 '22 09:01 Husseinbeygi

@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

SandipBR avatar Sep 22 '22 16:09 SandipBR