Hello Guys
Thank you Zarcon for your help , I've followed your way and setup cron as this :
/usr/local/bin/php -c /home/gowawcom/public_html/php.ini -q /home/gowawcom/public_html/periodic/cron.php
Now I am Able to upload Video but the video not play , no sound or pic play !!!!
My php.ini file in the route is as follows:
register_globals Off
upload_max_filesize=300M
post_max_size=300M
max_input_time=3000
max_execution_time=3000
memory_limit=128M
AddType x-mapp-php5 .php
embading youtube work fine
I receive the following E-mail from Cron after uploading :
-----------
FFmpeg version SVN-r19066, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --enable-libmp3lame --enable-libxvid --enable-libx264 --enable-gpl --enable-libvorbis --enable-libogg --enable-libtheora --enable-liba52 --enable-libamr-nb --enable-libamr-wb --enable-libfaad --enable-libfaac --enable-pthreads --disable-shared --enable-static --enable-avfilter --enable-nonfree --disable-ffplay --disable-ffserver --extra-ldflags='-L/usr/lib -static'
libavutil 50. 3. 0 / 50. 3. 0
libavcodec 52.30. 1 / 52.30. 1
libavformat 52.34. 0 / 52.34. 0
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 0. 5. 0 / 0. 5. 0
libswscale 0. 7. 1 / 0. 7. 1
built on Jul 1 2009 10:40:54, gcc: 4.1.2 (Gentoo 4.1.2 p1.0.2)
Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 29.97 (30000/1001) Input #0, asf, from '/home/gowawcom/public_html/flash/modules/video/files/241':
Duration: 00:01:12.03, start: 3.100000, bitrate: 303 kb/s
Stream #0.0: Video: wmv2, yuv420p, 320x240, 29.97 tbr, 1k tbn, 1k tbc
Stream #0.1: Audio: wmav2, 22050 Hz, mono, s16, 64 kb/s [ffmpeg_output @ 0x8ec5a40]auto-inserting filter 'scale'
Output #0, image2, to '/home/gowawcom/public_html/flash/modules/video/files/1262892302.jpg':
Stream #0.0: Video: mjpeg, yuvj420p, 320x240, q=2-31, 200 kb/s, 90k tbn, 29.97 tbc Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
frame= 1 fps= 0 q=0.0 Lsize= -0kB time=0.03 bitrate= -5.3kbits/s
video:3kB audio:0kB global headers:0kB muxing overhead -100.651852% FFmpeg version SVN-r19066, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --enable-libmp3lame --enable-libxvid --enable-libx264 --enable-gpl --enable-libvorbis --enable-libogg --enable-libtheora --enable-liba52 --enable-libamr-nb --enable-libamr-wb --enable-libfaad --enable-libfaac --enable-pthreads --disable-shared --enable-static --enable-avfilter --enable-nonfree --disable-ffplay --disable-ffserver --extra-ldflags='-L/usr/lib -static'
libavutil 50. 3. 0 / 50. 3. 0
libavcodec 52.30. 1 / 52.30. 1
libavformat 52.34. 0 / 52.34. 0
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 0. 5. 0 / 0. 5. 0
libswscale 0. 7. 1 / 0. 7. 1
built on Jul 1 2009 10:40:54, gcc: 4.1.2 (Gentoo 4.1.2 p1.0.2)
Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 29.97 (30000/1001) Input #0, asf, from '/home/gowawcom/public_html/flash/modules/video/files/241':
Duration: 00:01:12.03, start: 3.100000, bitrate: 303 kb/s
Stream #0.0: Video: wmv2, yuv420p, 320x240, 29.97 tbr, 1k tbn, 1k tbc
Stream #0.1: Audio: wmav2, 22050 Hz, mono, s16, 64 kb/s Output #0, flv, to '/home/gowawcom/public_html/flash/modules/video/files/241.flv':
Stream #0.0: Video: flv, yuv420p, 480x360, q=2-31, 200 kb/s, 1k tbn, 25 tbc
Stream #0.1: Audio: libmp3lame, 44100 Hz, mono, s16, 64 kb/s Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
frame= 107 fps= 0 q=0.0 size= 301kB time=4.10 bitrate= 601.1kbits/s
frame= 210 fps=209 q=0.0 size= 1126kB time=8.28 bitrate=1114.0kbits/s
frame= 277 fps=184 q=0.0 size= 1624kB time=10.97 bitrate=1212.5kbits/s
frame= 333 fps=164 q=0.0 size= 2060kB time=13.17 bitrate=1282.0kbits/s
frame= 442 fps=175 q=0.0 size= 2861kB time=17.48 bitrate=1340.9kbits/s
frame= 537 fps=177 q=0.0 size= 3702kB time=21.29 bitrate=1424.3kbits/s
frame= 582 fps=164 q=0.0 size= 4052kB time=23.09 bitrate=1437.5kbits/s
frame= 606 fps=146 q=0.0 size= 4270kB time=24.09 bitrate=1452.3kbits/s
frame= 649 fps=139 q=0.0 size= 4626kB time=25.78 bitrate=1469.7kbits/s
frame= 744 fps=124 q=0.0 size= 5395kB time=29.65 bitrate=1490.5kbits/s
frame= 752 fps=114 q=0.0 size= 5455kB time=29.94 bitrate=1492.8kbits/s
frame= 786 fps=111 q=0.0 size= 5692kB time=31.27 bitrate=1491.2kbits/s
frame= 866 fps=114 q=0.0 size= 6257kB time=34.53 bitrate=1484.2kbits/s
frame= 995 fps=123 q=0.0 size= 7202kB time=39.63 bitrate=1488.7kbits/s
frame= 1075 fps=125 q=0.0 size= 7806kB time=42.84 bitrate=1492.6kbits/s
frame= 1204 fps=133 q=0.0 size= 8724kB time=47.99 bitrate=1489.4kbits/s
frame= 1303 fps=136 q=0.0 size= 9443kB time=51.98 bitrate=1488.2kbits/s
frame= 1418 fps=140 q=0.0 size= 10464kB time=56.58 bitrate=1515.0kbits/s
frame= 1503 fps=142 q=0.0 size= 11150kB time=59.98 bitrate=1522.9kbits/s
frame= 1584 fps=142 q=0.0 size= 11831kB time=63.22 bitrate=1533.2kbits/s
frame= 1663 fps=143 q=0.0 size= 12520kB time=66.38 bitrate=1545.2kbits/s
frame= 1742 fps=144 q=0.0 size= 13140kB time=69.49 bitrate=1549.2kbits/s
frame= 1842 fps=146 q=0.0 size= 13905kB time=73.53 bitrate=1549.1kbits/s
frame= 1879 fps=147 q=0.0 Lsize= 14148kB time=75.16 bitrate=1542.0kbits/s
video:13485kB audio:588kB global headers:0kB muxing overhead 0.530327% FFmpeg version SVN-r19066, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --enable-libmp3lame --enable-libxvid --enable-libx264 --enable-gpl --enable-libvorbis --enable-libogg --enable-libtheora --enable-liba52 --enable-libamr-nb --enable-libamr-wb --enable-libfaad --enable-libfaac --enable-pthreads --disable-shared --enable-static --enable-avfilter --enable-nonfree --disable-ffplay --disable-ffserver --extra-ldflags='-L/usr/lib -static'
libavutil 50. 3. 0 / 50. 3. 0
libavcodec 52.30. 1 / 52.30. 1
libavformat 52.34. 0 / 52.34. 0
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 0. 5. 0 / 0. 5. 0
libswscale 0. 7. 1 / 0. 7. 1
built on Jul 1 2009 10:40:54, gcc: 4.1.2 (Gentoo 4.1.2 p1.0.2)
Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 29.97 (30000/1001) Input #0, asf, from '/home/gowawcom/public_html/flash/modules/video/files/241':
Duration: 00:01:12.03, start: 3.100000, bitrate: 303 kb/s
Stream #0.0: Video: wmv2, yuv420p, 320x240, 29.97 tbr, 1k tbn, 1k tbc
Stream #0.1: Audio: wmav2, 22050 Hz, mono, s16, 64 kb/s Output #0, mpeg, to '/home/gowawcom/public_html/flash/modules/video/files/241.mpg':
Stream #0.0: Video: mpeg1video, yuv420p, 480x360, q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream #0.1: Audio: libmp3lame, 44100 Hz, mono, s16, 64 kb/s Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
frame= 145 fps= 0 q=0.0 size= 606kB time=5.64 bitrate= 879.8kbits/s
frame= 269 fps=267 q=0.0 size= 1600kB time=10.61 bitrate=1235.9kbits/s
frame= 376 fps=249 q=0.0 size= 2428kB time=14.89 bitrate=1335.8kbits/s
frame= 434 fps=216 q=0.0 size= 2892kB time=17.21 bitrate=1376.2kbits/s
frame= 492 fps=189 q=0.0 size= 3432kB time=19.57 bitrate=1436.9kbits/s
frame= 566 fps=182 q=0.0 size= 4048kB time=22.49 bitrate=1474.4kbits/s
[mpeg1video @ 0x8e83060]warning, clipping 1 dct coefficients to -255..255
frame= 637 fps=177 q=0.0 size= 4696kB time=25.36 bitrate=1516.6kbits/s
frame= 730 fps=178 q=0.0 size= 5478kB time=29.05 bitrate=1544.9kbits/s
frame= 782 fps=170 q=0.0 size= 5862kB time=31.14 bitrate=1542.2kbits/s
frame= 831 fps=163 q=0.0 size= 6252kB time=33.10 bitrate=1547.5kbits/s
frame= 882 fps=157 q=0.0 size= 6600kB time=35.19 bitrate=1536.6kbits/s
frame= 977 fps=160 q=0.0 size= 7334kB time=38.97 bitrate=1541.5kbits/s
frame= 1106 fps=167 q=0.0 size= 8338kB time=44.09 bitrate=1549.1kbits/s
frame= 1230 fps=173 q=0.0 size= 9248kB time=49.06 bitrate=1544.3kbits/s
frame= 1261 fps=165 q=0.0 size= 9490kB time=50.31 bitrate=1545.2kbits/s
frame= 1337 fps=164 q=0.0 size= 10130kB time=53.34 bitrate=1555.7kbits/s
frame= 1462 fps=169 q=0.0 size= 11206kB time=58.31 bitrate=1574.5kbits/s
frame= 1562 fps=171 q=0.0 size= 12074kB time=62.35 bitrate=1586.3kbits/s
frame= 1680 fps=174 q=0.0 size= 13114kB time=67.03 bitrate=1602.7kbits/s
frame= 1784 fps=176 q=0.0 size= 13978kB time=71.26 bitrate=1606.9kbits/s
frame= 1862 fps=175 q=0.0 size= 14540kB time=74.32 bitrate=1602.7kbits/s
frame= 1879 fps=175 q=0.0 Lsize= 14664kB time=75.12 bitrate=1599.1kbits/s
video:13982kB audio:588kB global headers:0kB muxing overhead 0.647145% FFmpeg version SVN-r19066, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --enable-libmp3lame --enable-libxvid --enable-libx264 --enable-gpl --enable-libvorbis --enable-libogg --enable-libtheora --enable-liba52 --enable-libamr-nb --enable-libamr-wb --enable-libfaad --enable-libfaac --enable-pthreads --disable-shared --enable-static --enable-avfilter --enable-nonfree --disable-ffplay --disable-ffserver --extra-ldflags='-L/usr/lib -static'
libavutil 50. 3. 0 / 50. 3. 0
libavcodec 52.30. 1 / 52.30. 1
libavformat 52.34. 0 / 52.34. 0
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 0. 5. 0 / 0. 5. 0
libswscale 0. 7. 1 / 0. 7. 1
built on Jul 1 2009 10:40:54, gcc: 4.1.2 (Gentoo 4.1.2 p1.0.2)
Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 29.97 (30000/1001) Input #0, asf, from '/home/gowawcom/public_html/flash/modules/video/files/241':
Duration: 00:01:12.03, start: 3.100000, bitrate: 303 kb/s
Stream #0.0: Video: wmv2, yuv420p, 320x240, 29.97 tbr, 1k tbn, 1k tbc
Stream #0.1: Audio: wmav2, 22050 Hz, mono, s16, 64 kb/s
WARNING: The bitrate parameter is set too low. It takes bits/s as argument, not kbits/s
WARNING: The bitrate parameter is set too low. It takes bits/s as argument, not kbits/s Output #0, mp4, to '/home/gowawcom/public_html/flash/modules/video/files/241.mp4':
Stream #0.0: Video: mpeg4, yuv420p, 176x144, q=2-31, 0 kb/s, 25 tbn, 25 tbc
Stream #0.1: Audio: libmp3lame, 44100 Hz, mono, s16, 0 kb/s Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
frame= 297 fps= 0 q=0.0 size= 521kB time=11.78 bitrate= 362.0kbits/s
frame= 580 fps=565 q=0.0 size= 1200kB time=23.09 bitrate= 425.9kbits/s
frame= 848 fps=544 q=0.0 size= 1827kB time=33.78 bitrate= 443.1kbits/s
frame= 1089 fps=529 q=0.0 size= 2354kB time=43.44 bitrate= 443.9kbits/s
frame= 1359 fps=531 q=0.0 size= 2962kB time=54.26 bitrate= 447.2kbits/s
frame= 1524 fps=498 q=0.0 size= 3386kB time=60.81 bitrate= 456.1kbits/s
frame= 1709 fps=480 q=0.0 size= 3859kB time=68.23 bitrate= 463.4kbits/s
frame= 1879 fps=484 q=0.0 Lsize= 4266kB time=75.16 bitrate= 465.0kbits/s
video:3639kB audio:588kB global headers:0kB muxing overhead 0.921292%
-------------
Please help