Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

import插件,画面总是重复播放前4sec的数据

Community Beginner ,
Oct 22, 2024 Oct 22, 2024

我使用GPUDeviceSuite->CreateGPUPPix创建一个PrPixelFormat_BGRA_4444_8u的outPPixHand,将数据写入其中后通过PPixCacheSuite->AddFrameToCache送出去。

 

结果遇到两个问题:

1 如果使用小一点的视频测试比如1600*800,画面循环播放前4sec的数据,后面的数据不会被播放,检查送给outPPixHand的数据,后面的数据是有按照顺序送进去的。

2 如果使用大一点的视频测试比如7000*3500,内存会急剧上升到一定程度后崩溃。

 

但是如果使用PPixCreatorSuite->CreatePPix创建一个PrPixelFormat_YUV_420_MPEG4_FRAME_PICTURE_PLANAR_8u_709的outPPixHand并写入数据的话是没有任何问题的。

 

咨询一下,在import插件中使用使用GPU内存输出有什么需要注意的地方吗?

TOPICS
Hardware or GPU , SDK
106
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 22, 2024 Oct 22, 2024
LATEST

premiere pro的版本是22.6.2,mac是Apple M2,macOS sonama 14.1。

视频帧率是29.97fps

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines