i have enabled the Ffmpeg module and configured the path to Ffmpeg.exe.
everything works on all videos except Windows Media Videos.
is this an limitation of Ffmpeg? or do i need to install codecs on my webserver?
Gallery versie = 2.1 core 1.1.0
PHP versie = 5.1.2 cgi-fcgi
Web server = Apache/2.0.55 (Win32)
Database = mysql 5.0.18-nt, lock.system=database
Toolkits = Exif, Gd, ImageMagick, Thumbnail, Ffmpeg
Versnelling = none, none
Besturingssysteem = Windows NT ERCOLE 5.0 build 2195
Standaard thema = matrix
Talen = nl_NL
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
Posts: 388
I'm betting that your .WMV videos used Media Encoder v9 so yes this is a ffmpeg limitation.
You need the mplayer module. You'll first need to compile/install mplayer.
Go here: http://codex.gallery2.org/index.php/Gallery2:UserContributions#Modules
Posts: 11
i have installed the mplayer module and set the path to mplayer.exe (version: dev-CVS-050928-16:38-3.4.2)
but when i try to use:
what version of mplayer was used by the developers of this module? and was it tested with the win32 executable?
Posts: 388
Hmm, not sure on mplayer version. I'm using dev-CVS-060217-02:46-3.4.4 on Linux with PHP 4.4.2.
Your issue may be due to the PHP version you are using. I think some folks were successful using Windows.
Looks as though someone else has the same bug as you over here.
Might want to follow-up with mattyb as he is the one who wrote the mplayer module.
Posts: 11
thanks swordfish ( congrads with your 300th post ;) )
the array_merge() problem is solved (it had something to do with new php version.
(i needed to change
to
on line 202 in ./modules/mplayer/classes/MplayerToolkit.class
But i will contact mattyb about the rest of my problems i have below...
thanks again for putting me on the right track!
mplayer -vc help:
mplayer -demuxer help:
it looks ok to me so i dont understand why it wont work.
Posts: 82
Something I can offer my two sense on?
I think I have mplayer1.0pre7 on my server. Valiant had a newer version but I am unable to update my server to a newer version. My version does not use -demuxer help.
I run on linux but I am almost positive that this module has been used on a win platform.
If you are trying to use those commands I assume you are trying to get it to recognize other mime types. The mime type module doesnt or at least it didnt properly register videos within gallery. They were hardcoded in. Since that was the case the types of files that gallery recognized as movies was in turn hardcoded into the mplayer module. It does not actually check to see what types of codecs your version of mplayer supports. If you need help hardcoding your particular modeule to support another codec let me know and I will help.
I currently have no plans of actually making mplayer check (for real) what codecs it can work with. Get back to me and Ill see what I can do.
Mattyb