I try to upload .avi file 33mg. Getting this error
ERROR: Failed to open /home/video/public_html/templates_c/f98ae029aad758dcc1dc2b8480e0a10a.params
Please advise
I try to upload .avi file 33mg. Getting this error
ERROR: Failed to open /home/video/public_html/templates_c/f98ae029aad758dcc1dc2b8480e0a10a.params
Please advise
This is because you refreshed the upload page or clicked backbutton during video processing.
Here is the the web server log
After upload finished, user will redirect to the page "/upload.php?rnd_id=EQHcMnM5" once.Code:76.64.64.161 - - [04/Oct/2007:17:08:59 +0000] "POST /upload.php?rnd_id=EQHcMnM5 HTTP/1.1" 200 - "http://video.bizhat.com/cgi-bin/uu_upload.pl?tmp_sid=f98ae029aad758dcc1dc2b8480e0a10a" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)" 76.64.64.161 - - [04/Oct/2007:17:12:20 +0000] "POST /upload.php?rnd_id=EQHcMnM5 HTTP/1.1" 200 739 "http://video.bizhat.com/cgi-bin/uu_upload.pl?tmp_sid=f98ae029aad758dcc1dc2b8480e0a10a" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)" 76.64.64.161 - - [04/Oct/2007:17:21:03 +0000] "POST /upload.php?rnd_id=EQHcMnM5 HTTP/1.1" 200 739 "http://video.bizhat.com/cgi-bin/uu_upload.pl?tmp_sid=f98ae029aad758dcc1dc2b8480e0a10a" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)"
From the Apache log, it seems you are visiting the page 3 times.
First time, the video get converted, if you try to go to that page again, since the video already processed, you will get that error.
I did upload file again.
I did not touch scree during upload
http://video.bizhat.com/upload.php?rnd_id=JLDOVFO3
ERROR: Failed to open /home/video/public_html/templates_c/0b57134b53a3fd47f3fa768a4c7862c4.params
I was waiting 15 minute after i got this error
I did get notification
USER ID: 238
USER IP: 65.95.70.182
USERNAME: imelamed
TITLE: test video
DESCRIPTION: test video
KEYWORDS: test video
CHANNEL: 1
TYPE: public
VIDEO URL: http://video.bizhat.com/view/1184/test-video/
Please advise
Thank you for help
It may be some problem with your browser, may be some plugin installed on your browser.
If you upload to any vshare site, you will get the same error.
The solution is set video processing to background.
Do I need to set cron job to run background processing
background processin do not work
same file can upload in real time and batch
2007-10-06 10:39:10 Upload Finished
2007-10-06 10:39:10 Running: /usr/bin/php -q /home/internev/public_html/convert.php 131 > /dev/null &
2007-10-06 10:39:10 Starting Background video conversion - 131
2007-10-06 10:39:10 Video (131) Conversion starting...
2007-10-06 10:39:10 File: /home/internev/public_html/video/flvcamtasia_6.flv
2007-10-06 10:39:10 -------------------------------------------------------------
2007-10-06 10:39:10 INSERT INTO video SET
UID='2',
title='back',
description='back',
keyword='back',
channel='0|1|0',
addtime='1191681550',
adddate='2007-10-06',
vkey='156642246',
type='public',
active='0',
approve='1'
2007-10-06 10:39:10 -------------------------------------------------------------
2007-10-06 10:39:10 Video id: 108
2007-10-06 10:39:10 Calling ffmpeg-php -> ffmpeg_movie()
2007-10-06 10:39:10 Get video duration - START
2007-10-06 10:39:10 Get video duration - END
2007-10-06 10:39:10 DURATION: 17
2007-10-06 10:39:10 Create Thumbnail - START
2007-10-06 10:44:06 Upload Finished
2007-10-06 10:44:06 Running: /usr/bin/php -q /home/internev/public_html/convert.php 132 > /dev/null &
2007-10-06 10:44:06 Starting Background video conversion - 132
2007-10-06 10:44:06 Video (132) Conversion starting...
2007-10-06 10:44:06 File: /home/internev/public_html/video/flvcamtasia_7.flv
2007-10-06 10:44:06 -------------------------------------------------------------
2007-10-06 10:44:06 INSERT INTO video SET
UID='2',
title='test 7',
description='test 7',
keyword='test',
channel='0|1|0',
addtime='1191681846',
adddate='2007-10-06',
vkey='2088837742',
type='public',
active='0',
approve='1'
2007-10-06 10:44:06 -------------------------------------------------------------
2007-10-06 10:44:06 Video id: 109
2007-10-06 10:44:06 Calling ffmpeg-php -> ffmpeg_movie()
2007-10-06 10:44:06 Get video duration - START
2007-10-06 10:44:06 Get video duration - END
2007-10-06 10:44:06 DURATION: 17
2007-10-06 10:44:06 Create Thumbnail - START
any ideas
Than you for help
It seems server can't create thumbnail.
See
Create Thumbnail - START
Try running the script on your server and see if it can create thumbnail.
Bookmarks