Page 1 of 2

CP Multimedia - quicktime Datei wird vom System nicht erkann

Posted: Wed 8. Feb 2006, 10:16
by _mel_
Hallo liebes Forum,

ich habe hier zwei Quicktime-Dateien (.mov). Beide lassen sich ( bei einem von phpwcms unabhängigen test) problemlos in html einbinden. Beide lassen sich auch problemlos hochladen ins System. Jedoch lässt sich die eine Datei einfach nicht einfügen. Sie erscheint im Dateimanager (allerdings ohne dieses kleine icon) kannn aber nicht in den CP integriert werden.
Nun die Frage an Euch: kann es sein dass phpwcms irgendwelche Besonderheiten bei diesen Multimediadateien nicht berücksichtigt?

Vielen Dank, Melanie

Posted: Wed 8. Feb 2006, 10:55
by flip-flop
Hi _mel_,

schau mal in die conf.inc.php (V1.26)

Code: Select all

$phpwcms["multimedia_ext"]    = 'aif,aiff,mov,movie,mp3,mpeg,mpeg4,mpeg2,wav,swf,swc,ram,ra,wma,wmv,avi,au,midi,moov,rm,rpm,mid,midi'; //comma seperated list of file extensiosn allowed for multimedia
 
Gruß Knut

Posted: Wed 8. Feb 2006, 11:06
by _mel_
Hallo Knut,

aber es wird ja als mov angezeigt...das ist ja das komische!

vg melanie

Posted: Wed 8. Feb 2006, 11:13
by flip-flop
Hi,
Jedoch lässt sich die eine Datei einfach nicht einfügen.
Hatte ich überlesen.
Die andere Datei funktioniert? Dateiname, Größe?

Knut

Posted: Wed 8. Feb 2006, 11:17
by _mel_
6, 4 MB

bmwz4.mov


kann das was mit der Tonspurkodierung zu tun haben?

Posted: Wed 8. Feb 2006, 11:22
by flip-flop
UmPf - noch nie gehört, bin aber auch beileibe kein Experte auf dem Gebiet.
Das System prüft doch nicht den Inhalt der Datei.
Diese wird doch nur ausgeliefert. Also wird bei *.mov irgendein Player geöffnet und die Datei übergeben. - Oder liege ich da falsch. - Habe das selbst noch nie gebraucht.

Wie unterscheidet sich denn der generierte HTML-Code des cms von dem Code aus der Testumgebung-HTML?
sollte doch identisch sein.

Knut

Posted: Wed 8. Feb 2006, 11:28
by _mel_
das kann ich so nicht sagen, da ich das nicht vergleichen kann. Ich kann ja diese mov.datei gar nicht erst in den CP einfügen, folglich auch keinen Quelltext generieren. es ist halt mysteriös da die datei sich durch nichts von der funktionierenden anderen Datei unterscheidet aber anscheinden von phpwcms nicht als multimedia-datei erkannt wird.

Posted: Wed 8. Feb 2006, 11:38
by flip-flop
Ach so :shock:

Ist das die Größere von den beiden?
- Eventuell mal umbenennen.
- Größenbeschränkung? $phpwcms["file_maxsize"] = 52428800; //Bytes (50 x 1024 x 1024)
- Überprüfe mal, ob die Datei auf dem Webspace nicht korrupt ist.

Sonst fällt mir auch nix dazu ein.

Gruß Knut

Posted: Wed 22. Mar 2006, 17:09
by visionaire
when uploading "files.private.upload.tmpl" uses a function called
" check_image_extension "
but this function returns wrong extension type for ".mov" files. it returns ".wbmp" .because ".mov" is not an image.
and then our mov file inserted in database with wrong extension. we cant see mov files in image browser because of this.

any suggestion ?

Posted: Wed 22. Mar 2006, 23:03
by DeXXus
Previous discussion, but no clarity:

http://www.phpwcms.de/forum/viewtopic.p ... light=wbmp

Posted: Thu 23. Mar 2006, 09:00
by Klappstuhl28
Kann es sein, dass es da providerseitig zu Schwierigkeiten kommt?
Es klingt vielleicht komisch, aber den Rest klingt doch ganz vernünftig. Meine Idee wäre, dass die Datei serverseitig evtl. unterdrückt wird.
Nur eine Idee.

Lars

Posted: Sun 16. Apr 2006, 20:35
by RonDog
@visionaire and the rest of the gang...

I did not try to fix the "check_image_extension" function jet, but I followed your advice and did the following steps to fix the problem temporarily:

1st: I searched for the records at the data base file: 'phpwcms_file' which contained the wrong 'f_ext' field content 'wbmp' and I replaced the 'wbmp' by 'mov',

2nd: I went to 'FTP://mydomain.tld//html/my_folder/[b]p ... ilestorage[/b]' and searched for files with extension '.wbmp' and changed them to '.mov'.

After step 1 repair work the '.mov' videos already showed up at the 'media browser', but the original files have not been changed, so QuickTime did not run at all. Which gave me pain in the a$$... ;-)

After renaming the files as mentioned in step 2 - QuickTime performed as expected.

So the whole issue is NOT size related (one of my .mov - files are +3MB), it's a bug, not a feature ;-)

Hope it helped.

Posted: Sun 16. Apr 2006, 21:11
by volkman
The only way using mov-files that worked 4me was to use the multimedia-contentpart and load it as "external source". I uploaded the mov file via ftp to a folder "movies" I created in phpwcms document root.
works perfect then.

volkman

p.s. my movies are 12+ MB

Posted: Mon 17. Apr 2006, 01:48
by RonDog
Very clear why it worked - the file has not been renamed to a '.wbmp' file, and as an external source you knew the right name all the time. But as soon as the internal mechanism of phpWCMS messes up the file type, it cannot be found an not be played. A file - put into the internal file structure of phpWCMS - is still a file and a part of the file system, no reason why it should not work out as an external loaded file. The size is only subject to the upload size limit, but not a limit in general.

Posted: Mon 17. Apr 2006, 13:08
by Oliver Georgi
welche phpwcms version hast du denn im Einsatz? Die "getimagesize" liefert als FilyType anscheinend etwas falsches zurück.

Oliver