File tree Expand file tree Collapse file tree 3 files changed +31
-8
lines changed
Expand file tree Collapse file tree 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.
44The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
55and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
66
7- ## [ Unreleased ]
7+ ## [ 0.2.1 ] - 2021-09-01
88### Added
99- This changelog
1010
11+ ### Fixed
12+ - Fixed bug in non-encrypted USM creation by [ @emoose ] ( https://github.com/emoose ) .
13+
1114## [ 0.2.0] - 2021-08-11
1215### Added
1316- __ main__ .py.
@@ -24,5 +27,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2427- Fixed bug in extractusm that causes it to fail when output directory doesn't exist.
2528- Fixed bug where program fails when directory exists.
2629
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
2831[ 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
55A (WIP) Python library for parsing, extracting, and generating Criware's various audio and video file formats.
66If 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 )
77
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
1227
28+ | Codec | Not-encrypted | Encrypted |
29+ | ----- | ----- | ----- |
30+ | CRI HCA | ✅ / ❌ | ✅ / ❌ |
1331
32+ Requirements
33+ ============
1434This library has the following requirements:
1535
1636A 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:
1414 info = ffmpeg .probe (path , cmd = ffprobe_path )
1515
1616 if len (info .get ("streams" )) == 0 :
17- raise ValueError ("File has no videos streams." )
17+ raise ValueError ("File has no video streams." )
1818
1919 codec_name = info .get ("streams" )[0 ].get ("codec_name" )
2020 if codec_name == "vp9" :
@@ -26,7 +26,7 @@ def from_file(path: str, ffprobe_path: str = "ffprobe") -> Sofdec2Codec:
2626 # TODO: Check if we need to have extra checks on h264 bitstreams
2727 return Sofdec2Codec .H264
2828 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
3030 return Sofdec2Codec .PRIME
3131
3232 raise ValueError (f"Unknown codec { codec_name } " )
You can’t perform that action at this time.
0 commit comments