"This album is empty." mpg video

Raymond

Joined: 2004-03-05
Posts: 52
Posted: Thu, 2007-09-06 13:26

I thought gallery could do video. I made a new folder and uploaded a small .avi and even a small .mpg just to test. But it all ways shows "no thumbnail" I click on that and it says "This album is empty."

I did:

apt-get install ffmpeg
apt-get install jhead
apt-get install dcraw
apt-get install php5-gd
/etc/init.d/apache2 restart

The test settings of them all "Passed"

I don't know what I have to do to get it to work. I have photos that been working in it for years. But this is the 1st that I want to get a video working in it.

Any one know what could be wrong?

-Raymond Day


Gallery version (not just "2"): 2.2.2 core 1.2.0.4
PHP version (e.g. 5.1.6): PHP 5.2.1 (cli) (built: Jul 17 2007 18:14:23)
PHPInfo Link (see FAQ):
Webserver (e.g. Apache 1.3.33): Apache version 2.2.3
Database (e.g. MySql 5.0.32): MySQL version 5.0.38
Activated toolkits (e.g. NetPbm, GD): Ffmpeg, ImageMagick, NetPBM.
Operating system (e.g. Linux): Ubuntu Linux 7.04 2.6.20-16-server
Browser (e.g. Firefox 2.0): Firefox 2.0.0.6

 
Raymond

Joined: 2004-03-05
Posts: 52
Posted: Sun, 2007-09-09 07:01

Looks like no one knows. But as they say, a picture is worth a 1000's words and I am going to put 2 in here to show how my gallery looks. Maybe I have to be in some video mode for gallery?

[img]http://i93.photobucket.com/albums/l41/RaymondDay/Gallery/Gallery-No-video.jpg[/img]

It will never show a thumbnail. I guess it just don't have a video file.

[img]http://i93.photobucket.com/albums/l41/RaymondDay/Gallery/Gallery-No-video2.jpg[/img]

If I click on the no thumbnail this is the screen I get. If I click on Add a photo! I can upload a .mpg it goes back to the main gallery page and I go to the folder with the video and it's the same no change. Just This album is empty.

I read about video in gallery and see in a lot of places click on "edit movie" But I never see "edit movie".

-Raymond Day

 
Raymond

Joined: 2004-03-05
Posts: 52
Posted: Sun, 2007-09-09 08:53

I got it to work. But only with .wmv video and only with the .wmv video in C:\WINDOWS\Help\Tours\WindowsMediaPlayer\Video I even used Windows movie maker to make a small video but it will not upload. It does not come back and say "Successfully added 1 file." like it does with the video at C:\WINDOWS\Help\Tours\WindowsMediaPlayer\Video.

I all so don't get the thumbnail of the video. But I do get on the left now "Edit Movie" If I don't do the size to 640 by 480 it will just say download.

All so in IE it just shows a read X in the top left corner. But in Firefox it will play the video. But only video that came with windows in .wmv format. Like I said if I make a video in .wmv format it will not upload. It just goes back to the main gallery page.

Now if I go under Maintenance and click on run now at the side of "Build all thumbnails/resizes" I get the error in the attached file here. If any one can find out what wrong with that big text file. Before the .wmv video I did not get any error in "Build all thumbnails/resizes".

At lest I got it working some. I just don't get why only video that come with windows all ready made work but any video I do even in the same format .wmv will not upload to gallery2. Even using Windows Movie Maker.

-Raymond Day

 
Raymond

Joined: 2004-03-05
Posts: 52
Posted: Sun, 2007-09-09 09:15

I got IE to work by right clicking on IE icon and pick properties then under the Shortcut tab in Target: it was:

"C:\Program Files\Internet Explorer\iexplore.exe" -extoff

I put it to:

"C:\Program Files\Internet Explorer\iexplore.exe" -exton

I guess that is not the right way to do it but the only way I found out how.

Now if I can only get gallery2 to play my own videos.

-Raymond Day

 
Raymond

Joined: 2004-03-05
Posts: 52
Posted: Sun, 2007-09-09 16:07

I don't think any one will know how to fix this. Because looking all over the web some post about this problem can be about 2 years old with no on telling how to fix it.

Here is what mine looks like now that will only play .wma video that came with windows.

[img]http://i93.photobucket.com/albums/l41/RaymondDay/Gallery/Gallery-can-play-pe-made-video.jpg[/img]

I guess if the "Build all thumbnails/resizes". did not get a error this my get fixed so I can play my videos. If only .wma videos worked I could convert my .mpg and .avi videos to that. But just making a new .wma video in Windows Movie Maker will not get be saved in Gallery when I upload it. It just goes back to the main screen and never say "Successfully added 1 file."

-Raymond Day

 
Raymond

Joined: 2004-03-05
Posts: 52
Posted: Mon, 2007-09-10 09:06

For a test because when I run "Build all thumbnails/resizes" I get a list of errors and one said this "file_exists(/var/www/internet/gallery/g2data_166faa92f3/cache/entity/1/3)" I rename the entity folder to entity# with the mv command. then ran "Build all thumbnails/resizes" but still get the error and it made the entity folder again when it says file_exists.

root@small:/var/www/internet/gallery/g2data_166faa92f3/cache# ls
derivative entity module theme
root@small:/var/www/internet/gallery/g2data_166faa92f3/cache# mv entity entity#
root@small:/var/www/internet/gallery/g2data_166faa92f3/cache# ls
derivative entity# module theme
root@small:/var/www/internet/gallery/g2data_166faa92f3/cache# ls
derivative entity entity# module theme
root@small:/var/www/internet/gallery/g2data_166faa92f3/cache#

-Raymond Day