TorrentFlux.com Hey, OppTupacShakur, you have 11 messages, 0 are new.
06-27-2007, 13:05:16
Home Help Search Profile Logout donate chat
News:


+  TorrentFlux Forums
|-+  Code Hacks and Tools
| |-+  TorrentFlux 2.1 Hacks
| | |-+  VLC streaming (play media files without downloading) torrentflux addon
« previous next »
Pages: 1 [2] 3 4 Go Down Reply Notify of replies Send this topic Print
Poll
Question: Good or bad idea ?
Good   -20 (100%)
Bad   -0 (0%)
Total Voters: 20

Author Topic: VLC streaming (play media files without downloading) torrentflux addon  (Read 9447 times)
Mr_Molez(Offers TF Hosting)
Newbie
*
Offline Offline

TF Base: Win32 2.x
Posts: 36



View Profile WWW Email Personal Message (Offline)
« Reply #15 on: 09-27-2006, 17:19:42 » Reply with quote

grabot: ill post my answer here instead of pming you, that way anyone in the future that encounters this problem will know how to fix it and benefit from it.


firstly i too have a debian based system (apt-get vlc is not compiled with mp3 support) im sorry to say i had to compile my own vlc and enable mp3 support, you will need to do the same)

Because very few distributions these days have mp3 support i have add 2 new menus to the code to allow for different audio and video codecs

Here is what you will need to do to enable mp3 support(in order):

Download and install lame:

http://download.videolan.org/pub/videolan/vlc/0.8.5/contrib/lame-3.96.1.tar.gz

Then

Download and install ffmpeg:

http://download.videolan.org/pub/videolan/vlc/0.8.5/contrib/ffmpeg-20051126.tar.bz2

You will need to enable  mp3lame support to do this type:

./configure  --enable-mp3lame  --enable-shared --enable-gpl --enable-pp

then the usual make and make install (dont delete this we will need it later)

Then

Finally you will need to Download and install vlc:

http://download.videolan.org/pub/videolan/vlc/0.8.5/vlc-0.8.5.tar.gz


You will need to enable  ffmpeg-mp3lame support to do this type

./configure --with-ffmpeg-mp3lame  --without-x --disable-wxwidgets --disable-skins2 --with-ffmpeg-tree=/path/to/ffmpeg/source/code

then the usual make and make install

All this is a pain i know Sad


you said the quality is not great, did you try increasing the bitrate of the audio in the pulldown menu ?
« Last Edit: 10-05-2006, 20:12:30 by Mr_Molez » Report to moderator   Logged

Dedicated to the development of Torrentflux, not just in it for the money like some hosters Tongue
Host-Away Web Hosting Company
Jr. Member
**
Offline Offline

TF Base: Linux 2.x
Posts: 89


Host-Away Web Hosting Company



View Profile WWW Email Personal Message (Offline)
« Reply #16 on: 09-29-2006, 19:29:55 » Reply with quote

i am running centOS and cant get VLC installed please could you help?
thanks
Report to moderator   Logged

Host-Away Web Hosting Company

====================
   = My TF SERVER INFO  =

Intel Centrino Duo 4GHZ
4GB DDR 2
HDD 1 = 250GB (Westeren Digital SATA)
HDD 2 = 250GB (Seagate SATA)
HDD 3 = 250GB (Westeren Digital)
HDD 4 = LaCie Big Disk Extreme with Triple Interface 1TB (Firewire 800)
100 MBPS Dedicated Line
99.9% Uptime
===
NeroWolf666
Newbie
*
Offline Offline

Posts: 26



View Profile Email Personal Message (Offline)
« Reply #17 on: 09-29-2006, 20:41:29 » Reply with quote

im trying to install this and use it but it doesnt seem to be streaming at all what should i be editing in the included php files?

i have vlc installed as well as ffmpeg but when i click the stream video option it keeps telling me that theres no video being streamed

***also there is no wmp.gif in that tar file***
« Last Edit: 09-29-2006, 21:30:04 by NeroWolf666 » Report to moderator   Logged
Mr_Molez(Offers TF Hosting)
Newbie
*
Offline Offline

TF Base: Win32 2.x
Posts: 36



View Profile WWW Email Personal Message (Offline)
« Reply #18 on: 09-30-2006, 09:26:45 » Reply with quote

Host-Away Web Hosting Company:

Im sorry I have never used that operating system. But have you tried compiling vlc from source ?
Report to moderator   Logged

Dedicated to the development of Torrentflux, not just in it for the money like some hosters Tongue
Mr_Molez(Offers TF Hosting)
Newbie
*
Offline Offline

TF Base: Win32 2.x
Posts: 36



View Profile WWW Email Personal Message (Offline)
« Reply #19 on: 09-30-2006, 09:36:32 » Reply with quote

NeroWolf666: sorry your right i forgot to tar the wmp image, ive updated the .tar file now.

Quote
in streamvideo1.php change:

<a href="mms://yourdomain.com:8080">Click here to watch your stream - Windows Media Player</a>
<a href="mmsh://yourdomain.com:8080">Click here to watch your stream - VLC</a>

make sure port 8080 is not in use, but you can change it to any port you want


also change

dst=yourdomain.com:8080

______
Quote
in checkport8080.php change:

$address = "yourdomain.com";
$service = "8080";



these are the only two files you need to change
« Last Edit: 09-30-2006, 09:38:04 by Mr_Molez » Report to moderator   Logged

Dedicated to the development of Torrentflux, not just in it for the money like some hosters Tongue
luke
Newbie
*
Offline Offline

TF Base: Linux 2.x
Posts: 22



View Profile Email Personal Message (Offline)
« Reply #20 on: 09-30-2006, 19:02:35 » Reply with quote

ive got it all installed but one problem no sounds and no picture in windows media player and in vlc no sound is there a easy way of fixing this ?

Thanks
Report to moderator   Logged
Mr_Molez(Offers TF Hosting)
Newbie
*
Offline Offline

TF Base: Win32 2.x
Posts: 36



View Profile WWW Email Personal Message (Offline)
« Reply #21 on: 09-30-2006, 19:43:05 » Reply with quote

luke: sounds like ur vlc is not compiled with mp3 support.. look at my previous posts it tells you how to compile with mp3 support


as for the video, im not sure about that, try a different video codec in the pulldown menu
Report to moderator   Logged

Dedicated to the development of Torrentflux, not just in it for the money like some hosters Tongue
Mr_Molez(Offers TF Hosting)
Newbie
*
Offline Offline

TF Base: Win32 2.x
Posts: 36



View Profile WWW Email Personal Message (Offline)
« Reply #22 on: 10-01-2006, 11:15:06 » Reply with quote

added sedps and removed nice settings (made vlc very slow)  check my first post for new version
Report to moderator   Logged

Dedicated to the development of Torrentflux, not just in it for the money like some hosters Tongue
mb.Tab
Hero Member
*****
Offline Offline

TF Base: Linux 2.x
Posts: 556


Gotta love my Avatar !!

169560841 mb.Tab@web.de andreas11b



View Profile WWW Email Personal Message (Offline)
« Reply #23 on: 10-01-2006, 13:23:51 » Reply with quote

Wow your hack has been going through some nice changes....I like it alot and it looks much better now ! Good work man !

mb.Tab
Report to moderator   Logged

Mr_Molez(Offers TF Hosting)
Newbie
*
Offline Offline

TF Base: Win32 2.x
Posts: 36



View Profile WWW Email Personal Message (Offline)
« Reply #24 on: 10-01-2006, 20:50:47 » Reply with quote

hehehe thanks mb.tab im just glad someone out there likes it, i aint really coded anything before, i wish i knew more so i could make it work better, but oh well Tongue
Report to moderator   Logged

Dedicated to the development of Torrentflux, not just in it for the money like some hosters Tongue
luke
Newbie
*
Offline Offline

TF Base: Linux 2.x
Posts: 22



View Profile Email Personal Message (Offline)
« Reply #25 on: 10-05-2006, 11:14:58 » Reply with quote

right im trying to use windows media but no sound again Sad please help
Report to moderator   Logged
Mr_Molez(Offers TF Hosting)
Newbie
*
Offline Offline

TF Base: Win32 2.x
Posts: 36



View Profile WWW Email Personal Message (Offline)
« Reply #26 on: 10-05-2006, 15:06:47 » Reply with quote

luke.

did you follow my instructions on how to compile vlc with mp3 support (which is needed for sound in windows media player)

also are you using internet explorer to start the streaming, if so you will need to redownload the hack because i have fixed a bug where it did not show the first options in the pulldown menu's...... (well not so much a bug fix as making it look ugly for the sake of supporting some pesky microsoft software)
« Last Edit: 10-05-2006, 20:19:51 by Mr_Molez » Report to moderator   Logged

Dedicated to the development of Torrentflux, not just in it for the money like some hosters Tongue
Mr_Molez(Offers TF Hosting)
Newbie
*
Offline Offline

TF Base: Win32 2.x
Posts: 36



View Profile WWW Email Personal Message (Offline)
« Reply #27 on: 10-05-2006, 15:08:06 » Reply with quote

i am willing to provide more support on msn/yahoo messenger if you need it:

mr_molez@hotmail.com

or yahoo

l_l_mr_molez_l_l      (L_L_MR_MOLEZ_L_L)
Report to moderator   Logged

Dedicated to the development of Torrentflux, not just in it for the money like some hosters Tongue
Mr_Molez(Offers TF Hosting)
Newbie
*
Offline Offline

TF Base: Win32 2.x
Posts: 36



View Profile WWW Email Personal Message (Offline)
« Reply #28 on: 10-09-2006, 13:58:52 » Reply with quote

ive been told closevlc.php does not kill vlc process on some systems

if you have this problem change the killall vlc line in closevlc.php to

 system("killall vlc");
Report to moderator   Logged

Dedicated to the development of Torrentflux, not just in it for the money like some hosters Tongue
kanchke
Newbie
*
Offline Offline

Posts: 24




View Profile Personal Message (Offline)
« Reply #29 on: 10-10-2006, 14:11:45 » Reply with quote

 TF Love fantastic addon !!  TF Love

thank you, got to try this out as soon as I find myself some time ;-)

Report to moderator   Logged

P3 733 | FreeBSD6.0 | 128MB RAM

Lighttpd 1.4.11 | PHP 5.1.2 (cgi-fcgi) | Postgres8.1 | Python 2.3.4

TF 2.1 w/ AJAX on indexpage| MRTG statistics
Pages: 1 [2] 3 4 Go Up Reply Notify of replies Send this topic Print 
« previous next »
Jump to:  


Powered by MySQL Powered by SMF 1.1.1 | SMF © 2006, Simple Machines LLC Powered by PHP