TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   Absolute Beginners (http://www.talkphp.com/absolute-beginners/)
-   -   time of the video (http://www.talkphp.com/absolute-beginners/2235-time-video.html)

webtuto 02-12-2008 01:27 PM

time of the video
 
hi guys
im crating a script something like youtube
and i want to know how to code a features that shows how much time is on the video !!!!
thanks ;)

cosmok 02-12-2008 01:56 PM

How about using an existing free player like this: Flowplayer | Flash Video Player for the Web

webtuto 02-12-2008 02:10 PM

hi but how do i use it to display videos stored on the database

webtuto 02-12-2008 02:14 PM

and i want the player to be able to red WAV videos

cosmok 02-12-2008 02:16 PM

do u have video stored as BLOBs in a MySQL table? If that is the case, I have no idea on how to implement what you want to achieve.

webtuto 02-12-2008 02:47 PM

i have videos stored as LINKS

owenj2o 02-12-2008 03:09 PM

I don't think this is possable in PHP. If your using flash to play the video try looking into Actionscript video functions.

Haris 02-12-2008 04:09 PM

Please look into FFmpeg ^^

php ffmpeg - Google Search

owenj2o 02-12-2008 05:01 PM

Proved me wrong =)

webtuto 02-12-2008 06:18 PM

Quote:

Originally Posted by owenj2o (Post 10643)
I don't think this is possable in PHP. If your using flash to play the video try looking into Actionscript video functions.

lol i dont know how to prove u something but
is there a way to do it
bcz i wanna the WAV videos and other videos format to be working using a nice player

Wildhoney 02-12-2008 06:42 PM

If the encoded FLVs have the correct meta tags attached then Flash can extract the time information with ease. Otherwise you'll have to pass in the time information via an embed parameter.

Orc 02-12-2008 10:07 PM

I got FFMPEG, it's a bunch of C Source Files.

webtuto 02-12-2008 11:24 PM

thanks guys , but what i need is a player to show videos
like youtube
i put the link of the wmv video

Orc 02-13-2008 12:05 AM

Quote:

Originally Posted by webtuto (Post 10662)
thanks guys , but what i need is a player to show videos
like youtube
i put the link of the wmv video

You want to allow to upload videos into a player? You need a codec, otherwise you have to edit every video you want in flash for the player.

webtuto 02-13-2008 12:09 AM

yeah how to use that codec ?

Devels 02-13-2008 08:13 PM

You need to convert the videos to the flv format, this flv file contains metadata like the duration. You can convert the videos using FFmpeg.
Then use a flash player to play the flv video.

Most interesting is if someone in this great community has also experience with FFmpeg?

Haris 02-14-2008 06:18 PM

Quote:

Originally Posted by Devels (Post 10688)
You need to convert the videos to the flv format, this flv file contains metadata like the duration. You can convert the videos using FFmpeg.
Then use a flash player to play the flv video.

Most interesting is if someone in this great community has also experience with FFmpeg?

I am currently downloading and installing ffmpeg on windows, as we speak.

I'll hopefully have a lot of experience when I complete this client project. :)

Devels 02-14-2008 08:02 PM

Another interesting topic to mention is, ffmpeg is opensource, but on an commercial level the company On2 is offering a much better codec, you will see the diferrence on the quality of the motion picture. That is just my experience.


All times are GMT. The time now is 09:59 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0