spaam / svtplay-dl

Small command-line program to download videos from some streaming sites.
https://svtplay-dl.se
MIT License
714 stars 118 forks source link

Jerky video at TV4 play, fix possible #1227

Open suncore opened 4 years ago

suncore commented 4 years ago

Using svtplay-dl master: When downloading a video from TV4 play, the video is jerky/choppy. Instead of using ffmpeg to merge audio and video .ts, I used mkvmerge: mkvmerge -o foo.mkv input.ts input.audio.ts and the video is now smooth. Also, it is a lot faster to merge. Maybe it is possible to have mkv as alternative?

SYSophie commented 3 years ago

latest snapshot have support for dash . i will release it tomorrow :)

Great news! 🥳

May I suggest that DASH is fetched by default from tv4?

spaam commented 3 years ago

that wont work because the bitrate for HLS is a few % higher than dash and the script use bitrate do decide what quality is best.
changing which one to prefer is a bit bigger change and it wont happen in the next week(s). sure i could just remove HLS from tv4play, but that will break live video 🤔
but in the mean time if you want to use DASH for tv4play , you can use config option for it. something like:

service:
  tv4play:
     preferred: dash

if you dont know how to use a config file, https://svtplay-dl.se/config/ is a good page for it.

EmilSodergren commented 3 years ago

Can confirm that the config works with svtplay-dl 3.9.1. The dash download is a lot slower than the hls though, possibly some bandwidth limitation at tv4. The lag is gone though so thanks for all help