Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - klaxnek

Pages: [1]
1
HTML & templates / Re: HFSFLIX
« on: March 28, 2016, 04:05:42 PM »
why not use flowplayer, as it uses javascript and can play all the file types!
I don't see that flowplayer supports mkv:
http://flash.flowplayer.org/documentation/installation/formats.html

It only supports as far I can see flv, mp4, mov, m4v and f4v.
If you find any other html5 player that supports mkv tell me.

2
HTML & templates / Re: HFSFLIX
« on: March 26, 2016, 03:49:57 PM »

Im not quite understanding what to do with this? Put it in the same directory as the title *.mkv? run it then wait an hour?
Can you give a further explanation please :)

Thanks

Because jwplayer reads mp4 video files, you need to convert your mkv files to mp4.

Those are 2 batch files to convert mkv files to mp4 files. I attach them here.
- mkvdd2tomp4: Converts .mkv file with Dolby Digital 2.0 Audio to a .mp4 with Dolby Digital 2.0 Audio. It doesn't reencode, it's only a remux of the file.
- mkvac3tomp4: Converts .mkv file with Dolby Digital 5.1 Audio (AC3) to a .mp4 file with Dolby Digital 5.1 Audio (AC3). It reencodes the audio to 384kbps DD5.1

USE
1. Copy both files (mkvdd2tomp4.bat and mkvac3tomp4.bat) for example in C:\Windows
2. Copy ffmpeg.exe to C:\Windows (for example). You can download ffmpeg from here (select 32bit or 64bit, and download the 1st one, the static versions):
https://ffmpeg.zeranoe.com/builds/
3. Then you go to your movie folder using a command prompt / terminal. Then execute mkvac3tomp4 or mkvddtomp4. Before you need to know if your mkv file has 5.1 or 2.0 audio.
4. Then you wait and it converts all the mkv files in that directory to mp4 files.

3
HTML & templates / Re: HFSFLIX
« on: March 26, 2016, 03:33:34 PM »
Sorry for not answering all of you.

I built this template in order to stream videos from any browser (PC, mobile, ...). So I used jwplayer7 (https://www.jwplayer.com/) and I only used the JavaScript player (not the Flash .swf one).
As you can see in the code, I also planned to support audio files (.mp3), and in fact it is working. It was also my 1st javascript code... (sorry for that)

Internally I've updated jwplayer to latest version and when I enter to a movie to watch it, there is an error as you posted before (the triangle with exclamation mark). But when you click in the play button, the movie loads ok. I'll try to fix it.

I've only made 1 change to this template so far (yts.to went down). In hfsflix.tpl change these two lines:
baseurl="http://yts.ag/assets/images/movies/";
baseurlhttps="https://yts.ag/assets/images/movies/";

I'll try to answer all of you questions!

4
HTML & templates / HFSFLIX
« on: August 28, 2015, 08:57:54 PM »
HFSFLIX

Screenshots album: http://imgur.com/a/1aiyy

This template is only intented to watch online content ala Netflix.

Be warned that this template is really personalized.
It will not work properly if you don't customize it with your series and follow some rules with the naming structure of the movie folder.

Sorry for my english and the shitty Javascript code, but it works ;)

------------------------------------

You'll need 2 root folders:
- Movies
- Series

------------------------------------

MOVIES
Movie folder structure:
/Movies/Movie_Folder (Year)/Movie_Title.mp4     <-- Movie in .mp4
/Movies/Movie_Folder (Year)/Movie_Title.eng.srt <-- English subtitles
/Movies/Movie_Folder (Year)/Movie_Title.spa.srt <-- Spanish subtitles

* Subtitles
The movie player supports (JW Player 7) supports different subtitles.
I've added support for english and spanish languages and I've made english subtitles as default (you can change it easily or add new languages in the template).

All the movie posters are grabbed from http://yts.to automatically.
Therefore, you'll need to name your movie folder the same way as the image of the movie poster in yts.to
For example (pay attention to uppercase/lowercase in movie title):
/Movies/american ninja 2 the confrontation (1987)/American.Ninja.2.The.Confrontation.1987.720p.BluRay.x264.YIFY.mp4
/Movies/american ninja 2 the confrontation (1987)/American.Ninja.2.The.Confrontation.1987.720p.BluRay.x264.YIFY.eng.srt
/Movies/american ninja 2 the confrontation (1987)/American.Ninja.2.The.Confrontation.1987.720p.BluRay.x264.YIFY.spa.srt

The movie info is grabbed from www.omdbapi.com automatically.

Customize movie posters or weird titles:
Take a look at urlcaratulamovie function in template. For example...
if (moviemod==="Alien_DC") url = baseurl + "Alien_1979_Dir_Cut";
else if (moviemod==="Alien_Resurrection_DC") url = baseurl + "Alien_Resurrection_1997_Special_Edition";
else if (moviemod==="Alien_3_DC") url = baseurl + "Alien_3_1992_Special_Edition";

------------------------------------

SERIES
* Banners
I've downloaded the series banners from http://www.thetvdb.com/ and moved them to icons folder with the same naming.
You can make the template grab automatically from thetvdb.com changing the template (I've downloaded them to /icons because thetvdb.com fails too much...):
Change:
function urlcaratulaserie(serie) {
   var base="/icons/";
To:
function urlcaratulaserie(serie) {
   var base="http://www.thetvdb.com/";
   

Then you have to add your series manually in the template, with the series name and the banner image filename:
   switch(serie) {
      case "Better Call Saul": url="273181-g3"; break;
      case "Daredevil": url="281662-g6"; break;
      case "Dragon Ball Super": url="295068-g5"; break;
      
------------------------------------

The player will only work with mp4 files.
To convert your mkv to mp4 you can create 2 .bat files:

.mkv with DD2.0 audio to .mp4 (no reenconding):
for %%a in ("*.mkv") do ffmpeg -i "%%a" -c:v copy -c:a copy "%%~na.mp4"

.mkv with DD5.1 (AC3) audio to .mp4 (it reencodes the audio to aac 384k with the same number channels)
for %%a in ("*.mkv") do ffmpeg -i "%%a" -strict experimental -c:v copy -c:a aac -b:a 384k "%%~na.mp4"

The control bar of the player is set to width 99%, so you can move your pointer to your right lower corner in fullscreen.

------








Pages: [1]