Differences between main and dev branches
What branch should be preferred? I've started using the dev one, and till now it works ok for me... However, it seems it lacks support for Filters. Is there any workaround for this, or should I switch to the main branch?
ehh, dev is preferred. The filters section I would like as an add-on package, such as FFmpeg4Sharp.Filter, but I'm currently focusing on the codec part, if you want to use filters now, please use the main branch.
Thanks! Im' currently capturing a RTSP stream as images and I'm trying to figure out how to slow down the frame rate (so I can limit it to, let's say, 5 images per second).
I found this property in MediaCodecContextBase:
https://github.com/IOL0ol1/EmguFFmpeg/blob/6f202d4b377fad0f3600f4f64768bfd0106c4f13/src/Internal/MediaCodecContextBase.cs#L651
I have been playing with some values but it seems not to afffect to the output.
Thank you for providing practical application scenarios.
Using filters is a best practice, click here -vf framerate=fps=5 The dev branch has not yet encapsulated the filter part, you can refer to here to reduce the frame according to PTS.
@igece I would like to get video / images from RTP stream / packets too Do you have any code to share about this ? it will be very helpful ! Thanks
@igece I would like to get video / images from RTP stream / packets too Do you have any code to share about this ? it will be very helpful ! Thanks
like this? https://github.com/IOL0ol1/EmguFFmpeg/blob/dev/example/FFmpegSharp.Example/Other/DecodeRtsp.cs
Great example ! Unfortunately I have access only to RTP packets directly coming from a WebRTC communications already created. I know Audio/Video codecs used and also the SDP. I would like to decode the stream from these RTP packets
@IOL0ol1 In the meanwhile, could it be possible to use the MediaFilter implementation from main branch and use it with dev?
I'll start working on the filters section next.
@IOL0ol1 In the meanwhile, could it be possible to use the MediaFilter implementation from main branch and use it with dev?