 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
June 2nd, 2011, 01:08 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Dec 2004
Posts: 172
| multimedia thumbs
I have just installed v 7.1, what type of multimedia is supported with thumbnail generation? I have tried FLV but no go. Do we still need to use the hack at http://www.photopost.com/forum/photo...l-support.html
for this to work? How can i rescan for older existing videos? I know it may have been answered somewhere but i cant find it from my searches. I have the path set up correctly and the ffmpeg binary from your older thread on the root with the right permissions Thanks
Last edited by kisii; June 2nd, 2011 at 02:34 AM.
|
| |
June 2nd, 2011, 07:13 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,689
|
The answer is whatever multimedia is supported by the ffmpeg that is installed on your server. Try compiling your own maybe. The problem is you are going to be hard pressed finding ffmpeg source code. The binary I posted is older I can not remember exactly what it supports but most likely not flv. Try first with an avi file to see if that works. Then go down the list of types and try and see which ones get thumbs generated.
You can try rebuilding thumbs from admin and see if that helps but you should be able edit the video and rebuild the thumb.
|
| |
June 3rd, 2011, 07:40 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Dec 2004
Posts: 172
|
Anyone tried and had this working on GoDaddy shared servers? I have tried like 4 binaries but no luck. I'm not sure if they have proactively barred it from running on their servers or its just my inexperience in getting it working. Any help in getting ffmpeg to work with PP would greatly be appreciated. Thanks
|
| |
June 3rd, 2011, 07:48 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,689
|
Well can not say you would really need command line access to see backend server if it really works. I have it working on my server as what is in the program now came from the hack you are referencing. We added the ability to do it but your server needs to have a functioning ffmpeg for it to work.
Here is an example avi it does work 2011-05-25-Video4 - ReefTalk Gallery
Notice the first thumbnail on the preview strip is the first frame of the video so that is a thumbnail made from the video using ffmpeg
|
| |
June 3rd, 2011, 07:55 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Dec 2004
Posts: 172
|
That would exactly what im looking for, although for .FLV multimedia. I am also assuming that the ffmpeg HAS to be on the same server? This is the single reason why I got 7.1, im glad you guys are making progress and listening to you requests. Chuck , you are always awesome!
Now, anyone who can please help me chime in.
|
| |
June 3rd, 2011, 08:17 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,689
|
I guess it all depends on whatever binary you find and if it works on your server. Took me along time to find the binary I posted that I am using. It would be nice to find a better one that supports all formats but I find it next to impossible to find valid binaries. Get FFmpeg
There is absolutely no information there on what formats are supported in any given download.
|
| |
June 23rd, 2011, 07:26 PM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Dec 2004
Posts: 172
|
Hi chuck,
i have been working with my host that supports FFMPEG and they have assured me that their version supports a majority of FLV files. I can only so far generate WMV and MP4 files thumbnails but not a single one for FLV. they seem to think its PP related. Is there anything besides the ffmpeg path that i have correctly to get this working. I know i carried over a hack that someone wrote a while ago to display inline FLV but with 7.1, was that incorporated and not needed. My inline videos still play just fine but when you upload them they generate a broken thumbnail. Please advise. Also my host was inquiring if flvtool2 is used or required by PP at all. thanks
|
| |
June 24th, 2011, 09:08 AM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,689
|
I can not give you specifics on how to install FFMPEG correctly as I am not a server tech. I have shown FFMPEG works althougth I know the binary I found only does like wmv and avi video's as it states. The documentation on FFMPEG is very sketchy as after many years its still beta software not even having a final release yet.
The command we use is this Code: Content visible to verified customers only.
We include this as an option if you have it on the server but we make no guarantees on what video types your server's install supports.
|
| |
June 26th, 2011, 09:44 AM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Dec 2004
Posts: 172
|
Hi Chuck,
We got this issue somewhat resolved with my host. they reinstalled FFMPEG and now many of my FLV files are generating thumbnails.
When i try to scan database to rebuild thumbnails for my older FLV files, the process runs though very quickly within seconds BUT does nothing. Its like its expecting only image files. Is there something that needs to be done to generate thumbs fro my already existing multimedia files? Thanks
|
| |
June 26th, 2011, 10:34 AM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,689
|
what are you selecting rebuild missing or rebuild all? try rebuild all. I am not seeing anything in the code that prevents a multimedia file from having the thumbnail rebuilt. the same code that is in image-inc.php is in adm-misc.php
I can not say without knowing what your old broken ffmpeg was doing. The extraction of thumbnails from video is handled by ffmpeg and as long as it is in full working order it does work for the formats that it supports. As noted that varies from install to install.
There are alot of options in the software but the program is limited by your server. For instance flash upload if mod security is set on the server the flash upload will never work. Same goes for FFMPEG if its not working properly your not going to get a thumbnail. It may work for some formats and not for others.
|
| |
June 27th, 2011, 03:33 PM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Dec 2004
Posts: 172
|
HI chuck. The issue they had was that the FFMPEG that they had on installed did not support FLV. I got a technician who double checked and fixed this issue and they were showing.
I tried both rebuilding and check and rebuild option and no positive results for both. When i scan the database with those two options in PP, it goes through so quick like there's some coding or instructions missing. If the FFMPEG that i have installed on my server is generating thumbnails for the same FLV videos, really it should be able to rebuild them. i really need your support on this one - if you don't mind taking a peek. Thanks
|
| |
June 27th, 2011, 05:17 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,689
|
HMM try making sure your ffmpeg line in adm-misc.php is this Code: Content visible to verified customers only.
|
| |
June 27th, 2011, 05:26 PM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Dec 2004
Posts: 172
|
I would have to say you are a genius Chuck! The parameter " -i $imagelink " was missing from that line, im not sure why but i had recently done an upgrade from ver 5 to 7.1! THANK YOU, THANK YOU!
|
| |
June 27th, 2011, 10:06 PM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,689
|
the line did have variables $filepath and $outthumb which are fine in the main image-inc.php file however in admin side the variables for the line are $imagelink and $newthumblink. |
| |
June 28th, 2011, 10:56 AM
|
#15 (permalink)
| | Member Verified Customer
Join Date: Dec 2004
Posts: 172
|
What is the use for it on the main image-inc.php since you really don't have an option to recreate a multimedia thumbnail from the front side of PP? I hope this helped others who had the same issue. Thanks
|
| |
June 28th, 2011, 11:22 AM
|
#16 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,689
|
The line in admin side is in the rebuild thumbnails portion and has its own defined variables which had to be changed. The line in the image-inc.php file is the file used to process all new photos on upload.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 06:48 AM. | |