Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

request to support download of RAW (.ts) video. #94

Open
peterstamps opened this issue Dec 4, 2023 · 3 comments
Open

request to support download of RAW (.ts) video. #94

peterstamps opened this issue Dec 4, 2023 · 3 comments

Comments

@peterstamps
Copy link

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.

@yguel
Copy link

yguel commented May 22, 2024

Hi peterstamps,
Can you share info/link on the image encoding for the raw .ts ?
I would like to get an image without ffmpeg or jpeg compression.

@peterstamps
Copy link
Author

peterstamps commented May 25, 2024 via email

@JurajNyiri
Copy link
Owner

@peterstamps feel free to open PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants