File tree 3 files changed +31
-8
lines changed
3 files changed +31
-8
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,13 @@ All notable changes to this project will be documented in this file.
4
4
The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
5
5
and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
6
6
7
- ## [ Unreleased ]
7
+ ## [ 0.2.1 ] - 2021-09-01
8
8
### Added
9
9
- This changelog
10
10
11
+ ### Fixed
12
+ - Fixed bug in non-encrypted USM creation by [ @emoose ] ( https://github.com/emoose ) .
13
+
11
14
## [ 0.2.0] - 2021-08-11
12
15
### Added
13
16
- __ main__ .py.
@@ -24,5 +27,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
24
27
- Fixed bug in extractusm that causes it to fail when output directory doesn't exist.
25
28
- Fixed bug where program fails when directory exists.
26
29
27
- [ Unreleased ] : https://github.com/donmai-me/WannaCRI/compare/0.2.0...HEAD
30
+ [ 0.2.1 ] : https://github.com/donmai-me/WannaCRI/compare/0.2.0...0.2.1
28
31
[ 0.2.0 ] : https://github.com/donmai-me/WannaCRI/compare/0.1.0...0.2.0
Original file line number Diff line number Diff line change @@ -5,12 +5,32 @@ WannaCRI
5
5
A (WIP) Python library for parsing, extracting, and generating Criware's various audio and video file formats.
6
6
If you're interested in reading more about USM, you can read my write-up about it [ here] ( https://listed.to/@donmai/24921/criware-s-usm-format-part-1 )
7
7
8
- Currently supports the following formats with more planned:
9
- * USM (encrypted and plaintext)
10
- * VP9
11
- * H.264 (in-progress)
8
+ Support
9
+ =======
10
+ This currently supports the following formats with more planned:
11
+
12
+ ✅: Implemented and tested ❓: Should work but not tested ❌: Not implemented
13
+
14
+ x/y: Extract support / Create support
15
+
16
+ ## USM
17
+
18
+ ### Video
19
+
20
+ | Codec | Not-encrypted | Encrypted |
21
+ | ----- | ----- | ----- |
22
+ | VP9 | ✅ / ✅ | ✅ / ✅ |
23
+ | H.264 | ✅ / ❌ | ❓ / ❌ |
24
+ | Prime | ❓ / ❌ | ❓ / ❌ |
25
+
26
+ ### Audio
12
27
28
+ | Codec | Not-encrypted | Encrypted |
29
+ | ----- | ----- | ----- |
30
+ | CRI HCA | ✅ / ❌ | ✅ / ❌ |
13
31
32
+ Requirements
33
+ ============
14
34
This library has the following requirements:
15
35
16
36
A working FFmpeg and FFprobe installation. On Windows, you can download official ffmpeg and ffprobe binaries and place them on your path.
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ def from_file(path: str, ffprobe_path: str = "ffprobe") -> Sofdec2Codec:
14
14
info = ffmpeg .probe (path , cmd = ffprobe_path )
15
15
16
16
if len (info .get ("streams" )) == 0 :
17
- raise ValueError ("File has no videos streams." )
17
+ raise ValueError ("File has no video streams." )
18
18
19
19
codec_name = info .get ("streams" )[0 ].get ("codec_name" )
20
20
if codec_name == "vp9" :
@@ -26,7 +26,7 @@ def from_file(path: str, ffprobe_path: str = "ffprobe") -> Sofdec2Codec:
26
26
# TODO: Check if we need to have extra checks on h264 bitstreams
27
27
return Sofdec2Codec .H264
28
28
if codec_name == "mpeg2video" :
29
- # TODO: Check if we need to have extra checks on h264 bitstreams
29
+ # TODO: Check if we need to have extra checks on MPEG2 bitstreams
30
30
return Sofdec2Codec .PRIME
31
31
32
32
raise ValueError (f"Unknown codec { codec_name } " )
You can’t perform that action at this time.
0 commit comments