dify icon indicating copy to clipboard operation
dify copied to clipboard

Video frame extraction

Open charli117 opened this issue 1 year ago • 3 comments

Description

Using video frame extraction and ASR technology to realize short video content inference

When debugging ChatFlow app、Workflow app in the development environment, change 'api/core/file/file_obj.py' as follows: ’‘’ @Property def preview_url(self) -> Optional[str]: """ Get signed preview url :return: """ return self._get_data(force_url=True) ‘’‘ change to ’‘’ @Property def preview_url(self) -> Optional[str]: """ Get signed preview url :return: """ return self._get_data(force_url=False) ‘’‘

Fixes # (issue)

Type of Change

Please delete options that are not relevant.

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [ ] This change requires a documentation update, included: Dify Document
  • [ ] Improvement, including but not limited to code refactoring, performance optimization, and UI/UX improvement
  • [ ] Dependency upgrade

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration WechatIMG1352 WechatIMG1340 11

  • [ ] TODO

Suggested Checklist:

  • [x] I have performed a self-review of my own code
  • [x] I have commented my code, particularly in hard-to-understand areas
  • [x] My changes generate no new warnings
  • [x] I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods
  • [ ] optional I have made corresponding changes to the documentation
  • [ ] optional I have added tests that prove my fix is effective or that my feature works
  • [ ] optional New and existing unit tests pass locally with my changes

charli117 avatar May 04 '24 17:05 charli117

We are currently reorganizing and designing the file data structure. We will communicate with you about adjustments after we finish the design. 😁

takatost avatar May 05 '24 13:05 takatost

We are currently reorganizing and designing the file data structure. We will communicate with you about adjustments after we finish the design. 😁

Okay, no problem.

charli117 avatar May 05 '24 15:05 charli117

We have aligned on this requirement within our team. Since this feature is beyond the capabilities of the native multimodal model, and the positioning of the basic chatbot is low-threshold, we suggest providing support at the tool level for use by Workflow professionals.

takatost avatar Jun 19 '24 05:06 takatost