mirror of
https://github.com/NohamR/OqeeRewind.git
synced 2026-01-10 08:08:20 +00:00
Update comments, logging, and fix tick diff calculation
This commit is contained in:
@@ -123,8 +123,8 @@ In order to decrypt DRM content, you will need to have a dumped CDM, after that
|
|||||||
- [x] CLI arguments implementation + documentation
|
- [x] CLI arguments implementation + documentation
|
||||||
- [x] French/English full translation
|
- [x] French/English full translation
|
||||||
- [ ] Better output system
|
- [ ] Better output system
|
||||||
- [ ] Add more comments in the code
|
- [x] Add more comments in the code
|
||||||
- [ ] Logging system
|
- [x] Logging system
|
||||||
- [ ] Live direct restream support
|
- [ ] Live direct restream support
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
0
download/.gitkeep
Normal file
0
download/.gitkeep
Normal file
2
main.py
2
main.py
@@ -339,7 +339,7 @@ if __name__ == "__main__":
|
|||||||
track_id_audio = audio_data["track_id"]
|
track_id_audio = audio_data["track_id"]
|
||||||
start_tick_video = video_data["start_tick"]
|
start_tick_video = video_data["start_tick"]
|
||||||
start_tick_audio = audio_data["start_tick"]
|
start_tick_audio = audio_data["start_tick"]
|
||||||
diff_start = start_tick_video - start_tick_audio
|
diff_start = start_tick_audio - start_tick_video
|
||||||
diff_start_sec = convert_ticks_to_sec(diff_start, TIMESCALE)
|
diff_start_sec = convert_ticks_to_sec(diff_start, TIMESCALE)
|
||||||
|
|
||||||
# ffmpeg -i "concat:init.mp4|merged_dec.m4s" -c copy output.mp4
|
# ffmpeg -i "concat:init.mp4|merged_dec.m4s" -c copy output.mp4
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ async def bruteforce(track_id, date):
|
|||||||
total_requests = 288000
|
total_requests = 288000
|
||||||
batch_size = 20000
|
batch_size = 20000
|
||||||
|
|
||||||
logger.debug("Starting bruteforce for %s", track_id)
|
logger.debug("Starting bruteforce for %s near %s", track_id, date)
|
||||||
|
|
||||||
start_time = time.time()
|
start_time = time.time()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user