Originally Posted by
admin
youtube video actually have no conversion needed. It is just copying downloded file.
If that still showing "convert started" as status, delete the templates_c/debug.txt file. Then in admin process queue, edit the process and change status to convert again.
Now wait for cron to run or run it yourself by going to
http://www.yourdomain/cron.php
It it do not convert the video post the debug log.
I have been trying to make this work for a few days now. Just so I am clear I want to be able to download youtube videos to my server instead of embedding them. My host advised me that my crons are running correctly. I have deleted the debug.txt file and this worked once with a 30 sec video. Here is my debug log
PHP Code:
2010-08-19 17:39:37 Download Finished
2010-08-19 17:39:37 File Name: /home/shegotas/public_html/ineedabadbitch.com/tube/video/423d6928d140c0e60d5c6cf1140c3178.flv
2010-08-19 17:39:37 File Size: 20388683
2010-08-19 19:09:13 http://www.youtube.com/watch?v=kIvFcdvicJw
2010-08-19 19:09:14 http://v20.lscache5.c.youtube.com/videoplayback?ip=69.0.0.0&sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Calgorithm%2Cburst%2Cfactor&fexp=903708%2C903711&algorithm=throttle-factor&itag=34&ipbits=8&burst=40&sver=3&expire=1282287600&key=yt1&signature=70D262B31127D4ADD78E06B1D79057B5F8699233.B34571D10A7AFABEDAF9D55BB29DA8DAAD50F423&factor=1.25&id=908bc571dbe2709c
2010-08-19 19:11:31 Download Finished
2010-08-19 19:11:31 File Name: /home/shegotas/public_html/ineedabadbitch.com/tube/video/45e8decb96e60423fe7bc99fe2ca1c25.flv
2010-08-19 19:11:31 File Size: 20158711
here is convert log
HTML Code:
2010-08-19 19:14:01 [B]STARTING VIDEO CONVERSION (process_queue.id = 31)[/B]
2010-08-19 19:14:01 File: /home/shegotas/public_html/ineedabadbitch.com/tube/video/
2010-08-19 19:14:01 $file_extn =
2010-08-19 19:14:01 $re_process_vid = 0
2010-08-19 19:14:01 $rand_flv_name = 1282263241436600994.flv
2010-08-19 19:14:01 sql
INSERT INTO `videos` SET `video_user_id`='2', `video_seo_name`='my-chick-bad', `video_title`='my chick bad', `video_description`='sorry for the camera glitches, try to ignore them', `video_keywords`='CIMG3579', `video_channels`='0|0|26|0|0', `video_name`='', `video_flv_name`='1282263241436600994.flv', `video_add_time`='1282263241', `video_add_date`='2010-08-19', `video_type`='public', `video_active`='0', `video_approve`='1', `video_folder`='4ca4238a0b/'
2010-08-19 19:14:01 UPDATE `process_queue` SET `vid`='17' WHERE `id`='31'
2010-08-19 19:14:01 Video id: 17
2010-08-19 19:14:01 Video Output File Name : /home/shegotas/public_html/ineedabadbitch.com/tube/flvideo/4ca4238a0b/1282263241436600994.flv 2010-08-19 19:14:01 $video_flv = Video Output File Name : /home/shegotas/public_html/ineedabadbitch.com/tube/flvideo/4ca4238a0b/1282263241436600994.flv
2010-08-19 19:14:01 Find video duration - START 2010-08-19 19:14:01 Duration (ffmpeg): 0
2010-08-19 19:14:01 DURATION: 00:00 2010-08-19 19:14:01 [B]Create Thumbnail - START[/B]
2010-08-19 19:14:01 Create Thumbnail with ffmpeg - END
2010-08-19 19:14:01 $cmd_convert_v = convert_
2010-08-19 19:14:01 428 $cmd_convert =
2010-08-19 19:14:01 2010-08-19 19:14:01 Return value:
2010-08-19 19:14:01 UPDATE `process_queue` SET `status`='6' WHERE `id`='31'
2010-08-19 19:14:01 ERROR: failed video conversion.
2010-08-19 19:20:24 [B]STARTING VIDEO CONVERSION (process_queue.id = 31)[/B]
2010-08-19 19:20:24 File: /home/shegotas/public_html/ineedabadbitch.com/tube/video/
2010-08-19 19:20:24 $file_extn =
2010-08-19 19:20:24 SELECT * FROM `videos` WHERE `video_id`=17
2010-08-19 19:20:24 Video id: 17
2010-08-19 19:20:24 Video Output File Name : /home/shegotas/public_html/ineedabadbitch.com/tube/flvideo/4ca4238a0b/1282263241436600994.flv 2010-08-19 19:20:24 $video_flv = Video Output File Name : /home/shegotas/public_html/ineedabadbitch.com/tube/flvideo/4ca4238a0b/1282263241436600994.flv
2010-08-19 19:20:24 Find video duration - START 2010-08-19 19:20:24 Duration (ffmpeg): 0
2010-08-19 19:20:24 DURATION: 00:00 2010-08-19 19:20:24 [B]Create Thumbnail - START[/B]
2010-08-19 19:20:24 Create Thumbnail with ffmpeg - END
2010-08-19 19:20:24 $cmd_convert_v = convert_
2010-08-19 19:20:24 428 $cmd_convert =
2010-08-19 19:20:24 2010-08-19 19:20:24 Return value:
2010-08-19 19:20:24 UPDATE `process_queue` SET `status`='6' WHERE `id`='31'
2010-08-19 19:20:24 ERROR: failed video conversion.
Did anybody ever solve this? You would be awesome if you say how you got it done.
Bookmarks