I opened a support ticket and was asked to change the CHMOD on some folders - I've done this but still getting this error, can anyone help?
Very close to giving up on this script completely.
	Code:
	File: /home/kswclips/public_html/video/2014Sundance_CXR_EOnline.flv
$file_extn = flv
$re_process_vid = 0
$rand_flv_name = 1390039758838381882.flv
sql
INSERT INTO `videos` SET                    `video_user_id`='2',                    `video_seo_name`='2014-sundance-film-festival-eonline-interview',                    `video_title`='2014 Sundance Film Festival - EOnline Interview',                    `video_description`='Interview by EOnline',                    `video_keywords`='sundance 2014 events interview redcarpet',                    `video_channels`='0|1|0',                    `video_name`='2014Sundance_CXR_EOnline.flv',                    `video_flv_name`='1390039758838381882.flv',                    `video_add_time`='1390039758',                    `video_add_date`='2014-01-18',                    `video_type`='public',                    `video_active`='0',                    `video_approve`='1',                    `video_folder`='4ca4238a0b/'
UPDATE `process_queue` SET                    `vid`='323' WHERE                    `id`='323'
Video id: 323
Video Output File Name : /home/kswclips/public_html/flvideo/4ca4238a0b/1390039758838381882.flv$video_flv = Video Output File Name : /home/kswclips/public_html/flvideo/4ca4238a0b/1390039758838381882.flv
Find video duration - START/usr/bin/ffmpeg -i /home/kswclips/public_html/video/2014Sundance_CXR_EOnline.flv
FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers   built on Jan 29 2012 17:52:15 with gcc 4.4.5 20110214 (Red Hat 4.4.5-6)   configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter --enable-avfilter-lavf --enable-libdc1394 --enable-libdirac --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab   libavutil     50.15. 1 / 50.15. 1   libavcodec    52.72. 2 / 52.72. 2   libavformat   52.64. 2 / 52.64. 2   libavdevice   52. 2. 0 / 52. 2. 0   libavfilter    1.19. 0 /  1.19. 0   libswscale     0.11. 0 /  0.11. 0   libpostproc   51. 2. 0 / 51. 2. 0 [flv @ 0xb17670]Estimating duration from bitrate, this may be inaccurate  Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 30.00 (30/1) Input #0, flv, from '/home/kswclips/public_html/video/2014Sundance_CXR_EOnline.flv':   Metadata:     duration        : 87     starttime       : 0     totalduration   : 87     width           : 426     height          : 240     videodatarate   : 281     audiodatarate   : 64     totaldatarate   : 353     framerate       : 30     bytelength      : 3851985     canseekontime   : true     sourcedata      : B4A7DD861HH1390038852554188     purl            :     pmsg            :   Duration: 00:01:27.16, start: 0.000000, bitrate: 351 kb/s     Stream #0.0: Video: flv, yuv420p, 426x240, 287 kb/s, 30 tbr, 1k tbn, 1k tbc     Stream #0.1: Audio: mp3, 22050 Hz, 2 channels, s16, 64 kb/s At least one output file must be specifiedDuration (ffmpeg): 87
DURATION: 01:27Create Thumbnail - STARTCreating Thumbnail with ffmpeg/home/kswclips/public_html/thumb/4ca4238a0b//323.jpg
/usr/bin/ffmpeg -i /home/kswclips/public_html/video/2014Sundance_CXR_EOnline.flv -ss 00:01:08 -t 00:00:01 -s 320x240 -r 1 -f mjpeg /home/kswclips/public_html/thumb/4ca4238a0b//323.jpg/home/kswclips/public_html/thumb/4ca4238a0b//1_323.jpg
/usr/bin/ffmpeg -i /home/kswclips/public_html/video/2014Sundance_CXR_EOnline.flv -ss 00:01:17 -t 00:00:01 -s 120x90 -r 1 -f mjpeg /home/kswclips/public_html/thumb/4ca4238a0b//1_323.jpg/home/kswclips/public_html/thumb/4ca4238a0b//2_323.jpg
/usr/bin/ffmpeg -i /home/kswclips/public_html/video/2014Sundance_CXR_EOnline.flv -ss 00:00:35 -t 00:00:01 -s 120x90 -r 1 -f mjpeg /home/kswclips/public_html/thumb/4ca4238a0b//2_323.jpg/home/kswclips/public_html/thumb/4ca4238a0b//3_323.jpg
/usr/bin/ffmpeg -i /home/kswclips/public_html/video/2014Sundance_CXR_EOnline.flv -ss 00:00:52 -t 00:00:01 -s 120x90 -r 1 -f mjpeg /home/kswclips/public_html/thumb/4ca4238a0b//3_323.jpgCreate Thumbnail with ffmpeg - END
MOVING  UPLOADED FLV:  /home/kswclips/public_html/video/2014Sundance_CXR_EOnline.flv =>  /home/kswclips/public_html/flvideo/4ca4238a0b/1390039758838381882.flvCHMOD FAILED: 4ca4238a0b/ - 0755
ERROR: moving uploaded file failed: 2: copy(/home/kswclips/public_html/flvideo/4ca4238a0b/1390039758838381882.flv) [function.copy]: failed to open stream: Permission denied
Running flvtool2: /usr/bin/flvtool2 -U /home/kswclips/public_html/flvideo/4ca4238a0b/1390039758838381882.flvUPDATE `process_queue` SET 		       `status`='6' WHERE 		       `id`='323'
ERROR: failed video conversion.
 
				
			
Bookmarks