Ticket #1679 (new enhancement)

Opened 6 years ago

Video FPS/framerate converter

Reported by: nanang Owned by: nanang
Priority: normal Milestone: Known-Issues-and-Ideas
Component: pjmedia Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description

When first PJSUA video preview (capturer) is started with framerate 30 fps, any video call using that capturer will "process" video stream with framerate 30 fps too, regardless if video stream is started with different framerate (and the RTP timestamp still uses video stream framerate, instead of capturer framerate).

Workaround:

  • By closing the video preview before call established, so capturer will be opened with framerate based on call video stream settings.

Attachments

fps-converter.patch (3.8 KB) - added by nanang 6 years ago.
Proposed patch from Arkadiusz Wronski, thanks. Note: Works only in case we want to lower the fps, and tested only with values being multiplication of 5.
fps-converter-ver2.patch (3.9 KB) - added by ming 5 years ago.
Revised version to support multiple streams

Change History

Changed 6 years ago by nanang

Proposed patch from Arkadiusz Wronski, thanks. Note: Works only in case we want to lower the fps, and tested only with values being multiplication of 5.

Changed 5 years ago by ming

Revised version to support multiple streams

Note: See TracTickets for help on using tickets.