Command-line utility that extracts streams from various services and pipes them into a video player of choice. No longer maintained, use streamlink or youtube-dl instead.
So it's fine until there's some sort of issue with the stream, in this case that happens after about an hour
here's a link to a ts recording with a messed up length. 21 hours when in actuality it's 1 hour and change. I have no idea how to get it back to normal.
For example, I'm downloading a kitten video with the command:
livestreamer --hls-live-edge 99800 --hls-segment-threads 5 -o ~/Desktop/test123.ts https://www.youtube.com/watch?v=2xAoAHgVr3w best
I'm monitoring the length of the video with the commnd
ffmpeg -i $1 2>&1 | grep Duration | cut -d ' ' -f 4 | sed s/,//
So it's fine until there's some sort of issue with the stream, in this case that happens after about an hour
here's a link to a ts recording with a messed up length. 21 hours when in actuality it's 1 hour and change. I have no idea how to get it back to normal.
https://www.dropbox.com/s/umh7s3kega42lbg/Mason0812.ts?dl=0
I can convert the file with Handbrake and it's fine but I'm looking for a way to fix the video length without converting.
https://www.dropbox.com/s/k7rk3axqvg4ta8y/Mason0812%201.mp4?dl=0