lipdub 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.rspec +3 -0
- data/CHANGELOG.md +50 -0
- data/LICENSE.txt +21 -0
- data/README.md +955 -0
- data/Rakefile +41 -0
- data/lib/lipdub/client.rb +139 -0
- data/lib/lipdub/configuration.rb +17 -0
- data/lib/lipdub/errors.rb +25 -0
- data/lib/lipdub/resources/audios.rb +182 -0
- data/lib/lipdub/resources/base.rb +31 -0
- data/lib/lipdub/resources/projects.rb +53 -0
- data/lib/lipdub/resources/shots.rb +400 -0
- data/lib/lipdub/resources/videos.rb +163 -0
- data/lib/lipdub/version.rb +5 -0
- data/lib/lipdub.rb +33 -0
- data/lipdub.gemspec +46 -0
- metadata +205 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 0de5fb10939643766b8a75fcd63be522025657f2dcd8daea0c0fd27fb0319e82
|
|
4
|
+
data.tar.gz: 98afa1b0592516596bc4de91e4201dde601675c7256a87e38f7339b895e6dd88
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: af5a0b5d71c10140ab529e36bfc09a43d19fd6e8bfb1518d5ffc1048aa904dc419227b5c5cefa3101e63c88187a61cc2c91241422d3c9c765d1fbca54b9c1967
|
|
7
|
+
data.tar.gz: 513181189dc54447c4c5aa014d3c88091f5433f29543309a1f59cc4255983a87b5a2a1d0de859eff24b410b5a4becc7d54307f9ff3a35e4c931bcf648d6aefd8
|
data/.rspec
ADDED
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- GitHub Actions CI workflow for automated testing
|
|
12
|
+
- Security audit with bundler-audit gem
|
|
13
|
+
- Support for Ruby 2.7, 3.0, 3.1, 3.2, and 3.3 in CI
|
|
14
|
+
- Project listing functionality (`GET /v1/projects`)
|
|
15
|
+
- Shot actors endpoint (`GET /v1/shots/{shot_id}/actors`)
|
|
16
|
+
- Shot translation endpoint (`POST /v1/shots/{shot_id}/translate`)
|
|
17
|
+
- Multi-actor generation endpoint (`POST /v1/shots/{shot_id}/generate-multi-actor`)
|
|
18
|
+
- Enhanced shot generation with new parameters (start_frame, loop_video, full_resolution, callback_url, timecode_ranges)
|
|
19
|
+
- Selective lip-dubbing functionality with timecode range validation and helper methods
|
|
20
|
+
- Comprehensive timecode handling (numeric seconds and SMPTE format)
|
|
21
|
+
- Frame buffer utility for seamless selective lip-dubbing transitions
|
|
22
|
+
|
|
23
|
+
### Fixed
|
|
24
|
+
- RSpec test compatibility issues with WebMock
|
|
25
|
+
- JSON parsing in all upload_complete methods
|
|
26
|
+
- File stubbing in test suite for better isolation
|
|
27
|
+
- Content-Type headers in all WebMock stubs
|
|
28
|
+
|
|
29
|
+
### Changed
|
|
30
|
+
- Enhanced documentation with CI and security audit information
|
|
31
|
+
- Updated contributing guidelines to include security audit step
|
|
32
|
+
- Added comprehensive selective lip-dubbing workflow examples and best practices
|
|
33
|
+
- Expanded README with detailed timecode usage examples
|
|
34
|
+
|
|
35
|
+
## [0.1.0] - 2025-09-26
|
|
36
|
+
|
|
37
|
+
### Added
|
|
38
|
+
- Initial release of the Lipdub Ruby client
|
|
39
|
+
- Video upload functionality with complete workflow support
|
|
40
|
+
- Audio upload functionality with validation
|
|
41
|
+
- Shot generation and monitoring capabilities
|
|
42
|
+
- File download functionality
|
|
43
|
+
- Comprehensive error handling with custom exceptions
|
|
44
|
+
- Full test coverage with RSpec
|
|
45
|
+
- Complete documentation and usage examples
|
|
46
|
+
- Support for multiple video formats (MP4, MOV, AVI, WebM, MKV)
|
|
47
|
+
- Support for multiple audio formats (MP3, WAV, MP4/M4A)
|
|
48
|
+
- Configurable timeouts and base URL
|
|
49
|
+
- Automatic content type detection
|
|
50
|
+
- Status monitoring and polling capabilities
|
data/LICENSE.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 Upriser
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|