-2

For one of our 3rd party tool to work we need our AVI files should contain the Frame rate mode : Variable Using FFMPEG is it possible to add this tag in the video section?

Tried different commands like

ffmpeg -i Input.avi -r 30 Output.avi

ffmpeg -i Input.avi -vf "fps=30,settb=1/1000" Output.avi

ffmpeg -i Input.avi -r 30 -fps_mode vbr Output.avi

But none of them inserting the "Frame rate Mode" tag.

Expected structure is:

mediainfo Input.avi 
General
Complete name                            : Input.avi
Format                                   : AVI
Format/Info                              : Audio Video Interleave
Format settings                          : BitmapInfoHeader / WaveFormatEx
File size                                : 2.17 MiB
Duration                                 : 30 s 613 ms
Overall bit rate                         : 596 kb/s
Frame rate                               : 30.000 FPS
Writing application                      : Lavf57.19.100

Video
ID                                       : 0
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 4 frames
Codec ID                                 : H264
Duration                                 : 30 s 33 ms
Bit rate                                 : 447 kb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
**Frame rate mode                          : Variable**
Frame rate                               : 30.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.007
Stream size                              : 1.60 MiB (74%)
Writing library                          : x264 core 148
  • Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. – Community Aug 07 '23 at 17:28
  • I’m voting to close this question because , as the ffmpeg tag states: Only questions about programmatic use of the FFmpeg libraries, API, or tools are on topic. Questions about interactive use of the command line tool should be asked on https://superuser.com/ or https://video.stackexchange.com/. Please delete this. – Rob Aug 08 '23 at 07:49

0 Answers0