dd94e5c773
More linting with typechecking and type annotations.
Frédéric Tronel
2025-10-31 09:54:53 +01:00
cb019413cc
More linting: no more camelcase variables, functions, arguments or methods.
Frédéric Tronel
2025-10-30 16:33:15 +01:00
40ca3e136b
More linting: no more camelcase for function names.
Frédéric Tronel
2025-10-29 14:54:42 +01:00
367cb440d8
Even more linting: function names with snake case, remove unused variables, wrong format f-strings, masked parameters.
Frédéric Tronel
2025-10-29 12:37:51 +01:00
c565699875
Even more linting: no more variable with camel case.
Frédéric Tronel
2025-10-29 10:04:47 +01:00
75f227786f
Still more linting (encoding for open, variables with snake case).
Frédéric Tronel
2025-10-28 10:55:47 +01:00
960de11b1b
More linting.
Frédéric Tronel
2025-10-27 15:48:41 +01:00
e192c66157
More linting: camel case for variable names, f-format strings.
Frédéric Tronel
2025-10-26 21:01:50 +01:00
23f1db5ffa
Even more linting (long lines, trailing spaces, module importation order, variable names).
Frédéric Tronel
2025-10-26 17:14:29 +01:00
926ee16433
Improve pylint score and fix most errors.
Frédéric Tronel
2025-10-25 16:09:11 +02:00
489435a87f
Improve pylint score and fix most errors.
Frédéric Tronel
2025-10-25 16:05:25 +02:00
efceec0e48
Huge improvement in the merging of the different video parts using different encoding profiles, since reproducing the H264 profile of broadcast movies in nearly impossible (some features do not have corresponding options in ffmpeg).
Frédéric Tronel
2025-09-19 16:41:16 +02:00
10234d67da
Improve the README with details about the processing workflow of the script.
Frédéric Tronel
2025-09-19 16:32:11 +02:00
7e5a500279
The clean target of the Makefile removes all intermediate files created by the script when used with the --keep option.
Frédéric Tronel
2025-09-19 16:31:03 +02:00
8aca12c422
We ignore mpeg TS and Matroska files.
Frédéric Tronel
2025-09-19 16:29:47 +02:00
b94f865831
We handle the case where subtitles track are eventually empty after processing.
Frédéric Tronel
2023-12-24 16:52:40 +01:00
48cc4f8a27
hexdump package is required.
Frédéric Tronel
2023-12-24 14:31:20 +01:00
889b8dd6dc
Subtitles extracted through OCR can be remuxed with the final cut movie (in addition to image based ones).
Frédéric Tronel
2023-12-24 14:29:42 +01:00
ffce9aecdf
Handling of OCR to generate subtitles files is working.
Frédéric Tronel
2023-12-22 14:57:25 +01:00
03922a76d2
Add dependancy to library iso639 that supports the normalized names of languages.
Frédéric Tronel
2023-12-22 10:42:34 +01:00
f23423ca8d
Code to take into account the potential change of length field when modifying the EBML tree structure.
Frédéric Tronel
2023-12-20 10:46:54 +01:00
3681ff33f3
Remove code that was here to debug the codec private data changes.
Frédéric Tronel
2023-12-20 10:05:52 +01:00
59b55bac6c
Make mkvmerge speaks english for its outputs so that the code is neutral with respect to locally installed languages.
Frédéric Tronel
2023-12-20 09:56:39 +01:00
2bf9b467bb
We handle the cases where the old codec private data size is larger, smaller or equal to the new one.
Frédéric Tronel
2023-12-19 14:12:23 +01:00
6959e83327
Add a new option to not take into account sequences that are shorter than a certain threshold.
Frédéric Tronel
2023-12-18 16:14:57 +01:00
2f425aa9cf
Adding a bunch of functions to modify codec private data inside video tracks, correct mkv binary representation after such changes.
Frédéric Tronel
2023-12-18 16:14:08 +01:00
556d88d73a
mkvinfo command is now mandatory.
Frédéric Tronel
2023-12-18 16:11:46 +01:00
af52c80a8e
Positioning inside files using lseek is made uniformly.
Frédéric Tronel
2023-12-18 16:11:05 +01:00
04d23ca1b2
The langage used by commands cannot be set using locales module.
Frédéric Tronel
2023-12-18 16:09:48 +01:00
88d9d15496
If we only try to convert from .ts to .mp4 or .mkv, without any cut, do not remove output file.
Frédéric Tronel
2023-12-15 09:38:47 +01:00
b1c58fc53a
Correction d'un bug qui ne passe pas le chemin de ffmpeg dans la fonction ffmpegConvert.
Frédéric Tronel
2023-12-12 12:07:36 +01:00
4070f34a60
Ajout d'une large partie du code nécessaire à l'extraction des sous-titres via OCR.
Frédéric Tronel
2023-12-12 11:57:03 +01:00
650724c966
Fix a typo.
Frédéric Tronel
2023-12-02 21:04:07 +01:00
40592dcec2
Add a function to retrieve timestamp of a frame (with multiple ffmpeg version).
Frédéric Tronel
2023-12-02 21:03:15 +01:00
da13f3e9c8
Missing a float conversion.
Frédéric Tronel
2023-12-02 20:57:59 +01:00
b4e304d9ab
Fix a typo.
Frédéric Tronel
2023-12-02 20:56:49 +01:00
44d47a564c
Make the script compatible with older version of ffmpeg.
Frédéric Tronel
2023-12-02 20:53:49 +01:00
b8394069fb
Correct the name of an optional tool: vobsubocr.
Frédéric Tronel
2023-12-02 18:10:18 +01:00
124772aaeb
Closing of memory filedescriptor right after their usage (to save memory).
Frédéric Tronel
2023-12-02 17:29:36 +01:00
076e3c990b
Better performances and simplification by removing pipes and using memory file descriptors.
Frédéric Tronel
2023-12-02 17:25:55 +01:00
d549311e20
We don't need pygame as a dependency.
Frédéric Tronel
2023-12-02 17:23:54 +01:00
4a1bf64bda
A makefile to clean all temp files.
Frédéric Tronel
2023-12-01 16:49:59 +01:00
58ec094cfc
A comment to remember how to extract SPS and PPS from a file with ffmpeg.
Frédéric Tronel
2023-12-01 16:48:27 +01:00
0f46dc9fda
New functions to extract subtitles at the end of processing. A new option to extract them.
Frédéric Tronel
2023-12-01 16:48:01 +01:00
cf4850c8dc
The progress bar for pictures extraction are now counted in number of pictures.
Frédéric Tronel
2023-12-01 16:47:15 +01:00
ed0494b540
Tools that are search for at startup are now categorized in required and optional.
Frédéric Tronel
2023-12-01 16:46:16 +01:00
22592214bb
Add a .gitignore to help having a better git status output.
Frédéric Tronel
2023-12-01 16:44:09 +01:00
0678716c1c
Add a .gitignore to help having a better git status output.
Frédéric Tronel
2023-12-01 16:43:49 +01:00
685365388e
Adding an option to dump images of trailers and headers of each part for debugging purpose.
Frédéric Tronel
2023-11-30 21:06:50 +01:00
4bd294e26b
A better README.
Frédéric Tronel
2023-11-30 16:14:20 +01:00
840aa5c41f
The tqdm library is necessary.
Frédéric Tronel
2023-11-30 16:13:58 +01:00
9f9e17e6ca
Numerous improvements. The base code is fully functional.
Frédéric Tronel
2023-11-30 16:13:11 +01:00
77b7638573
Fichier textuel pour la gestion des sous-titres vides.
Frédéric Tronel
2023-11-28 16:19:42 +01:00
28933b8281
On gère le framerate de la vidéo. On gère le cas où le début et/ou la fin tombe sur une i-frame. On affiche les timestamps à vérifier dans la vidéo finale.
Frédéric Tronel
2023-11-28 16:19:16 +01:00
73c44f0da3
On ne parse pas les espaces de colorimétrie.
Frédéric Tronel
2023-11-28 16:18:19 +01:00
7b491c6af4
Les début et fin de partie sont réencodées correctement. La fusion fonctionne (presque) correctement. Des sous-titres vides sont ajoutés pour les débuts et fins de partie.
Frédéric Tronel
2023-11-28 15:00:58 +01:00
35e4e76e2f
On est capable d'encoder les tête et fin de partie avec presque les mêmes réglages que l'original.
Frédéric Tronel
2023-11-28 11:30:50 +01:00
21a7cba7d5
Inner parts ared dumped as MKV. Head and tail of each part are dumped for video and sound.
Frédéric Tronel
2023-11-26 22:47:33 +01:00
d14b5a3890
Initial version of the Python script to remove ads from TV recording.
Frédéric Tronel
2023-11-26 18:13:32 +01:00