PDA

View Full Version : Help/Teach - Issues with Livestreamer


baseball3409
07-17-2017, 03:50 PM
All,

I'm very new at this so I apologize. I'm trying to get a video clip from the college baseball home run derby: http://www.espn.com/watch/player?id=3098956

I have Livestreamer and VLC downloaded onto my windows PC.

I have been successful using AdBlock Pro show unblockable to get the content.uplynk webaddress. Livestreamer finds the sources and provides "worst, 240, etc, best". When I type -livestreamer "best", I have issues.

This is definitely my first time working with cmd and coding, so I apologize. Hoping someone can help me with my issues.

baseball3409
07-17-2017, 09:03 PM
I made some progress this evening, I was able to get livestreamer to exe VLC but the video did not stream, it just brought up one still frame from the start of the broadcast.

Is streamlink a better option?

AnoX007
07-17-2017, 10:30 PM
You Actually need to do is that ..

livestreamer "hlsvariant://URL of Yours" best

you have to write best at the end of url

baseball3409
07-18-2017, 05:58 AM
AnoX007, thank you for the feedback, as I continued hunting I found that and was able to get something to come back. I don't know if I was just impatient or the link took me to a still image.

Does it take a long time for the stream to begin playing through VLC?

Yelloworanges
07-18-2017, 06:11 AM
It should start playing in VLC pretty quick. But, VLC has trouble with many uplynk ts streams.

Save the output of livestreamer/streamlink to a file instead, then remux with ffmpeg after the download is finished.

Other players may work without remuxing.

baseball3409
07-18-2017, 07:40 AM
I assume to have Livstreamer save to file, that would be giving it an input in cmd and telling it which drive/location to save to?

Yelloworanges
07-18-2017, 07:49 AM
Right
livestreamer "hlsvariant://m3u8 URL" best -o filename.ts

include directory structure if you don't want to save to the current directory

livestreamer "hlsvariant://m3u8 URL" best -o "C:\foldername\filename.ts"

baseball3409
07-18-2017, 08:03 AM
So, I got the write to file, but I didn't see your note Yelloworanges until the file was writing. Any ideas where this file will end up without the directory structure?

I greatly appreciate everyone's help with this. So thankful I was able to get it figured out.

Right
livestreamer "hlsvariant://m3u8 URL" best -o filename.ts

include directory structure if you don't want to save to the current directory

livestreamer "hlsvariant://m3u8 URL" best -o "C:\foldername\filename.ts"

AnoX007
07-18-2017, 08:28 AM
C:\Users\Ricky

baseball3409
07-18-2017, 03:59 PM
Thank you everyone!

I was able to download the file I needed and install ffmpeg to get mp4 from the ts file.

When I went to delete the ts file, windows explorer was freezing up. So I'm not sure if I did something during the path part of ffmpeg or if my computer just doesn't have enough juice to make all this operate efficiently.