puemos / hls-downloader

Web Extension for sniffing and downloading HTTP Live streams (HLS)
https://puemos.gitbook.io/hls-downloader/
MIT License
1.77k stars 228 forks source link

downloaded videos are not playing #308

Open theGUYmania opened 7 months ago

theGUYmania commented 7 months ago

Describe the bug it is able to detect and download the HLS videos but is saving them in .ts format and i have used every possible media player and the video is not even playing, and it is also not uploading on any platform.

Expected behavior i expected the extension to download the detected HLS video in .mp4 format.

Desktop (please complete the following information):

please fix this issue ASAP

kellyatkinson commented 7 months ago

This is expected behaviour, not a bug. VLC will play .ts videos with no problems. You can also rename the files to .mp4 manually and they will play too.

Please close this issue.

theGUYmania commented 7 months ago
Screenshot (1) Screenshot (2)

i used VLC player and pot player to play the videos. None of these two could okay the video. That's why i raised this issue here. renaming the file also did not solve the issue.

bsv2019 commented 7 months ago

use ffmpeg to convert the .ts file to .mp4 using "ffmpeg -i video.ts -c copy video.mp4". This is much better than renaming as it will re-package the video properly in mp4 format with proper frames, and without re-encoding. The video will stutter if you just rename it.

bsv2019 commented 7 months ago

However, if the extension had the option to run that command on each .ts file and save as .mp4 that would be great!

theGUYmania commented 7 months ago

However, if the extension had the option to run that command on each .ts file and save as .mp4 that would be great! use ffmpeg to convert the .ts file to .mp4 using "ffmpeg -i video.ts -c copy video.mp4". This is much better than renaming as it will re-package the video properly in mp4 format with proper frames, and without re-encoding. The video will stutter if you just rename it.

The extension does not have such an option. I am now using VeeVee video downloader. this extension provide a much better way and download the files as .mp4 automatically