"Unknown" name displayed for movie

jgee

Joined: 2005-10-20
Posts: 2
Posted: Mon, 2005-10-24 20:26

Pardon the newbie question, but I have just gotten started and am confused about the display of a quicktime movie in one of my albums. On the view/edit screen of this movie, all links refer to the movie as "unknown", such as: "Download Unknown" or "Edit Unknown". The title displays properly and for the .wmv version movie also in this album--the word "movie" replaces "unknown" in these instances.

http://www.rossbridge.com/gallery/v/20051020/RBPicnic_Custom.mov.html?g2_navId=xf804f3aa

Also, but perhaps unrelated, when I uploaded both of these movies, no thumbnail was created even though I had chosen that option and have the ffmpeg toolkit activated (FFMPEG binary test results: passed). I was able to upload jpgs to use as thumbnails, but was excited to see what ffmpeg came up with since it took me a bit to install it on my host.

I was wondering if reprioritizing the graphics toolkits might help but ffmpeg doesnt show up on my toolkit priority screen.

Thanks for any help,
John

Gallery version (not just "2"): 2.0
PHP version (e.g. 4.3.11): 4.3.11
PHPInfo Link (see FAQ): http://www.rossbridge.com/php_info_xx.php
Webserver (e.g. Apache 1.3.33): Apache 1.3.33
Database (e.g. MySql 4.0.11): MySQL 4.0.25
Activated toolkits (e.g. NetPbm, GD): NetPBM, GD, ImageMagick, ffmpeg
Operating system (e.g. Linux): Linux (hosting platform)
Browser (e.g. Firefox 1.0): Firefox/1.0.7

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-10-24 23:46

that means your ffmpeg binary can't handle quicktime movies. my ffmpeg / g2 correctly detected this RBPicnic movie as movie...
changing the toolkit priority won't help here. only using another ffmpeg binary / recompiling ffmpeg could help.

 
jgee

Joined: 2005-10-20
Posts: 2
Posted: Tue, 2005-10-25 13:11

thanks for your help valiant. i will grab a newer version of ffmpeg, recompile and have another go.

appreciate your insight,

john

 
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)