docstr: Decimal point frame rate is properly saved
  
  https://github.com/pytorch/audio/issues/2830
docstr_tok: ["Decimal","point","frame","rate","is","properly","saved","https",":","\/\/github.com\/pytorch\/audio\/issues\/2830"]
code: def test_preserve_fps(self):
      """Decimal point frame rate is properly saved
  
      https://github.com/pytorch/audio/issues/2830
      """
      ext = "mp4"
      filename = f"test.{ext}"
      frame_rate = 5000 / 167
      width, height = 96, 128
  
      # Write data
      dst = self.get_temp_path(filename)
      writer = torchaudio.io.StreamWriter(dst=dst, format=ext)
      writer.add_video_stream(
          frame_rate=frame_rate, width=width, height=height
      )
  
      video = torch.randint(
          256, (90, 3, height, width), dtype=torch.uint8
      )
      with writer.open():
          writer.write_video_chunk(0, video)
      # Load data
      reader = torchaudio.io.StreamReader(
          src=self.get_temp_path(filename)
      )
      assert reader.get_src_stream_info(0).frame_rate == frame_rate
  
imports: import io
  import math
  import torch
  import torchaudio
  from parameterized import parameterized, parameterized_class
  from torchaudio.io import CodecConfig, StreamReader, StreamWriter
  from torchaudio_unittest.common_utils import get_asset_path, get_sinusoid, nested_params, rgb_to_yuv_ccir, skipIfNoFFmpeg, skipIfNoModule, TempDirMixin, TorchaudioTestCase
  from .common import lt42
label_desc: Use image node_id 8 for calling the StreamWriterCorrectnessTest obj's underlying member method code with example usage: obj.test_preserve_fps() without return types