Streampunk / beamcoder

Node.js native bindings to FFmpeg.
GNU General Public License v3.0
392 stars 76 forks source link

How to use av_rescale_q_rnd/av_rescale_q in beamcoder ? #89

Open rockinggit opened 2 years ago

rockinggit commented 2 years ago

Hello,

I am trying to generate a stream with video/audio packets in sync. To set pts/dts in need to calculate, using native ffmpeg av_rescale_q_rnd and av_rescale_q function are used for this purpose.

Can you please elborate API in beamcoder for this purpose ? Any example would be really helpful.

Thanks