You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have modified/tweaked the convert.py and downloader.py and provide the functions with a variable called method. When method == 'raw' the convert.py module saves the raw .ts version downloaded from Tapo and skips the ffmpeg conversion to .mp4.
When method == 'ffmpeg' the usual .mp4 will be created.
On Ubuntu and also Windows 10/11 you can simply view the .ts file and hear the audio as well.
On Ubuntu mpv Media Player, SMPlayer, VLC work with the .ts file.
So a conversion is not (always) per se needed.
Thanks when you build it in as a config option.
The text was updated successfully, but these errors were encountered:
I changed the convert.py and downloader.py (bot attached) a little and
added a variable to the def function(s) called method.
method == "ffmpeg" means that I use the original and get the .mp4 output
method == "raw" means I get the .ts output (see line 24 in convert.py)
Also in Downloader I changed something. Search for "method" and some
comments with "peter" in it.
That is how it got .ts raw files. Pretty simple at the end.
Op wo 22 mei 2024 om 12:23 schreef Manuel YGUEL ***@***.***>:
I have modified/tweaked the convert.py and downloader.py and provide the functions with a variable called method. When method == 'raw' the convert.py module saves the raw .ts version downloaded from Tapo and skips the ffmpeg conversion to .mp4.
When method == 'ffmpeg' the usual .mp4 will be created.
On Ubuntu and also Windows 10/11 you can simply view the .ts file and hear the audio as well.
On Ubuntu mpv Media Player, SMPlayer, VLC work with the .ts file.
So a conversion is not (always) per se needed.
Thanks when you build it in as a config option.
The text was updated successfully, but these errors were encountered: