im running centos 6 - vps
i have installed firefox via root.
its running without a gui on xorg server. but its lacking h264 codec?
it wont load videos that i scrape. how do i enable/install the h264 codec and make it work?
will yum installing openh264 fix it or nah?
>>57113040
How about you fucking try it before asking?
you need xorg to use most video players.
kodi has a standalone version that runs without xorg.yum install libdvdcss gstreamer{,1}-plugins-ugly gstreamer-plugins-bad-nonfree gstreamer1-plugins-bad-freeworld
from - https://wiki.centos.org/TipsAndTricks/MultimediaOnCentOS7
>>57113075
this is very good. let me check this out.
>>57113075
any ideas?
>>57113184
not sure
just do a rollback first and try installing a third party repo
>>57113369
do you have a skype or something? i'm legit full retard with linux/vps.
could i substitute gstreamer with ffmpeg?
>>57113411
what video player are you trying to use?
>>57113420
i'm using a scraper (slimejs) - the player itself is self-hosted (jwplayer)
problem is we cant load the mp4 codec (h264).
>>57113438
uh jwplayer works on the client side. all you have to do is provide the video file unless you are rendering files on the fly and streaming them or something.
>>57113455
it results in this error: error loading player: no playable sources found
we are both sure its because gstreamer isn't installed.
>>57113495
what is the format of the file? are you sure the file is being provided? is javascript enabled?
>>57113517
file format is .mp4
javascript is enabled afaik.
>>57113531
yes mp4 is a container. what is the encoding? h.264? hevc? what?
>>57113535
we suspect / 99% sure its h264.
>>57113555
according to this (https://support.jwplayer.com/customer/portal/articles/1403635-media-format-reference), it is supported
post your embed script
>>57113570
Problem is, because we can't play the h264/mp4 we cannot grab the URL.
Here's an example of an URL of the video format:
https://redirector.googlevideo.com/videoplayback?requiressl=yes&id=4c4b026ca24e42ae&itag=18&source=webdrive&ttl=transient&app=explorer&ip=2a05:840::e098&ipbits=0&expire=1476713124&sparams=requiressl,id,itag,source,ttl,ip,ipbits,expire&signature=141ED5F45204B22D98E4DFEC1E471F3A027D3B77.80789E906AF5FC5D3B137BF101EE39FCB1D1FB37&key=ck2&mm=31&mn=sn-5hne6ner&ms=au&mt=1476698519&mv=u&nh=IgpwcjA0LmFtczE2KgkxMjcuMC4wLjE&pl=48
>>57113570
Yes. jwplayer isn't problem.
It's firefox. We are using firefox in our scrapper to get the video URLS.
but since firefox without gui on centos wont play/load mp4 videos.. we cannot scrape the links.
>>57113596
>>57113582
I'm guessing this is youtube
https://support.jwplayer.com/customer/portal/articles/1406725-youtube-video-embed
>>57113040
>vps
>codec packs
>>57113603
It's googledrive afaik.
Problem should resolve, if we can manage to get firefox to run mp4's. that's the bottleneck problem.
my skype is: l4uuuu1
shoot me an invite you if have some free time to help/talk.
>>57113627
use this format
http://googledrive.com/host/(Folder id) / (Flie Name) .mp4
>>57113767
our scrapper bot. grabs page url (movie url) it then scrapes the mp4 url from the video player.
problem is, firefox is required with the bot. firefox on the vps cant load mp4s.
so we cannot scrape the mp4 urls for our jwplayer.
that's why we need to get firefox to play mp4's.
Centos 6
>>57113810
Let me further elaborate. Firefox cannot load any html5 media/mp4s.
i tried installing gstreamer. couldn't complete due to errors.
EPEL
http://www.ghacks.net/2014/07/25/enable-mse-h2-64-support-youtube-firefox-right-now/
it might not work (I recall there's a few other things you might need to tweak) but if you google something *like* "firefox fedora youtube h264" or 1080p or something you'll find what you need
fedora and centos are interchangeable in this context but you'll get far more answers when searching for fedora
>>57113852
and as far as changing these settings on a headless server goes you can use user.js
>>57113810
no firefox can find the file and load the file. just because you cant play the file doesnt mean you cannot get the link.
>>57113852
>>57113865
Thanks. let me take a look at this.
>>57113870
I'll pass this on.
>>57113870
>>57113865
>>57113852
We managed to get it working.
Thanks a lot to you guys, and everyone else for the help.