473,396 Members | 1,853 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

video thumbnail

Hi
I have many video on my server, wmv, mpeg, avi, etc...
I want to use php to catpure the first frame of the video into a
png/jpeg/mpg, how to?
thanks
from Peter (cm****@hotmail.com)

Aug 28 '06 #1
7 11311
hi

how to upload the video file??
plz let me know..
i uploaded the file ...
the upload completes..but i didnt see no video in my server folder??
what can i do it for this??
it didnt show any error..

plz help me..
thanks in advance..
regards
poorna

cm****@hotmail.com wrote:
Hi
I have many video on my server, wmv, mpeg, avi, etc...
I want to use php to catpure the first frame of the video into a
png/jpeg/mpg, how to?
thanks
from Peter (cm****@hotmail.com)
Aug 28 '06 #2
Hi,

You can use ffmpeg and the PHP API ffmpeg-php :
http://ffmpeg.mplayerhq.hu/
http://ffmpeg-php.sourceforge.net/
Everything is Open Source but you need the proper rights on the server to
install it.

BLob
Aug 28 '06 #3
how to upload the video file??

Like any other file (see the upload section of the php manual if needed).

move_uploaded_file( )
is_uploaded_file( )

The only thing is that video files are bigger than many other files. You
need to check / modify the upload_max_filesize and post_max_size in your
php.ini (or in a .htaccess for a "per folder" approach) :

For example :
php_value upload_max_filesize "15M"
php_value post_max_size "15M"
the upload completes..but i didnt see no video in my server folder??
Ther server uploads the files in its temp folder. Then PHP has to move it to
the appropriate folder (move_uploaded_file).
Regards,

BLob
Aug 28 '06 #4
thanks for ur reply..

i tried to upload..
(now the KB files was uploaded)
But MB files was not uploaded...
what can i do for this??
regards
poorna

Aug 30 '06 #5
poorna wrote:
thanks for ur reply..

i tried to upload..
(now the KB files was uploaded)
But MB files was not uploaded...
what can i do for this??
regards
poorna
Poorna,

You have three different threads open for the same problem. You'll find
it much easier to figure out your problem if you keep it to one thread.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Aug 30 '06 #6
ok jerry..thanks for your advice..

regards
poorna

You have three different threads open for the same problem. You'll find
it much easier to figure out your problem if you keep it to one thread.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Aug 30 '06 #7
i tried to upload..
(now the KB files was uploaded)
But MB files was not uploaded...
what can i do for this??
Check the value of upload_max_filesize and post_max_size.
The easiest way is probably to use phpinfo(); function.
If you try to change the values with a .htaccess file as I suggested before,
this will allow you to check if your changes have been taken into account or
not.

BLob.

Aug 31 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Dafna m | last post by:
Can I present a video file as picture file? (By built-in class) Thanks, Dafna *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded...
0
by: baroque Chou | last post by:
I want to get thumbnail of video clips (wmv, rm ,etc.) to give the user an idea about what it is before he or she start to enjoy the video. is there some property of video object that get the first...
8
by: barb | last post by:
So that the world at large benefits from our efforts, here is one fully documented way to use Windows Irfanview freeware to create thumbnail web galleries (http://www.irfanview.com). STEP 1:...
2
by: rojavenkat81 | last post by:
Hi All, Please help me regarding PHP Program to disply video thumbnail like youtube. Please tell,then only i am continue with my job. Thanks RojaVenkat
3
by: mc | last post by:
My Problem: I need some C# code which creates a thumbnail from a video. The only catch is that I need to run it on a shared host (web server) which will only support assemblies that have the Allow...
2
by: Mahesh K. Anajni | last post by:
hi i am working on blog where member can upload his/her video. when member's viewed his blog it should show the thumbnail of video uploaded by him. so the problem is how to create a thumbnail...
1
by: Mahesh K. Anajni | last post by:
hi i am working on blog where member can upload his/her video. when member's viewed his blog it should show the thumbnail of video uploaded by him. so the problem is how to create a thumbnail...
0
by: gowthamkg | last post by:
Hi, I'm developing an video based site, i want to get an thumbnail for videos for creating video gallery,but without ffmpeg,since i dont get any shared hosting which allow ffmpeg.Please ...
1
by: Moinoddin | last post by:
i am facing problem in creating video thumbnail. i am working on xampp server. i want to capture video thumbnail while uploading video. If anybody knows then please get back to me...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.