1.  Generate test sources:   image and its h264 file.

                - copy 1 images for 100 times.

                   import shutil

                   source = "./1.png"
                   for i in range(2,100):
                          target = "./" + str(i) + ".png"
                          #print(target)
                          shutil.copy(source,target)

                - generate 20fps yuv420p h264 file ( ffmpeg -framerate 20 -i "%d.png" -vcodec h264 -b:v 10485760 -pix_fmt yuv420p "yuv420p_20fps.h264" )

 

 

相关文章:

  • 2021-10-27
  • 2021-12-04
  • 2021-06-17
  • 2021-10-12
  • 2021-12-04
  • 2021-12-20
  • 2021-12-16
  • 2021-06-05
猜你喜欢
  • 2021-06-11
  • 2022-12-23
  • 2022-12-23
  • 2021-11-30
  • 2022-02-06
  • 2021-10-01
  • 2021-12-03
相关资源
相似解决方案