livestreamer icon indicating copy to clipboard operation
livestreamer copied to clipboard

Youtube LIVE Patch only works with VLC 3.0 UNSTABLE Nightly

Open Rotarum opened this issue 9 years ago • 19 comments

Hi,

after patching with "youtube.py" plugin file the Livestreamer is connecting to Youtube LIVE again.

But Playback with latest VLC Stable Versions (2.x) are not working anymore !

After installing VLC Nightly (3.0) it works, but this VLC build is very unstable :-(

PLEASE MAKE PLAYBACK WITH STANDARD VLC WORK AGAIN

Rotarum avatar May 05 '16 13:05 Rotarum

You can use ffplay or mplayer

intact avatar May 05 '16 14:05 intact

VLC Stable should work like it was working before.

Hope there will be a fix for that ...

Rotarum avatar May 05 '16 14:05 Rotarum

The problem does not lie in Livestreamer code. Youtube changed the format of their videos and the VLC Player 2.x will not play the format. There is NOTHING at all that Livestreamer can do to fix that, unfortunately. It is just grabbing the video bits, and if VLC can't play it, there's nothing Livestreamer can do.

Date: Thu, 5 May 2016 06:23:36 -0700 From: [email protected] To: [email protected] CC: Subject: [chrippa/livestreamer] Youtube LIVE Patch only works with VLC 3.0 UNSTABLE Nightly (#1314)

Hi,

after patching with "youtube.py" plugin file the Livestreamer is connecting to Youtube LIVE again.

But Playback with latest VLC Stable Versions (2.x) are not working anymore !

After installing VLC Nightly (3.0) it works, but this VLC build is very unstable :-(

PLEASE MAKE PLAYBACK WITH STANDARD VLC WORK AGAIN

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub

scottbernstein-zz avatar May 05 '16 15:05 scottbernstein-zz

Why is it not possible to patch Livestreamer to work with VLC ???

It will take maybe 1 Year or more until there is Stable 3.0, this is so disappointing :-((

Rotarum avatar May 05 '16 19:05 Rotarum

Livestreamer is not intended to be video transcoding software. It captures or passes through to a player the raw video streams and that's it. The video encoding that YouTube is now using is incompatible with the current VLC Player. You can capture that video and very simply transcode it later to a format that VLC 2.x understands, but that is not the job of livestreamer to do on the fly.

Date: Thu, 5 May 2016 12:46:03 -0700 From: [email protected] To: [email protected] CC: [email protected]; [email protected] Subject: Re: [chrippa/livestreamer] Youtube LIVE Patch only works with VLC 3.0 UNSTABLE Nightly (#1314)

Why is it not possible to patch Livestreamer to work with VLC ???

It will take maybe 1 Year or more unti there is Stable 3.0, this is so disappointing :-((

— You are receiving this because you commented. Reply to this email directly or view it on GitHub

scottbernstein-zz avatar May 05 '16 21:05 scottbernstein-zz

Before it was working with Livestreamer / VLC Combination.

If there is a little Patch for VLC 2.x i would do it. Do you know how and which file to be modified ?

Rotarum avatar May 05 '16 21:05 Rotarum

Indeed it was working before, but YouTube changed encoding on their end and there's nothing we can do about that. Just upgrade to VLC 3.0 nightly build. It works fine and there seems to be little to no downside.

Date: Thu, 5 May 2016 14:38:49 -0700 From: [email protected] To: [email protected] CC: [email protected]; [email protected] Subject: Re: [chrippa/livestreamer] Youtube LIVE Patch only works with VLC 3.0 UNSTABLE Nightly (#1314)

Before it was working with Livestreamer / VLC Combination.

If there is a little Patch for VLC 2.x i would do it. Do you know how and which file to be modified ?

— You are receiving this because you commented. Reply to this email directly or view it on GitHub

scottbernstein-zz avatar May 05 '16 21:05 scottbernstein-zz

VLC 3.0 nightly is unstable, eats more RAM and has many other bugs.

If there is possibility to patch the Stable VLC i would do it but how ??

Rotarum avatar May 05 '16 21:05 Rotarum

That is way beyond my knowledge, sorry....

Date: Thu, 5 May 2016 14:51:31 -0700 From: [email protected] To: [email protected] CC: [email protected]; [email protected] Subject: Re: [chrippa/livestreamer] Youtube LIVE Patch only works with VLC 3.0 UNSTABLE Nightly (#1314)

VLC 3.0 nightly is unstable, eats more RAM and has many other bugs.

If there is possibility to patch the Stable VLC i would do it but how ??

— You are receiving this because you commented. Reply to this email directly or view it on GitHub

scottbernstein-zz avatar May 05 '16 21:05 scottbernstein-zz

In addition to VLC 3.0, I have had success playing youtube streams using mplayer 1.2.1+

trippyhat avatar May 09 '16 13:05 trippyhat

Hi,

I found there is a way to TEMPORARY solve this issue livestreamer is ok to decode the youtube livestream but the VLC cannot decode it well...So, what i am doing is using the 3rd party to receive the livestreamer and then re-porting back to VLC by using a UDP

here is the example (in linux console) : livestreamer -O https://www.youtube.com/watch?v=kfTq_A9nBM0 best | ffmpeg -i - -vcodec copy -async 1 -tune zerolatency -acodec copy -preset fast -f mpegts udp://@127.0.0.1:1234

-O command is stdout and using ffmpeg as stdin and then output as a udp streaming format. So, you can still using the VLC by open the network stream by entering the address : udp://@127.0.0.1:1234

BUT.... there is still some problem ! sometimes the videout is a bit choppy (that is : play 5-10 seconds and then will stop a while and then resumes)

HOPE somebody can help me .....THANKS !

c769214 avatar May 12 '16 12:05 c769214

read some website , the command line can be changed as follow then no udp required:

livestreamer -O https://www.youtube.com/watch?v=kfTq_A9nBM0 best | ffmpeg -i - -vcodec copy -tune zerolatency -acodec copy -preset fast -f mpegts - 2>/dev/null | vlc -

c769214 avatar May 16 '16 08:05 c769214

Is it possible without using ffmpeg between, directly from livestreamer to VLC ?

Rotarum avatar May 16 '16 12:05 Rotarum

Dear Rotarum

As this moment, I can't find other issue better than above (BTW....that should work with windows / linux.... and I haven't installed VLC 3.0 beta so don't know what it is )

See other buddies if they can solve this.....

c769214 avatar May 19 '16 04:05 c769214

Is there a specific feature you use on VLC why you want to stick to VLC? Assuming Windows, try MPC-HC.

tp0 avatar May 28 '16 11:05 tp0

Hello tp0,

i want all Options possible. Not only Playback but also Streaming and Transcode too.

Before it was working from Livestreamer directly to VLC, but now impossible.

Tested the new VLC 2.2.4 but still the same :-(

You have another idea ?

Rotarum avatar Jun 24 '16 14:06 Rotarum

A proper working solution with any vlc build is to use the AVFORMAT demuxer. VLC.exe --demux=avformat. This is my only contribution to github ever. I posted this about a year ago. I wonder where my little advice went. This trick helps with more buggy streams and files and "sout" chains. In fact, I find the avformat demuxer performing better than VLCs native demuxer anytime......

Xillie2006 avatar Apr 04 '17 18:04 Xillie2006

Thanks, @Xillie2006 for reviving this thread and giving a proper solution. This worked for me: livestreamer https://www.youtube.com/watch?v=kfTq_A9nBM0 360p -O | vlc --demux=avformat -

reggna avatar Aug 05 '17 16:08 reggna

dont need livestreamer, that other splendid peice of free software supports you tube (and many others) https://rg3.github.io/youtube-dl/

cirrusUK avatar Aug 05 '17 19:08 cirrusUK