Skip to main content

# Video2Video

Project description

Video2Video

FFMPegFFMPeg-Python를 사용하여 Video to Video 변환을 수행하는 Python Package 입니다.

비디오 변환 시, 각 Frame에 추가적인 처리를 편하게 하기 위해 제작되었습니다.

Main Status

Unit Tests Check Format Publish to PyPi

Install

pip install v2v

Example

Video2ImageProcessor

비디오에서 이미지들을 추출합니다. (Example)

Image2VideoProcessor

이미지들을 사용하여 비디오를 생성합니다. (Example)

AudioExtractor

비디오에서 오디오를 추출합니다. (Example)

AudioMerger

비디오와 오디오를 병합하여 새롭게 비디오를 생성합니다. (Example)

Video2VideoProcessor

위 클래스들을 활용하여 비디오를 비디오로 변환합니다. (Example)

Use Video2VideoProcessor

Video2VideoProcessor는 Constructor method의 Parameter로 'frame_processor_pool'을 받습니다.

  • frame_processor_pool | type : IFrameProcessorPool

이 Instance(frame_processor_pool)는 내부적으로 frame이 생성 될 때 마다 호출됩니다.

따라서 Abstracted Class인 IFrameProcessorPool을 상속하여 새로운 Class를 생성한 뒤,
그 Class의 Instance를 frame_processor_pool 파라미터로 넘겨주면 Frame 별 Processing이 가능합니다.

IFrameProcessorPool을 상속한 Class의 생성은 이 코드이 코드를 참조하세요.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

v2v-1.2.4.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

v2v-1.2.4-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

Details for the file v2v-1.2.4.tar.gz.

File metadata

  • Download URL: v2v-1.2.4.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for v2v-1.2.4.tar.gz
Algorithm Hash digest
SHA256 c93c52fe6990df3f4789425647f111eb939f016c9f85ac9bc8a66f1b57b6e9d3
MD5 5c319a71291e4d1284851f99261af6b7
BLAKE2b-256 0240f9dc8676a79d21bba6b465ef15ebc5a3d37b337b624a9300b8cb354ea12a

See more details on using hashes here.

File details

Details for the file v2v-1.2.4-py3-none-any.whl.

File metadata

  • Download URL: v2v-1.2.4-py3-none-any.whl
  • Upload date:
  • Size: 15.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for v2v-1.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2479cbfef3b54ae275f7999faa9eadd825ee78adca3e23e6be467daad4a8efd5
MD5 b33f46f571f098f26ca6287c91524ee7
BLAKE2b-256 0198f9d6d82568848d9fcee1495bf973ea94f6e6d655e67e0c7a7017bc762d8e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page