PDA

View Full Version : LFS Video upload page!


Martinss
24th February 2008, 19:29
About two months ago i thought, that searching LFS videos on youtube might be pretty hard, so i created site specially for LFS videos. :D

http://www.lfsvideo.net

-Max file size 200MB
-Similar to Youtube (phpmotion source)

Post suggestions or bugs here or send them to PM. :)

Also it would be nice if you post suggestions for new video categorys.

BUGS & FIXES
----------------------
To do list:
1. Add group admin feature to edit groupdescription


Fixes:
1. PM now sends if message contains " '/ charecters
2. Corrected <br/> tag displaying in video discription
3. Added group admin feature to delete group

Zachary Zoomy
24th February 2008, 19:31
WOW! looks great!

Fredthebest
24th February 2008, 19:35
Awesome! :thumb:

Good Work!

evilpimp
24th February 2008, 19:35
Very nice! Great work :)

zeromussov
24th February 2008, 19:40
Good work:thumbsup:

Video quality is pretty good. Site needs some more attention, but it's a good start:)

squidhead
24th February 2008, 19:43
is the aspect ratio a problem of videos or the site?

evilpimp
24th February 2008, 19:44
is the aspect ratio a problem of videos or the site?


Heh wondering the same thing. The cars look squished..

Martinss
24th February 2008, 19:46
is the aspect ratio a problem of videos or the site?

I think that is problem of videos. Because Test and Injection video looks good.

evilpimp
24th February 2008, 19:50
I think that is problem of videos. Because Test and Injection video looks good.

cars in injection look squished to me they should be a bit more wide. I think its problems with whoever made the video's though.

legoflamb
24th February 2008, 19:55
very nice Ill upload once i get the email to confirm my registration.

Martinss
24th February 2008, 19:56
very nice Ill upload once i get the email to confirm my registration.


Doesen't send confirmation? Tell me your username, i'll activate it.

Ferroc
25th February 2008, 12:53
Nice :thumb: Good work :)

aroX123
25th February 2008, 13:04
Very nice, then i dont need to spend so much time looking for vids on youtube..
If i want to see a car drifting (I dont want to) i just choose it:tilt:

Great

RayFinkle
25th February 2008, 13:29
Very nice.

Martinss
25th February 2008, 13:54
Changed converted video size to 550x400. So squished problem is solved i think. :)

revennge
25th February 2008, 17:25
It's very nice from you :D

squidhead
25th February 2008, 17:37
I still am quite skeptical for some reason

Martinss
25th February 2008, 18:03
And the reason is? :)

ddd9022
25th February 2008, 18:31
Nice!

AndRand
25th February 2008, 19:57
man, I was waiting for such site :thumb:

The Very End
25th February 2008, 20:33
Good site :)
May I ask what the max video size / lengt etc is? :)

Töki (HUN)
25th February 2008, 20:38
Great! Screw you Stage6, we have this!:D

kaynd
25th February 2008, 20:44
Nice job but are you sure you can support a server with that high bandwidth traffic?
Youtube has advertisements to keep it running.. What do you have to keep this project alive especially when it is focused on such a small part of viewers?

evilpimp
25th February 2008, 20:47
Good site :)
May I ask what the max video size / lengt etc is? :)


-Max file size 200MB
-Similar to Youtube (phpmotion source)


:P in his first post.

Great! Screw you Stage6, we have this!:D

Erm I dnt think this will be as good quality as Stage6 lol. Super alien vids like unekova and lynce's vids will probably still be on Stage6 lol

Mp3 Astra
25th February 2008, 20:53
Nice stuff. I'll put the Blame Game videos on there now... :thumbsup:

anbiddulph
25th February 2008, 20:54
:P in his first post.



Erm I dnt think this will be as good quality as Stage6 lol. Super alien vids like unekova and lynce's vids will probably still be on Stage6 lol
stage6 is teh gone :(

evilpimp
25th February 2008, 20:59
stage6 is teh gone :(
NEVER!

Stage6 is da best. Even though it takes years to load a good video on it its worth it lol. But for sure it'll be easier to find the kind of video's your looking for in this site ;P

The Very End
25th February 2008, 21:08
:P in his first post.



Erm I dnt think this will be as good quality as Stage6 lol. Super alien vids like unekova and lynce's vids will probably still be on Stage6 lol

:doh: sorry :(

Mp3 Astra
25th February 2008, 21:39
What upload speeds are people getting? I'm getting 16kb/s.

speed1
25th February 2008, 22:10
Nice site! It looks very good.

Martinss
25th February 2008, 22:14
Nice job but are you sure you can support a server with that high bandwidth traffic?
Youtube has advertisements to keep it running.. What do you have to keep this project alive especially when it is focused on such a small part of viewers?

I have 1500gb bandwith traffic in month, so about 50gb a day. Now it is producing ~1gb a day, i think it will be enought. :)

For today i don't have anything to keep this project alive. :D
MP3 Astra - server is located in USA, so thats why. :)
I'm getting 200kb/s up. :D

edit: Maybe somone can give idea for new video categorys in lfsvideo.net?

eight8acht
26th February 2008, 06:41
How about Rallye and Cruising?

or a Review Section where we can put videos about reviews for wheels, sound systems or something like that

anbiddulph
26th February 2008, 06:50
its ace!!!!!

nice quality aswell =]

Drift King CZ
26th February 2008, 06:57
Good idea & good work. :thumb: Now let's tell the others who didn't read this thread :). Get all the videos to one website :).

EDIT: Do you have any logo, banners, icons... for propagation?

hadesko
26th February 2008, 08:25
oh gr8
next video I'll upload here:tilt:

Martinss
26th February 2008, 09:55
eight8acht - will add these categorys. :)
Drift King CZ - don't have have them, but i will ask somebody to make. :)

Drift King CZ
27th February 2008, 10:45
Martinss I tried you send this message on lfsvideo.net:

Hello, I created group ,,LFS Action" and I typed bad description so I tried edit it, but it is not able to or I didn't find it and the same when I wanted delete the group. So I deleted myself from the group and now it's a group without admin.

And sorry, it was an accidents - I sent some reports so... Sorry.

And a while ago I sent you a test message, because when I tried to send this message 1st time, I was redirected on white page... Adress was still the same ,,http://www.lfsvideo.net/emailcompose.php".
And again the white page, so I'm trying 3rd time.
4th time... 5th time...

M1k3

Strange... When I just typed ,,test", it worked and message was sent. But when I typed something longer...

Martinss
27th February 2008, 13:03
Ehh. The problem is in " ',.-' " ", etc charecters. When they are too much - it just won't send. Maybe somone could get a little help? My coding skills are 0 at PHP. :D

if ($_POST['submitted_reply'] == "yes") {
$member_username = $_POST['member_username'];//check if form has been submitted
$subject = 'Re: ' . $_POST['subject'];
;
$message = "";
$todays_date = $config["date_format"];
$template = "templates/main_1.htm";
$inner_template1 = "templates/inner_email_compose.htm";//middle of page
$TBS = new clsTinyButStrong;
$TBS->NoErr = true;// no more error message displayed.
$TBS->LoadTemplate("$template");
$TBS->Render = TBS_OUTPUT;
$TBS->Show();

@mysql_close();
die();
}

Problem is that $message don't like special charecters - am i right?

And Drift_King_CZ - thanks for the reply. ;)

PioneerLv
27th February 2008, 13:11
Great work Martinss! Added to bookmarks. ;)

Martinss
27th February 2008, 14:35
Just checked developers site of phpmotion - message problem doesen't seems to be solved. :( I will try to add some other message system.

Drift King CZ
27th February 2008, 14:47
No problem Martinss :).

if ($_POST['submitted_reply'] == "yes") {
$member_username = $_POST['member_username'];//check if form has been submitted
$subject = 'Re: ' . $_POST['subject'];
;
$message = "";
addslashes($message);
$todays_date = $config["date_format"];
$template = "templates/main_1.htm";
$inner_template1 = "templates/inner_email_compose.htm";//middle of page
$TBS = new clsTinyButStrong;
$TBS->NoErr = true;// no more error message displayed.
$TBS->LoadTemplate("$template");
$TBS->Render = TBS_OUTPUT;
$TBS->Show();

@mysql_close();
die();
}

Hmm try this. I don't know if it will be work...
In manual was:

<?php
$str = "Is your name O'reilly?";

// Types: Is your name O\'reilly?
echo addslashes($str);
?>

And by the way the problem are only " and '.
. , - is ok. It doesn't make problems. I know sure.

EDIT: If it won't work, try this... If this won't work too, so I don't know.

if ($_POST['submitted_reply'] == "yes") {
$member_username = $_POST['member_username'];//check if form has been submitted
$subject = 'Re: ' . $_POST['subject'];
;
addslashes ($message = "");
$todays_date = $config["date_format"];
$template = "templates/main_1.htm";
$inner_template1 = "templates/inner_email_compose.htm";//middle of page
$TBS = new clsTinyButStrong;
$TBS->NoErr = true;// no more error message displayed.
$TBS->LoadTemplate("$template");
$TBS->Render = TBS_OUTPUT;
$TBS->Show();

@mysql_close();
die();
}

Drift King CZ
27th February 2008, 15:00
Just checked developers site of phpmotion - message problem doesen't seems to be solved. :( I will try to add some other message system.
I think there's an error when server sends the data to a database. It is confused because there is many times this: ". And this is also used in syntax of PHP... The function I typed to the code should add this: \ before these symbolsl: " and '. It is because when I will type to the message: Hello franky, group ,,LFS Action\"... The message will be sent thanks to the symbol: \.

EDIT: I think :D.

Martinss
27th February 2008, 15:04
Theres problem in only ' this symbol. Because when i send part of your message like this:


Hello, I created group ,,LFS Action" and I typed bad description so I tried edit it, but it is not able to or I didn't


It returns white page, but when i send like this:


Hello, I created group ,,LFS Action" and I typed bad description so I tried edit it, but it is not able to or I didnt


It sends. And your code also don't work. :(

EDIT: could htmlspecialchars(); help in this case?

Drift King CZ
27th February 2008, 15:09
Hmm, so I don't know :/. I also don't know PHP too much. I think someone will soon help.

Martinss
27th February 2008, 15:13
Very nice! Almost perfect. It sends now message... but only one thing:

Hello, I created group ,,LFS Action&quot; and I typed bad description so I tried edit it, but it is not able to or I didn&#039;t find it and the same when I wanted delete the group. So I deleted myself from the group and now it&#039;s a group without admin.

And sorry, it was an accidents - I sent some reports so... Sorry.

And a while ago I sent you a test message, because when I tried to send this message 1st time, I was redirected on white page... Adress was still the same ,,http://www.lfsvide o.net/emailcompose.p hp&quot;.
And again the white page, so I&#039;m trying 3rd time.
4th time... 5th time...

M1k3

Now idea, how do "decode" this? :D

Drift King CZ
27th February 2008, 15:22
It WORKS? Man it works? :P
How to decode? I don't think it is because of my update, I think it is problem in PHPmotion.

Just look for example at this video description...
http://www.lfsvideo.net/play.php?vid=94
Do you see? I think PHPmotion has a problem with links...

EDIT: Aha you maybe mean this: &quot;
I think it is code for the symbol: "
Hmm lol...

Martinss
27th February 2008, 15:26
There is htmlspecialchars_ decode, but only works on PHP5, my host has PHP4 :(

Yes, know about links - it is in my "to do" list. :)

Drift King CZ
27th February 2008, 15:29
There is htmlspecialchars_ decode, but only works on PHP5, my host has PHP4 :(

Yes, know about links - it is in my "to do" list. :)
Hmm try it... Try the htmlspecialchars_ decode... Just try it, maybe it really won't work cause of the PHP4, or maybe will. By the way it is bad if theres really only php4 :/.

EDIT: I'm gonna race some competition in 30 minutes... But after I will open my Magic Book (PHP5, MySQL, Apache - Creating web applications) or find out something on internet...

Martinss
27th February 2008, 15:33
What a idiot i am. :D

Your addslashes($message); works, i just putted it in wrong place.


$member_username = $_POST['member_username'];//check if form has been submitted
$subject = $_POST['subject'];
;
$message = addslashes($_POST['message']);
$todays_date = $config["date_format"];


Now it works perfectly. :) Thank you Drift King CZ. :)

Now just still two bugs to fix:
1. Links
2. Description edit on group

Drift King CZ
27th February 2008, 15:36
3. Delete group.

No problem :thumb:. And don't call me Drift King CZ please, I hate my LFSworld nick, I was an idiot when I created nick like this... :D

EDIT:Hmm when a group is private the others cannot see the group... I thought it's like that you will send a request to join and admin will accept it or not. Wouldn't be better? And how can I join private group, when I can't get on it's Group Home Page?

M1k3

Martinss
27th February 2008, 16:08
Will try to fix this too. ;)

Drift King CZ
27th February 2008, 16:16
Yes, make also the private group visible for everyone :-).
Next thing: NiTRo_SvK joined my group, but his video (http://www.lfsvideo.net/play.php?vid=95) isn't in Group Home Page. Why? Is it so that there are only videos, which members of the group add since they are in the group?

EDIT: Aha, LFSHades, who just also joined my group told me that he has to add it at the group.

Martinss
27th February 2008, 21:58
Correct link/text displaying in video

Done! Two more bugs / features to go! :)

Drift King CZ
28th February 2008, 08:59
You mean the description of video? Do users have to update the descriptions? Because I still see the bad links etc.

Martinss
28th February 2008, 09:33
Yes, they need to update them. :) Because problem were in posting - when you write description and enter new line with hitting "enter" - this enter then displays ar <br />

Martinss
29th February 2008, 09:00
Added "Delete group" feature. :)

Drift King CZ
29th February 2008, 12:50
Good job. By the way - rating. There is 5 stars in the line. But when I want give the highest rating, which star should i click on? Last on left or right?

Martinss
29th February 2008, 13:40
Last on right. :)

Lampost22
1st March 2008, 08:21
Very nice. Remembering my Demo-Times I was searching for some S2 content to decide whether to buy LFS S2 or not. The demo was quit fun and interesting but I didn't know what to expect from S2. So a video with great S2 action would have accelerated my decision by quit some time. With this video portal we should gain another million S2 drivers. :D

RacerAsh3
1st March 2008, 10:21
Caaaaaaaaaaaarazy, looking good :) Good luck to you and your site :)

Damo74
1st March 2008, 10:31
NEVER!

Stage6 is da best. Even though it takes years to load a good video on it its worth it lol. But for sure it'll be easier to find the kind of video's your looking for in this site ;P

Actually, its true that Stage6 is gone. Divx have shut it down completely. So no more from there, so this site is a good alternative! Or you can use the secret html tag on Youtube videos to get a better quality stream.:thumb:

By the way, just add &fmt=18 to the end of the address for the youtube video.:shhh:

Drift King CZ
1st March 2008, 10:43
One of the main problems is slow loading of video.

squidhead
1st March 2008, 11:02
I guess I should give it a try

Edit: problem no1 - doesn't send confirmation mails to inbox.lv
Edit2: it was built in spam filtering problem...it doesn't like the "noreply" in the sender's adress
Edit3: ditch the reset button in uploading videos menu

Edit4: file name is 28 characters including ".avi"
I get this
http://i120.photobucket.com/albums/o186/ste_fly/error.jpg

Martinss
1st March 2008, 11:20
Remove spaces in the filename. ;)

squidhead
1st March 2008, 11:37
did that, worked
40kb/s

I uploaded this movie to YT in a matter of 10 minutes, this will take me 48 minutes with this movie...
speed isn't on a brilliant side :(

Martinss
1st March 2008, 11:41
You have lattelekom internet provider? Right? For me speed is 200-400kb/s up. :) How i already said - server is located in UK. :)

edit: And that is your choice to use it or not. If it meets all your requirements - use it, if not - use youtube instead. ;)
I have future plans on dedicated server, to host this (if all will go right and there will be lot of LFS users).

squidhead
1st March 2008, 12:02
You have lattelekom internet provider? Right?
Balticom...
Speedtest.net has just shown 320kb/s up with London...(considering i am running a few downloads at the moment, and still uploading the video to lfsvideos.net)

regular speed in LV
http://www.speedtest.net/result/225828933.png


it's not my provider's problem I believe

Martinss
1st March 2008, 12:17
Well...
http://www.speedtest.net/result/240747211.png
http://www.speedtest.net/result/240748884.png

And

http://img.lejup.lv/images/2160.PNG

So maybe your nonLatvian internet speed is poor. :rolleyes:

squidhead
1st March 2008, 12:27
I doubt that, I will have to turn off Any sort of downloads/uploads and check it out...
but I can already say that I have uploaded a file twice as big to Filefront in less time...

Martinss
1st March 2008, 12:48
Maybe current server internet connection don't like you. :D

blackcarmafia
1st March 2008, 13:19
NIce :thumb: great joob ....

Martinss
1st March 2008, 13:41
squidhead thanks for that video - now found one bug - cuts long videos. :) Will try to fix this. And can you give me that file what you uploaded throught skype or host somewhere? I will try to upload it after fix. My skype: martins.se

squidhead
1st March 2008, 13:43
must agree, quality is better than YT...video gets cut early...
Edit:
speed with UK seems to be ok
http://www.speedtest.net/result/240779433.png


also I'd rather use MSN or ICQ

Martinss
1st March 2008, 13:49
Squidhead you cutted that video, or there is bug? If you didn't cutted it, then can you give me the original file? I will test it later.

squidhead
1st March 2008, 13:52
Squidhead you cutted that video, or there is bug? If you didn't cutted it, then can you give me the original file? I will test it later.

didn't cut it, I got another long vid if you want to test it out
http://files.filefront.com/head2head+vol3+Medium+Qulavi/;9677951;/fileinfo.html
140mb
test on this one
8+ minutes

Martinss
1st March 2008, 13:54
Oh. Thanks i'll test it out. :)

Martinss
1st March 2008, 18:25
Fixed the problem with videos getting cuted off - all now is okay. :)

squidhead
1st March 2008, 18:47
cool, you may remove the video I gave you now :smileypul

Martinss
1st March 2008, 19:18
Okay - also your uploaded video too?

squidhead
1st March 2008, 19:22
I guess so, I saw what I wanted to see :nod:

Mp3 Astra
1st March 2008, 23:58
MP3 Astra - server is located in USA, so thats why. :)
I'm getting 200kb/s up. :D


How i already said - server is located in UK. :)

Is it in the USA, or the UK? :)

Martinss
2nd March 2008, 07:11
Crap again. :D In the USA. :)

Martinss
9th March 2008, 10:16
Added site statistic. I see, thats there is almost no activity. Please post here if you have some issues uploading videos. :)

FOX 1977
10th March 2008, 18:35
The site looks good, but you got most viewed, most recent....how about most rated? :scratchch

Martinss
11th March 2008, 15:30
Will try that. :)

PioneerLv
12th March 2008, 20:46
Buffering. Why buffering is so long? To watch 5 mins long video i need to wait for at least 10 minutes.

Martinss
13th March 2008, 13:04
Because server is located in USA. U have Lattelecom internetprovider? If yes, then thats your problem.

pine-fin
13th March 2008, 16:13
What about a divxwebplayer? Would be nice to get full quality and not crappy youtube quality :(

I really liked stage6 and the option to go fullscreen and the video didnt turn into pixelcrap.

Martinss
15th March 2008, 13:19
I think that divxwevplayer is imposible to add to lfsvideo, or if it is possible there is neede so much coding. If you see some videos - there's not crappy youtube quality - it is much better than youtube quality.

pine-fin
15th March 2008, 14:40
Yes, but I mean that if you want to view fullscreen, the video looks like crap because of the stretching. Would be nice if we make 1280* res movies and view them as they are (like stage6 did). Now the player shrinks the video into a tiny window and you cant view it in full res :(

Martinss
15th March 2008, 16:42
I have only 30gb of space. ;)

Martinss
9th May 2008, 17:27
:)

DHRammstein
11th May 2008, 19:24
I will click plenty, nice site, keep it up!

Dalek0220
11th May 2008, 19:26
Wow. Can't believe I noticed this! Heh heh, I've got a decent video and could put it on there.

*clicks ad*

Martinss
17th May 2008, 10:16
:)

Krammeh
25th May 2008, 22:17
You do realise that requesting a user to click the link is just against the terms and conditions of google adsense as clicking the link yourself.

If I were you I would edit your forum post here, and ask the others to edit theirs too - as you will soon enough get banned from Google Adsense.

Beleive you me, its happened to me before!

Martinss
29th May 2008, 17:21
Done. :)

JO53PHS
29th May 2008, 19:56
I'm having problems uploading. Every time I try to upload, the webpage kinda expires while it's uploading :(

JO53PHS
29th May 2008, 20:45
Ok that ^ is all sorted but now I'm having aspect ratio problems.

It's squashing my 16:9 video into a 4:3 frame which looks, to be honest, awful :S

wOoOzZy
30th May 2008, 04:38
What can I use to convert the mpr or spr replays into a format that can be uploaded to the site?

JO53PHS
30th May 2008, 07:05
Nothing, because they're not video files. Basically what they are (I think) is a set of *instructions* that tell AI to do exactly what you did.

You can use FRAPS to record stuff though :)

JasonJ
30th May 2008, 10:51
What can I use to convert the mpr or spr replays into a format that can be uploaded to the site?HELP IS HERE (http://www.lfsforum.net/showthread.php?t=219)

wOoOzZy
30th May 2008, 21:17
Thanks

Martinss
25th July 2008, 15:08
Is there someone who want to take over this project (not for free, lol)? I don't have too much time for it, also site visit number is very poor. Hosting is ending by middle of august, i think.

Drift King CZ
30th November 2008, 14:29
I'm just getting know that maybe someone could remove the banner heading on lfsvideo.net. I mean the banner in header of lfsforums.net where are all the banners randomly showed. I can still see it sometimes.