hls-downloader icon indicating copy to clipboard operation
hls-downloader copied to clipboard

Saves a long .ts file instead of .mp4 - not playable of course

Open zb-z opened this issue 5 years ago • 2 comments

Repro URL: https://tubitv.com/movies/278532/aeon_flux?start=true

You'll have to turn of uBlock for the site (haven't seen any popups, they just refuse to play video when they detect it) .

Extension version: 2.0.0

This could be a tough cookie - Stream Recorder (hlsloader.com) reports "HLS-encryption is not supported : abort", refuses to touch it, doesn't show resolutions ....

Your extension does show resolutions, downloads something (a lot 1.8 GB) but saves it as .ts (.ts re small files) which is nor payable either as is ow when renamed to .mp4.

If you have the time it might be good to dig into what the site's scripts are doing. Could be very instructional and maybe uncover an API for editing binary blocks.

For comparison, here's one from the same site that Stream Recorder doesn't trip. It shows that the problem has 2 parts. This extension again saves a large .ts, but renaming it to .mp4 does make it playable,

https://tubitv.com/movies/278532/aeon_flux?start=true

If there is actual crypto (probably just some garbling unless there's a standard interface) you may need to plan a bit of architecture to carry a config with per-site info and possibly a JS function or two, just to be ready to handle arbitrary messed up, well mess :-)

zb-z avatar Apr 29 '20 09:04 zb-z

@zb-z Did you discover any workaround for this?

pauloeli avatar Nov 08 '22 11:11 pauloeli

Oh I gave up long time ago :-) There are more problems with the .ts saved. The video ends up be being chopped in VLC. Win10 player does smooth it but I hate that player :-) since it doesn't give me enough control (like easy skipping with kbd and audio amplification) On Tuesday, November 8, 2022, 03:36:06 AM PST, Paulo Henrique Eli @.***> wrote:

@zb-z Did you discover any workaround for this?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

zb-z avatar Nov 09 '22 07:11 zb-z