WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: VLC player does not play network stream (ie. youtube video)  (Read 23348 times)

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: VLC player does not play network stream (ie. youtube video)
« Reply #15 on: July 20, 2015, 01:08:32 PM »
Hi all. Thanks for replies. Didn't realize Arm info could also be found at the 'packages. ...' site. Will slowly go through the dependencies when i get time and see it i can't solve a puzzle. Deleted VLC player to purge and reset system, now SMPlayer no longer works. Dependency H - E - doublehockey sticks. :(

beerstein please clarify exactly the method you use. This is the method i was using, just a simple cut/paste:
http://www.cnet.com/how-to/play-youtube-videos-in-vlc/

...is it more involved? Me thinks youtube now uses https only, maybe that changed things - i don't know (fatigue setting in). Thanks and any other sugggestions welcome. Will update thread with any new discoveries.

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: VLC player does not play network stream (ie. youtube video)
« Reply #16 on: July 21, 2015, 12:09:32 AM »
Up and running again  :D

Well not sure if this means anything, vlc_arm and vlc_x86 appear to be very different builds.
Here's the dependency diff:
Code: [Select]
--- vlc_arm
+++ vlc_x86
@@ -1,19 +1,13 @@
-SDL_image.tcz
-faad2.tcz
-gst-plugins-base.tcz
-liba52.tcz
-libass.tcz
+SDL.tcz
+gnutls.tcz
+libavc1394.tcz
 libavformat.tcz
-libcaca.tcz
-libcddb.tcz
-libmad.tcz
-libnotify-gtk2.tcz
+libdc1394.tcz
+libidn.tcz
+libnotify.tcz
 libpostproc.tcz
 librsvg.tcz
 libssh2.tcz
 libswscale.tcz
-lua-lib.tcz
-ncurses.tcz
-qt4-base.tcz
-x265.tcz
-zvbi.tcz
+openssl-1.0.1.tcz
+qt-4.x-base.tcz

gordon64

  • Guest
Re: VLC player does not play network stream (ie. youtube video)
« Reply #17 on: July 22, 2015, 05:09:43 PM »
nitram

Quote
https://www.youtube.com/watch?v=Jtzu9Vgb_zE

firefox can play most youtube movies so I cheated and just tested above link and get this error message

"This video has been removed by the user. "

FYI
 

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: VLC player does not play network stream (ie. youtube video)
« Reply #18 on: July 23, 2015, 01:22:35 AM »
Regarding arm and x86 VLC dependency differences, loaded gst-plugins-base.tcz and still unable to stream youtube. The TC 6 repository does not have extensions for SDL_image (just SDL), libcaca or libcddb, so couldn't load those for testing.

Not sure if this is what beerstein meant, but tried streaming youtube via both:
- media > network stream > paste youtube URL > click play
- media > stream > network > paste youtube URL > click stream

A URL paste example right in VLC's media > open network stream dialogue is:
http://www.youtube.com/watch?v=video_number (not real link)

...so it is designed to stream youtube and it is designed to basically be paste and play. Note the http example, not https, however. Youtube appears to be all https now.

gordon64 - The videos i've been trying to stream in VLC all worked fine via Firefox Flash, so i know they work. Video performance on old hardware is much better streamed via VLC or SMPlayer, so that's my preference.

At a loss, will probably forget it and move along. Misalf's build of SMPlayer streams youtube videos absolutely perfectly and even allows for updates to youtube streaming code so any changes from youtube shouldn't break this SMPlayer feature. If anyone has any other suggestions please let me know.

gordon64

  • Guest
Re: VLC player does not play network stream (ie. youtube video)
« Reply #19 on: July 23, 2015, 03:22:17 AM »
Quote
If anyone has any other suggestions please let me know.

Yes I have solved the errors I was getting for https and a full quick and dirty .local/bin file modified from my alsa file as I run alsa from xbase.lst and did not want stuff loading in other areas that are normal for normal people
Code: [Select]
#!/bin/sh
tce-load -i alsa-config gnutls lua lxrandr
sudo rmmod snd_hda_intel
sudo modprobe snd_hda_intel index=1
/bin/sleep 5
sudo alsactl -f /home/tc/KEEP/volumes.state restore
tce-load -i vlc
sudo mkdir -p /usr/local/share/vlc/ssl/certs
sudo ln -s /usr/local/share/ca-certificates/mozilla/*  \
 /usr/local/share/vlc/ssl/certs/

Its the last bit that gives vlc certificates from openssl* a dependency of vlc

#############
But I still can't play yt streaming so another suggestion is to ignore streaming and download the link you see in FF and play it as a local file?

Code: [Select]
wget https://yt-dl.org/downloads/2015.07.21/youtube-dl -O .local/bin/yt
chmod +x .local/bin/yt
tce-load -i python
yt <URL>
(eg) yt https://youtu.be/V-oquRLcmAM

Gives me the lovely Cara Dillon singing away when I load vlc to open a file locally, the download is under my home folder.

good luck

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: VLC player does not play network stream (ie. youtube video)
« Reply #20 on: July 24, 2015, 01:14:33 AM »
Hi gordon64. Thanks for response. Linking certificates didn't help me either. Have used youtube-dl before and it's pretty good. Downloaded the most recent version you linked and it works well. My system doesn't otherwise require python, however, so it's an ~10MB footprint just to download youtube links via terminal. Firefox has several add-ons that allow youtube downloads with minimal overhead. Nonetheless youtube-dl is a good alternative. Thanks for the information.

VLC is such a good player, unfortunate i can't get it to stream. So many additonal steps now required (Firefox add-on or youtube-dl, open terminal, etc). Prefer streaming over download, especially when deciding if a video is worth the watch.

gordon64

  • Guest
Re: VLC player does not play network stream (ie. youtube video)
« Reply #21 on: July 24, 2015, 02:27:25 AM »
Do you mind if I pm you on a possible non-Official alternative?

and forgot that you are on 32 bit so commands should have read

Code: [Select]
tce-load -i openssl-1.0.1
openssl-1.0.1.tcz: OK
tc@box:~$ wget https://yt-dl.org/downloads/2015.07.21/youtube-dl -O .local/bin/y
t
Connecting to yt-dl.org (95.143.172.170:443)
yt                   100% |*******************************|   931k  0:00:00 ETA
tc@box:~$ chmod +x .local/bin/yt
tc@box:~$ ls /usr/local/tce.installed/ | grep python
tc@box:~$ yt https://youtu.be/V-oquRLcmAM
env: can't execute 'python': No such file or directory

I not sure how yt worked for you without python?
Or do you mean you don't want youtube-dl because it depends on python?
« Last Edit: July 24, 2015, 02:35:30 AM by gordon64 »

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: VLC player does not play network stream (ie. youtube video)
« Reply #22 on: July 24, 2015, 01:12:31 PM »
Hi gordon64. Don't worry about the commands, got it figured out.

Quote
Or do you mean you don't want youtube-dl because it depends on python?
I did install python, just to run youtube-dl. You are correct though, i was just trying to be diplomatic. Simply meant it's innefficient to install 10MB of python, since my system doesn't require it for any other software, just to run youtube-dl via commandline. Especially since a Firefox add-on like 'Download Youtube Videos' has almost no overhead, can be toggled on/off as desired and Firefox Flash is already running to preview videos prior to deciding whether they are worth the download bandwidth.

Please see my post above, Misalf's SMPlayer already has all these features working, unlike VLC. So i already have a working alternative, just wish VLC worked as advertised. For the record, don't think this is necessarily an issue with the TC VLC build, just that VLC is flaky in this regard.

Quote
Do you mind if I pm you on a possible non-Official alternative?
Yes please, always happy to learn more. Sounds so underground  ;D

gordon64

  • Guest
Re: VLC player does not play network stream (ie. youtube video)
« Reply #23 on: August 01, 2015, 03:34:00 AM »
WOO HOO

re-compiled 64 bit vlc with lua support now has me streaming youtube via a lua script.

Thanks to Juanito for letting me try.

one happy camper
rough size of vlc (basic with no lua stuff) is 6.1 Megs
rough size of vlc-lua ---dependency will be vlc....is 0.4 Megs
First compile was too massive, I had too much loading and supported. I cheated off Juanito's build script to reduce the bloat.

its early days so hope to test over next few days.

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: VLC player does not play network stream (ie. youtube video)
« Reply #24 on: August 01, 2015, 12:27:41 PM »
Congratulations gordon64   8)       (   ...there was no green envy emoticon   )

Selfish thought: wish you were a gordon32 though so i could try your VLC build  :)

gordon64

  • Guest
Re: VLC player does not play network stream (ie. youtube video)
« Reply #25 on: August 01, 2015, 06:01:56 PM »
nitram

There is a 32 re-builder here
http://forum.tinycorelinux.net/index.php/topic,18614.0.html

Mine is far from complete and sorry for polluting a 32 bit post, too much beer. :-[