CP Multimedia - quicktime Datei wird vom System nicht erkann

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
_mel_
Posts: 104
Joined: Wed 20. Apr 2005, 20:35
Location: Nürnberg
Contact:

CP Multimedia - quicktime Datei wird vom System nicht erkann

Post 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
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post 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
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
_mel_
Posts: 104
Joined: Wed 20. Apr 2005, 20:35
Location: Nürnberg
Contact:

Post by _mel_ »

Hallo Knut,

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

vg melanie
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post 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
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
_mel_
Posts: 104
Joined: Wed 20. Apr 2005, 20:35
Location: Nürnberg
Contact:

Post by _mel_ »

6, 4 MB

bmwz4.mov


kann das was mit der Tonspurkodierung zu tun haben?
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post 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
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
_mel_
Posts: 104
Joined: Wed 20. Apr 2005, 20:35
Location: Nürnberg
Contact:

Post 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.
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post 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
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
visionaire
Posts: 3
Joined: Tue 30. Mar 2004, 02:39
Location: tr
Contact:

Post 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 ?
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

Previous discussion, but no clarity:

http://www.phpwcms.de/forum/viewtopic.p ... light=wbmp
User avatar
Klappstuhl28
Posts: 833
Joined: Fri 4. Mar 2005, 01:58
Location: Hamburg
Contact:

Post 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
Lars

Don't say you don't have enough time. You have exactly the same number of hours per day that were given to Helen Keller, Pasteur, Michaelangelo, Mother Teresa, Leonardo da Vinci, Thomas Jefferson, and Albert Einstein. - H. Jackson Brown -
RonDog
Posts: 50
Joined: Fri 10. Sep 2004, 22:02
Location: Germany, Munich
Contact:

Post 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.
Ron

"Silence is foolish if we are wise, but wise if we are foolish."
volkman
Posts: 179
Joined: Wed 13. Jul 2005, 12:52
Location: Hamburg, Germany

Post 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
RonDog
Posts: 50
Joined: Fri 10. Sep 2004, 22:02
Location: Germany, Munich
Contact:

Post 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.
Ron

"Silence is foolish if we are wise, but wise if we are foolish."
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

welche phpwcms version hast du denn im Einsatz? Die "getimagesize" liefert als FilyType anscheinend etwas falsches zurück.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply