pytapo
pytapo copied to clipboard
request to support download of RAW (.ts) video.
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.