Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 28. Nov 2024, 08:07

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 11 posts ] 

Did you already saw .AVIs/local videos on the TWG ?
yes 100%  100%  [ 1 ]
no 0%  0%  [ 0 ]
Total votes : 1
Author Message
 Post subject: video files
PostPosted: 18. Mar 2008, 22:27 
Offline

Joined: 18. Mar 2008, 16:20
Posts: 45
I know i've made a couple of posts today, i dont want to bug anybody...


I've been trying to make the videos work, no sucess!


I'm using "autodetection":


Quote:
I reworked the video detection for local videos! It is now possible for TWG to auto detect local videos like flv, divx, mov, avi, mpg, wmv!
You have 2 options:

1. Not using a video.php at all! You have to set $video_autodetect = true; (=default). Then $video_php_x_default and $video_php_y_default are used as width and height!
2. Using a video.php where $video_player="AUTO";


So I copied a couple of .AVIs into a folder named Video, but when I browse the gallery that folder appears empry. I've tried to delete/generate the cache, change permission, I even tried "option #2" and created a video.php, but nothing happened.

I think i'm maybe missing something ?


Thanks for all your help and for doing this great gallery ! (I know videos should show, it's maybe something i'm doing)


siran


Top
 Profile  
 
 Post subject:
PostPosted: 18. Mar 2008, 23:21 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Hi,

I think this is a useless poll. TWG can of course handle avi's. Haven't you checked the demo?
Why don't you simply download the working example there?
http://www.tinywebgallery.com/demo/inde ... fset=0,0,0

wmp and avi work the same.

For your avi's - have you provided a thumbnail?
You should read the howto about videos!

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 19. Mar 2008, 01:05 
Offline

Joined: 18. Mar 2008, 16:20
Posts: 45
TinyWebGallery wrote:
For your avi's - have you provided a thumbnail?


Well I think I installed the ffmpeg (i can see it on the Configure Command section of the phpinfo()), i don't see any further sections... so I don't know if I installed it alright (do you know?)


Quote:
You should read the howto about videos!


I did read them, and it said TWG should automatically detect the media files and act accordingly.

I don't know how should I generate thumbnails of the videos, i thought they would be done automatically after the ffmpeg install...

Should I do something else ?

Thanks,

siran


Top
 Profile  
 
 Post subject:
PostPosted: 19. Mar 2008, 09:00 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Not very good it seems ;).

You need thumbnails and you can either provide them or create them with ffmpeg in the backend.

You can see if it is installed properly by calling info.php.

And the generation can be done in the backend if you are registered.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 19. Mar 2008, 14:03 
Offline

Joined: 18. Mar 2008, 16:20
Posts: 45
Hi !

Yes I finally understood the importance of the thumbnails...

I tried hard to install ffmpeg, and i'll keep on, but i continously get the error: "Headers not found... Be sure to install with --enable-<something> option."

*) I created some thumbnails by hand and the videos appeared... is there an option to make TWG do the thumbnails by itself and put a standard icon ?

*) I'm still not able to stream local MP3, although I think I've did everythig that's necessary... the player says Playlist Not Found.

*) I dont know why, i dont get videos to stream (ive tried 2 mpg which i can normally see in my computer)


I hope I can get these to work, to fully use TWG !


Any advice ?

siran


Top
 Profile  
 
 Post subject:
PostPosted: 19. Mar 2008, 14:25 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
On my linux server I had to install 14 rpm's to get ffmpeg to work (windows is much easier - only 2 files have to be added to the path).

* Yes - TWG does make the thumbnails by itself using an standard icon. If ffmpeg is not available this can be done for reg. users in the backend.

* Then I think you did not do everthing right. Simply check the mp3 demo that is included. Are there any messages in the log file? The playlist file is in the cache folder: audiolist.xml. But it seems that only the html mode switches the songs right - i'll check this.

* avi's nomally do not stream. Only if the server supports this. Try to set
$linktowvx=false; to $linktowvx=true; Then TWG creats a playlist file for windows media player and if you server is nice than it streams.
For streaming FLV and divx are much better.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 19. Mar 2008, 15:07 
Offline

Joined: 18. Mar 2008, 16:20
Posts: 45
Quote:
*) I'm still not able to stream local MP3, although I think I've did everythig that's necessary... the player says Playlist Not Found.


The right message is: Playlist not loaded !


There are no errors logged in the debug file generated while entering the MP3 album.... nor when trying to play the file....

The paths seem ok... Maybe I have the twg_audiolist.php in the wrong place... I put it in the directory where the file which includes TWG is located. I also changed the name of the original twg_audiolist file, just in case...

I also set the relative path from the installdir to the cache/audiolist.xml file in the $xmlfilename variable. When I view the audiolist.xml, I can infere paths are OK, as it is updated with the MP3 name, and the path locates the MP3 from the install dir up to the correct folder...



:?: :?: :?: :?: :?: :?:


:)

siran


Top
 Profile  
 
 Post subject:
PostPosted: 19. Mar 2008, 15:28 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
how to you use TWG - included by php in a different file or standalone?

I just checked the twg_audiolist.php - I think I still have a testing path in there. I have to look at this tonight.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 19. Mar 2008, 16:11 
Offline

Joined: 18. Mar 2008, 16:20
Posts: 45
TinyWebGallery wrote:
how to you use TWG - included by php in a different file or standalone?


included in a different file and directory

Quote:
I just checked the twg_audiolist.php - I think I still have a testing path in there. I have to look at this tonight.


I imagine you mean somewhere else in the TWG source code. Because I adapted the path when I edited the twg_audiolist.php file... I changed the path to point, as I already said, from the installdir to the cache/audiolist.xml file...


:roll:

thanks,

siran


Top
 Profile  
 
 Post subject:
PostPosted: 19. Mar 2008, 17:11 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
first I have to fix the dhtml mode for mp3 - you can maybe try if there is a difference if you use the html mode.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 19. Mar 2008, 17:26 
Offline

Joined: 18. Mar 2008, 16:20
Posts: 45
TinyWebGallery wrote:
first I have to fix the dhtml mode for mp3 - you can maybe try if there is a difference if you use the html mode.

/Michael


I trid HTML mode, no difference... i'm getting the Playlist Not Loaded message...


well, in fact, BIG difference, DHTML mode muuuuuch nicer : )


siran


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
powered by phpbb | Datenschutz/ Privacy policy