spaam / svtplay-dl

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

svtplay - why muxing working ts files to mp4? #822

Open Sopor opened 6 years ago

Sopor commented 6 years ago

Why muxing ts files to mp4 on SVTPlay? When doing this it takes much more time and the bitrate of the file will also decrease. I was trying to download HDS files but that didn't worked but as you can see it is available

INFO: Quality   Method
INFO: 3102      DASH
INFO: 2793      HLS
INFO: 2793      HDS

ERROR: Streams not available to download.

I would like to be able to disable muxing on sites that are not require it.

$ svtplay-dl -P hls https://www.svtplay.se/video/17048066/gransland/gransland-sasong-1-avsnitt-1
INFO: Selected to download hls, bitrate: 2793
INFO: Outfile: gransland.s01e01.avsnitt.1.nikolais.dilemma-d3efa3f-svtplay.ts
[263/263][==============================================================================================================] ETA: 0:00:00
INFO: Muxing gransland.s01e01.avsnitt.1.nikolais.dilemma-d3efa3f-svtplay.ts into gransland.s01e01.avsnitt.1.nikolais.dilemma-d3efa3f-svtplay.mp4

svtplay-dl 1.9.8

spaam commented 6 years ago

because of your ticket #665, this other one #601 and this #794

Sopor commented 6 years ago

But it is not all the sites that require this. That is why i ask. I don't think SVT needs it. I downloaded the episode from issue #794 and i can play it in VLC, MPC HomeCinema, WMP and Kodi without doing anything with the file. What i know, it is only Viafree that requires this muxing. So i would love to see a switch (--noremux) that will disable muxing.