I saw a topic about the implementation of ffmpeg in gallery, so that movie thumbnails would be possible. However, the last patch is for 1.3.3, and no binaries of ffmpeg are available. Is this project cancelled?
The only thing is, I can't find ffmpeg binaries, only source code. Since I have no root access, I cannot compile these. I found some static binaries in an rpm package, but I cannot install rpm's. It's a debian system.
lstepnio
Joined: 2003-02-21
Posts: 35
Posted: Tue, 2003-12-02 14:39
riksox wrote:
Thanks!
The only thing is, I can't find ffmpeg binaries, only source code. Since I have no root access, I cannot compile these. I found some static binaries in an rpm package, but I cannot install rpm's. It's a debian system.
You shouldn't actually need root to compile.
riksox
Joined: 2003-12-01
Posts: 11
Posted: Tue, 2003-12-02 20:17
I think I managed to compile it now... Thanks...
The problem now is that I cannot apply the patch. It says the file is not found. I manually changed the path in the ffmpeg.txt file, and then it say "Reversed (or previously applied) patch detected. If I choose no and then say apply anyways it comes up with the error that 2 Hunks failed.
What is the problem?
riksox
Joined: 2003-12-01
Posts: 11
Posted: Wed, 2003-12-03 17:57
Nobody that can help me with this?
jelwell
Joined: 2003-05-29
Posts: 115
Posted: Thu, 2003-12-04 04:30
riksox wrote:
I think I managed to compile it now... Thanks...
The problem now is that I cannot apply the patch. It says the file is not found. I manually changed the path in the ffmpeg.txt file, and then it say "Reversed (or previously applied) patch detected. If I choose no and then say apply anyways it comes up with the error that 2 Hunks failed.
What is the problem?
Can you include the output of the patch command? Which hunks, which lines, etc.
Also, verify that patch was applied by manually opening up the files and looking for the new lines.
joe.
vadermf
Joined: 2003-12-05
Posts: 1
Posted: Fri, 2003-12-05 01:18
Not sure what the problem is.
I got ffmpeg and got it all compiled and installed.
I ran the patch, and checked the files, they all seem to have the modified lines in them as they are supposed to.
I look at my movies in gallery, and nothing happens. I tried to re-build thumbs. I tried to upload the movie files again. Still getting nothing but the funky little movie camera thumbnail.
Can anyone help me with this?!?! I'm running this in Gallery 1.4.1 and everything seems to be running find, cept for this little picture thing. I just don't know if I'm missing something that I should know.
If anyone has any suggestions, or needs more information. Please let me know! :-?
Thanks,
Matt
riksox
Joined: 2003-12-01
Posts: 11
Posted: Sat, 2003-12-06 00:55
Yeah, I applied the patch too. But there seems to be no effect. Same as you describe. While patching it was bitching about a previously applied patch, but I never patched before.
jelwell
Joined: 2003-05-29
Posts: 115
Posted: Sat, 2003-12-06 10:21
add this line to your config.php:
$gallery->app->use_ffmpeg = "/usr/bin/ffmpeg";
make sure you point to ffmpeg correctly though.
i think you should be able to re-run the setup and this will happen automatically.
joe.
abstrakone
Joined: 2003-06-09
Posts: 17
Posted: Sun, 2003-12-07 00:00
Worked perfect for Gallery v1.4.1-RC4
riksox
Joined: 2003-12-01
Posts: 11
Posted: Sun, 2003-12-07 00:13
Managed to get it working using
patch -p0 < ffmpeg.txt
Install script doesn't show a text box to enter dir for ffmpeg, but manually adding the suggested line helps.
Works now, thanks guys!
The only thing is that when I click a movie thumbnail in the album, the thumbnail is shown as a picture, which is ok, but the picture is not centered on the page. How can I fix this?
riksox
Joined: 2003-12-01
Posts: 11
Posted: Mon, 2003-12-08 22:10
No one that knows how I can center the movie thumbnail picture after clicking it in the album?
sanfret
Joined: 2003-12-24
Posts: 1
Posted: Wed, 2003-12-24 23:26
K, newb question... how do you know if this is already installed, and what do I do with that ffmpeg.txt file? AND how do I do it?
mrcolj
Joined: 2004-01-06
Posts: 79
Posted: Tue, 2004-01-06 18:02
Someone show me a link/example of this working. I'd like to figure out how to do it, but would like to see one before I put the time in. Does it work on shockwave movies too?
Is there a patch for getting this to work in 1.4.2 and v1.4.4-cvs-b35?
stupiddrunk
Joined: 2002-09-17
Posts: 15
Posted: Mon, 2004-06-07 02:22
I have tried this with 1.4.4 and it blows it up. I am trying to go through all the code slowly.. hopefully i can get it to work. The non ffmpeg option doesnt work since i have over 1000 videos..
dewdoobrown
Joined: 2004-01-12
Posts: 38
Posted: Fri, 2004-06-18 13:46
Well, the script works for me. I do get errors when I applied the script,but when I added
$gallery->app->use_ffmpeg = "/usr/bin/ffmpeg";
to the galler config, all is well.
I even tried to gallery 1.4.4b197 and it still works. Only downfall is that now I cant highlight a movie thumbnail. Does anyone can lead me in the right direction with problem?
webhead
Joined: 2004-11-21
Posts: 27
Posted: Tue, 2005-03-08 07:34
Okay, so how do you use this patch exactly?
Dan
reynan
Joined: 2003-09-10
Posts: 49
Posted: Fri, 2005-03-11 10:13
hello... any patch for version 1.5RC2?
Can't seems to work the patch I used in version 1.4.2 on version 1.5RC2.?
any help??
kashish
Joined: 2007-01-10
Posts: 1
Posted: Wed, 2007-01-10 13:40
Please can anybody guide me to implement this ffmpeg in my project built in Cake php. I have configured ffmpeg at my server.
dvicker
Joined: 2007-02-18
Posts: 3
Posted: Wed, 2007-02-21 20:21
I have ported the patch at the beginning of this thread to the latest version - 1.5.5-pl1. Something is still not quite right as mods to config.php are needed after running the configure script but it does work. I've attached both a patch (use `patch -p0 ffmpeg_patch_g1.5.5pl1.txt`) and a tar file with the 3 files that changed. When I run the configure script with these mods, the first step of the configure script indicates that it successfully found ffmpeg. However, on the second page of the config script under the "Locations and URLs" tab, the box where you are supposed to be able to manually specify the path to ffmpeg is missing. As a result my config.php contains:
// optional <i>use_ffmpeg</i> missing
But if I manually add this to config.php all is well:
$gallery->app->use_ffmpeg= "/path/to/ffmpeg" ;
I just started using gallery a few weeks ago and I'm totally new to PHP so I haven't yet been able to figure out why the config script doesn't work correctly but I wanted to post this since it does function with a little extra work.
Posts: 115
Here's my patch that works in 1.4.1 to support Movie Thumbnails. This isn't my creation, just an update on jhm at getwip DOT com's original patch.
You can get the ffmpeg (required) binary here: http://ffmpeg.sourceforge.net/
joe.
Posts: 11
Thanks!
The only thing is, I can't find ffmpeg binaries, only source code. Since I have no root access, I cannot compile these. I found some static binaries in an rpm package, but I cannot install rpm's. It's a debian system.
Posts: 35
You shouldn't actually need root to compile.
Posts: 11
I think I managed to compile it now... Thanks...
The problem now is that I cannot apply the patch. It says the file is not found. I manually changed the path in the ffmpeg.txt file, and then it say "Reversed (or previously applied) patch detected. If I choose no and then say apply anyways it comes up with the error that 2 Hunks failed.
What is the problem?
Posts: 11
Nobody that can help me with this?
Posts: 115
Can you include the output of the patch command? Which hunks, which lines, etc.
Also, verify that patch was applied by manually opening up the files and looking for the new lines.
joe.
Posts: 1
Not sure what the problem is.
I got ffmpeg and got it all compiled and installed.
I ran the patch, and checked the files, they all seem to have the modified lines in them as they are supposed to.
I look at my movies in gallery, and nothing happens. I tried to re-build thumbs. I tried to upload the movie files again. Still getting nothing but the funky little movie camera thumbnail.
Can anyone help me with this?!?! I'm running this in Gallery 1.4.1 and everything seems to be running find, cept for this little picture thing. I just don't know if I'm missing something that I should know.
If anyone has any suggestions, or needs more information. Please let me know! :-?
Thanks,
Matt
Posts: 11
Yeah, I applied the patch too. But there seems to be no effect. Same as you describe. While patching it was bitching about a previously applied patch, but I never patched before.
Posts: 115
add this line to your config.php:
$gallery->app->use_ffmpeg = "/usr/bin/ffmpeg";
make sure you point to ffmpeg correctly though.
i think you should be able to re-run the setup and this will happen automatically.
joe.
Posts: 17
Worked perfect for Gallery v1.4.1-RC4
Posts: 11
Managed to get it working using
patch -p0 < ffmpeg.txt
Install script doesn't show a text box to enter dir for ffmpeg, but manually adding the suggested line helps.
Works now, thanks guys!
The only thing is that when I click a movie thumbnail in the album, the thumbnail is shown as a picture, which is ok, but the picture is not centered on the page. How can I fix this?
Posts: 11
No one that knows how I can center the movie thumbnail picture after clicking it in the album?
Posts: 1
K, newb question... how do you know if this is already installed, and what do I do with that ffmpeg.txt file? AND how do I do it?
Posts: 79
Someone show me a link/example of this working. I'd like to figure out how to do it, but would like to see one before I put the time in. Does it work on shockwave movies too?
Posts: 38
you can try my site running on my Mac OSX Server http://dewdoo.mine.nu:8080/gallery/
My gallery is wrapped around geeklog....enjoy!
Posts: 38
Is there a patch for getting this to work in 1.4.2 and v1.4.4-cvs-b35?
Posts: 15
I have tried this with 1.4.4 and it blows it up. I am trying to go through all the code slowly.. hopefully i can get it to work. The non ffmpeg option doesnt work since i have over 1000 videos..
Posts: 38
Well, the script works for me. I do get errors when I applied the script,but when I added
$gallery->app->use_ffmpeg = "/usr/bin/ffmpeg";
to the galler config, all is well.
I even tried to gallery 1.4.4b197 and it still works. Only downfall is that now I cant highlight a movie thumbnail. Does anyone can lead me in the right direction with problem?
Posts: 27
Okay, so how do you use this patch exactly?
Dan
Posts: 49
hello... any patch for version 1.5RC2?
Can't seems to work the patch I used in version 1.4.2 on version 1.5RC2.?
any help??
Posts: 1
Please can anybody guide me to implement this ffmpeg in my project built in Cake php. I have configured ffmpeg at my server.
Posts: 3
I have ported the patch at the beginning of this thread to the latest version - 1.5.5-pl1. Something is still not quite right as mods to config.php are needed after running the configure script but it does work. I've attached both a patch (use `patch -p0 ffmpeg_patch_g1.5.5pl1.txt`) and a tar file with the 3 files that changed. When I run the configure script with these mods, the first step of the configure script indicates that it successfully found ffmpeg. However, on the second page of the config script under the "Locations and URLs" tab, the box where you are supposed to be able to manually specify the path to ffmpeg is missing. As a result my config.php contains:
// optional <i>use_ffmpeg</i> missing
But if I manually add this to config.php all is well:
$gallery->app->use_ffmpeg= "/path/to/ffmpeg" ;
I just started using gallery a few weeks ago and I'm totally new to PHP so I haven't yet been able to figure out why the config script doesn't work correctly but I wanted to post this since it does function with a little extra work.