.MOV Files not supported?

TheTspoT.org
TheTspoT.org's picture

Joined: 2005-03-30
Posts: 3
Posted: Wed, 2005-03-30 19:26

How do I make .mov files a supported file type? instead of displaying like my other movies it says "unknown file type". If there is a way to add more supported file types that would be great info too. Thanks for any help you can offer.

----

Gallery URL (optional): http://www.thetspot.org/gallery2/
Gallery version: 2 dark fibre
Webserver (with version): apache 1.3.33
Datatabase (with version): MySQL 4.1
PHP version (eg 4.2.1): 4.2.1
phpinfo URL (optional): n/a
Graphics Toolkit(s): FFMPEG, ImageMagik
Operating system: Mac OSX 10.3
Web browser/version: All
G1 version (for migration bugs): n/a

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2005-03-30 19:45

is current cvs/nightly you can activate the mime module and view/edit mime types in Site Admin. .mov is in the default list of mime types though.

 
TheTspoT.org
TheTspoT.org's picture

Joined: 2005-03-30
Posts: 3
Posted: Wed, 2005-03-30 21:00

I am using 2.0, and I do not see a mime types module.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2005-03-30 21:03

that's why i said current cvs/nightly.

 
krunk
krunk's picture

Joined: 2006-08-19
Posts: 26
Posted: Sat, 2006-08-19 23:18

For some reason, when I add *.mov files, Gallery detects them correctly and says it's a movie type, however once added and tried to load, it's an unknown type.

for example:
http://www.krunk4ever.com/gallery/d/9923-3/Loituma_-_Ievan_Polkka_Ievas_Polka_-_LIVE.gif

I've verified that mimeTypes for application/quicktime has .mov and .qt

I was wondering which file actually determines what type it is upon loading so I can try to debug where the problem is.

Thanks in advance!

 
krunk
krunk's picture

Joined: 2006-08-19
Posts: 26
Posted: Sat, 2006-08-19 23:57

I went through the g2 mysql tables and found these:

In g2_Entity, my .mov files is marked as GalleryUnknownItem
g_id g_creationTimestamp g_isLinkable g_linkId g_modificationTimestamp g_serialNumber g_entityType g_onLoadHandlers
9921 1155995125 1 NULL 1155995126 1 GalleryUnknownItem NULL

I tried changing it to GalleryMovieItem, but nothing seemed to change on the page.

In g2_DataItem, the mime type is set correctly
g_id g_mimeType g_size
9921 video/quicktime 5641351

In the g2_Item table,
g_id g_canContainChildren g_description g_keywords g_ownerId g_summary g_title g_viewedSinceTimestamp g_originationTimestamp
9921 0 NULL 6 Loituma_-_Ievan_Polkka_Ievas_Polka_-_LIVE 1155995125 1155995125

In g2_MimeTypeMap, I see this entry:
g_extension g_mimeType g_viewable
mov video/quicktime 0

The item didn't exist in g2_MovieItem, I had tried to add it but once again, nothing happened.

Not sure if the above will help you figure out what my problem is, but any suggestions on whta to do would be appreciate.

//krunk (^_^x)

 
krunk
krunk's picture

Joined: 2006-08-19
Posts: 26
Posted: Sun, 2006-08-20 06:55

nevermind, it turns out I had to update ffmpeg and now it's working fine.

//krunk (^_^x)