Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

2 Stron V   1 2 >  
Reply to this topicStart new topic
> [PHP]Instalcja PHP 5.2.17
kamilalek1
post
Post #1





Grupa: Zarejestrowani
Postów: 23
Pomógł: 0
Dołączył: 25.04.2012

Ostrzeżenie: (0%)
-----


Jak zainstalować php 5.2.17 na centos 6,2 lub centos 5,8 lub naprawić błąd z czasem oto tesc błedu
Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /var/www/html/includes/functions.php on line 1493 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /var/www/html/includes/functions.php on line 1493
Go to the top of the page
+Quote Post
pedro84
post
Post #2





Grupa: Nieautoryzowani
Postów: 2 249
Pomógł: 305
Dołączył: 2.10.2006

Ostrzeżenie: (0%)
-----


php.ini => date.timezone.

Vide: http://www.php.net/manual/en/datetime.conf...i.date.timezone a konkretnie http://www.php.net/manual/en/timezones.php.


--------------------
Google knows the answer...
Go to the top of the page
+Quote Post
kamilalek1
post
Post #3





Grupa: Zarejestrowani
Postów: 23
Pomógł: 0
Dołączył: 25.04.2012

Ostrzeżenie: (0%)
-----


tak mam skonfigurowane php.ini

http://zapodaj.net/ea4e5b7c4836.png.html

Więc nie powinno być błędu, ale jest:(
Go to the top of the page
+Quote Post
pedro84
post
Post #4





Grupa: Nieautoryzowani
Postów: 2 249
Pomógł: 305
Dołączył: 2.10.2006

Ostrzeżenie: (0%)
-----


A może odkomentuj?


--------------------
Google knows the answer...
Go to the top of the page
+Quote Post
kamilalek1
post
Post #5





Grupa: Zarejestrowani
Postów: 23
Pomógł: 0
Dołączył: 25.04.2012

Ostrzeżenie: (0%)
-----


co mam odkomentowac, napisałem ze mam tak skonfigurowane ale mimo takiego ustawienia mam bład.
Go to the top of the page
+Quote Post
drozdii07
post
Post #6





Grupa: Zarejestrowani
Postów: 254
Pomógł: 39
Dołączył: 6.12.2010
Skąd: localhost

Ostrzeżenie: (0%)
-----


Odkomentuj, czyli usuń ; przed date.timezone


--------------------
Wspieram akcję "jQuery i AJAX to nie język programowania"
Go to the top of the page
+Quote Post
kamilalek1
post
Post #7





Grupa: Zarejestrowani
Postów: 23
Pomógł: 0
Dołączył: 25.04.2012

Ostrzeżenie: (0%)
-----


Udało się, ale mam kolejny problem.

oto treść błędu
http://zapodaj.net/d4bd36f6e563.png.html

a tu pisze ze mam to zainstalowane.
http://zapodaj.net/4657b1588100.png.html
Go to the top of the page
+Quote Post
pedro84
post
Post #8





Grupa: Nieautoryzowani
Postów: 2 249
Pomógł: 305
Dołączył: 2.10.2006

Ostrzeżenie: (0%)
-----


Masz kompilowane ffmpeg czy repo? Gdzie instalowane? Wygląda na to, że ten skrypt podaje złą ścieżkę.


--------------------
Google knows the answer...
Go to the top of the page
+Quote Post
kamilalek1
post
Post #9





Grupa: Zarejestrowani
Postów: 23
Pomógł: 0
Dołączył: 25.04.2012

Ostrzeżenie: (0%)
-----


Za pomocą tej instrukcji instalowałem.
http://forums.clip-bucket.com/showthread.p...ket-Extras-Fixs

Tak mam podane ścieżki
http://zapodaj.net/d466676ad7f4.png.html
Go to the top of the page
+Quote Post
pedro84
post
Post #10





Grupa: Nieautoryzowani
Postów: 2 249
Pomógł: 305
Dołączył: 2.10.2006

Ostrzeżenie: (0%)
-----


Forum ClipBucketa nie podejrzę, nie mam tam konta.

Wpisz w konsolę:
  1. find '/' -name ffmpeg

i pokaż co Ci zwraca.


--------------------
Google knows the answer...
Go to the top of the page
+Quote Post
kamilalek1
post
Post #11





Grupa: Zarejestrowani
Postów: 23
Pomógł: 0
Dołączył: 25.04.2012

Ostrzeżenie: (0%)
-----


http://zapodaj.net/18d81a0f0571.png.html
Go to the top of the page
+Quote Post
pedro84
post
Post #12





Grupa: Nieautoryzowani
Postów: 2 249
Pomógł: 305
Dołączył: 2.10.2006

Ostrzeżenie: (0%)
-----


Czyli kompilowałeś sam.

Na ekranie konwersji, tu gdzie masz błąd, masz pod spodem logi (http://zapodaj.net/images/d4bd36f6e563.png).

Kliknij expand, skopiuj wszystko i wrzuć do posta, ale jako tekst, nie screen. Tam będzie informacja dlaczego proces się nie powiódł.


--------------------
Google knows the answer...
Go to the top of the page
+Quote Post
kamilalek1
post
Post #13





Grupa: Zarejestrowani
Postów: 23
Pomógł: 0
Dołączył: 25.04.2012

Ostrzeżenie: (0%)
-----



Started on 2012-05-02 08:59:12 - 2012 May 02

Checking File ....
File : /var/www/html/files/conversion_queue/13359635521b975.avi
File Exists : Yes

Preparing file...
format : avi
duration : 1315.96
size : 184547656
bitrate : 1095
video_width : 720
video_height : 420
video_wh_ratio : 1.7142857142857
video_codec : mpeg4
video_rate : 25
video_bitrate : 961
video_color : N/A
audio_codec : mp3
audio_bitrate : 124
audio_rate : 44100
audio_channels : stereo
path : /var/www/html/files/conversion_queue/13359635521b975.avi

Converting Video
Conversion Command : /usr/local/bin/ffmpeg -i /var/www/html/files/conversion_queue/13359635521b975.avi -f flv -vcodec libx264 -vpre normal -r 25 -s 720x420 -aspect 1.7142857142857 -padcolor 000000 -padtop 0 -padbottom 0 -padleft 0 -padright 0 -acodec libfaac -ab 128000 -ar 22050 /var/www/html/files/videos/13359635521b975.flv 2> /var/www/html/files/temp/1335963553df6a4.tmp


Conversion Details

ffmpeg version 0.9.1-syslint, Copyright © 2000-2012 the FFmpeg developers
built on May 2 2012 06:44:35 with gcc 4.1.2 20080704 (Red Hat 4.1.2-52)
configuration: --prefix=/usr/local/cpffmpeg --enable-shared --enable-nonfree --enable-gpl --enable-pthreads --enable-libopencore-amrnb --enable-decoder=liba52 --enable-libopencore-amrwb --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --extra-cflags=-I/usr/local/cpffmpeg/include/ --extra-ldflags=-L/usr/local/cpffmpeg/lib --enable-version3 --extra-version=syslint
libavutil 51. 32. 0 / 51. 32. 0
libavcodec 53. 42. 4 / 53. 42. 4
libavformat 53. 24. 2 / 53. 24. 2
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 53. 0 / 2. 53. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
Input #0, avi, from '/var/www/html/files/conversion_queue/13359635521b975.avi':
Duration: 00:21:55.96, start: 0.000000, bitrate: 1121 kb/s
Stream #0:0: Video: mpeg4 (Simple Profile) (XVID / 0x44495658), yuv420p, 720x420 [SAR 1:1 DAR 12:7], 25 tbr, 25 tbn, 25 tbc
Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo, s16, 128 kb/s
Option 'padcolor' has been removed, use the pad filter instead
Failed to set value '000000' for option 'padcolor'
Failed to stat file /var/www/html/files/videos/13359635521b975.flv!
Failed to stat file /var/www/html/files/videos/13359635521b975.flv!




Unknown file details - Unable to get output video details using FFMPEG




Time Took : 1.7405 seconds

conversion_status : failed
Go to the top of the page
+Quote Post
pedro84
post
Post #14





Grupa: Nieautoryzowani
Postów: 2 249
Pomógł: 305
Dołączył: 2.10.2006

Ostrzeżenie: (0%)
-----


  1. Option 'padcolor' has been removed, use the pad filter instead
  2. Failed to set value '000000' for option 'padcolor'

Błąd. Rozwiązanie tutaj: http://docs.clip-bucket.com/how-to-fix-vid...version-problem

Dla pewności też sprawdź czy masz prawa zapisu do katalogu /var/www/html/files/videos


--------------------
Google knows the answer...
Go to the top of the page
+Quote Post
kamilalek1
post
Post #15





Grupa: Zarejestrowani
Postów: 23
Pomógł: 0
Dołączył: 25.04.2012

Ostrzeżenie: (0%)
-----


Dodałem uprawnienia 777 do całego folderu html i wszystkich podfolderów.
Wgrałem plik poniżej 2 mb i wyskoczyło failed.


Started on 2012-05-02 09:19:14 - 2012 May 02

Checking File ....
File : /var/www/html/files/conversion_queue/13359647539e175.wmv
File Exists : Yes

Preparing file...
format : asf
duration : 73.66
size : 1442792
bitrate : 153
video_width : 320
video_height : 240
video_wh_ratio : 1.3333333333333
video_codec : wmv3
video_rate : 15.001357588922
video_bitrate : 130
video_color : N/A
audio_codec : wmav2
audio_bitrate : 15
audio_rate : 16000
audio_channels : 1 channels
path : /var/www/html/files/conversion_queue/13359647539e175.wmv

Converting Video
Conversion Command : /usr/local/bin/ffmpeg -i /var/www/html/files/conversion_queue/13359647539e175.wmv -f flv -vcodec libx264 -vpre normal -r 25 -s 320x240 -aspect 1.3333333333333 -padcolor 000000 -padtop 0 -padbottom 0 -padleft 0 -padright 0 -acodec libfaac -ab 128000 -ar 22050 /var/www/html/files/videos/13359647539e175.flv 2> /var/www/html/files/temp/1335964754e6d83.tmp


Conversion Details

ffmpeg version 0.9.1-syslint, Copyright © 2000-2012 the FFmpeg developers
built on May 2 2012 06:44:35 with gcc 4.1.2 20080704 (Red Hat 4.1.2-52)
configuration: --prefix=/usr/local/cpffmpeg --enable-shared --enable-nonfree --enable-gpl --enable-pthreads --enable-libopencore-amrnb --enable-decoder=liba52 --enable-libopencore-amrwb --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --extra-cflags=-I/usr/local/cpffmpeg/include/ --extra-ldflags=-L/usr/local/cpffmpeg/lib --enable-version3 --extra-version=syslint
libavutil 51. 32. 0 / 51. 32. 0
libavcodec 53. 42. 4 / 53. 42. 4
libavformat 53. 24. 2 / 53. 24. 2
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 53. 0 / 2. 53. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0

Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 15.00 (15/1)
Input #0, asf, from '/var/www/html/files/conversion_queue/13359647539e175.wmv':
Metadata:
Application : Windows Movie Maker 2.1.4026.0
WMFSDKVersion : 10.00.00.3646
WMFSDKNeeded : 0.0.0.0000
IsVBR : 0
Duration: 00:01:13.66, start: 0.000000, bitrate: 156 kb/s
Stream #0:0(dut): Audio: wmav2 (a[1][0][0] / 0x0161), 16000 Hz, 1 channels, s16, 16 kb/s
Stream #0:1(dut): Video: wmv3 (Main) (WMV3 / 0x33564D57), yuv420p, 320x240, 134 kb/s, 15 tbr, 1k tbn, 1k tbc
Option 'padcolor' has been removed, use the pad filter instead
Failed to set value '000000' for option 'padcolor'
Failed to stat file /var/www/html/files/videos/13359647539e175.flv!
Failed to stat file /var/www/html/files/videos/13359647539e175.flv!




Unknown file details - Unable to get output video details using FFMPEG




Time Took : 0.2601 seconds

conversion_status : failed


Ale nie rozumiem co mam zrobić.
Napisałeś coś takiego ale nie wiem o co chodzi.

Option 'padcolor' has been removed, use the pad filter instead
Failed to set value '000000' for option 'padcolor'
Go to the top of the page
+Quote Post
pedro84
post
Post #16





Grupa: Nieautoryzowani
Postów: 2 249
Pomógł: 305
Dołączył: 2.10.2006

Ostrzeżenie: (0%)
-----


http://docs.clip-bucket.com/how-to-fix-vid...version-problem

Pod nagłówkiem Failed.

Cytat
option ‘padcolor’ has been removed, use the pad filter instead
Turn on “use vf” in upload & conversion settings under FFMPEG PATH field


--------------------
Google knows the answer...
Go to the top of the page
+Quote Post
kamilalek1
post
Post #17





Grupa: Zarejestrowani
Postów: 23
Pomógł: 0
Dołączył: 25.04.2012

Ostrzeżenie: (0%)
-----


dopiero teraz załapałem o co chodzi, konwertowanie działa a nie do końca "pisze Successfull" bo jak chce obejrzeć film to dźwięk leci a obraz jest zielony.

@edit
A co do zielonego obrazu włączyłem inną przeglądarkę i wszystko działa.

Dodam że jest bardzo długi czas konwertowania film który trwa 30 min konwertuje mi juz 50 min.
Serwer ma procesor 2 rdzeniowy 3,2GHz i 2gb ramu
Da się to jakoś przyspieszyć?

Ten post edytował kamilalek1 2.05.2012, 15:21:49
Go to the top of the page
+Quote Post
pedro84
post
Post #18





Grupa: Nieautoryzowani
Postów: 2 249
Pomógł: 305
Dołączył: 2.10.2006

Ostrzeżenie: (0%)
-----


Dedyk czy VPS? Jeśli VPS, jaka wirtualizacja? Jaki load? Użycie RAMu?


--------------------
Google knows the answer...
Go to the top of the page
+Quote Post
kamilalek1
post
Post #19





Grupa: Zarejestrowani
Postów: 23
Pomógł: 0
Dołączył: 25.04.2012

Ostrzeżenie: (0%)
-----


Jest to VPS
Wirtualizacja: VM
Zużycie ramu po starcie systemu to 120mb potem zwiększa się to do 200mb
Go to the top of the page
+Quote Post
pedro84
post
Post #20





Grupa: Nieautoryzowani
Postów: 2 249
Pomógł: 305
Dołączył: 2.10.2006

Ostrzeżenie: (0%)
-----


A ile masz RAMu dostępnego? Czy tak długo trwająca konwersja jest robiona z poziomu terminala czy Clip Bucket?


--------------------
Google knows the answer...
Go to the top of the page
+Quote Post

2 Stron V   1 2 >
Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 20.08.2025 - 14:16