.WMV thumbs with ffmpeg

ffletch2

Joined: 2002-08-16
Posts: 60
Posted: Tue, 2005-08-09 15:31

According to the modules page I have the ffmpeg module installed and activated properly. However, when I upload a .WMV file (version 9) i get a broken thumbnail image. Is there a configuration change that I can make to make this work?

----

Gallery URL (optional):
Gallery version:RC1 +5 Insightful
Webserver (with version):Apache 2.0.54
Datatabase (with version):MySQL 4.1.9-nt
PHP version (eg 4.2.1): 5.0.4
phpinfo URL (optional):
Graphics Toolkit(s): ImageMagick
Operating system: Windows Server 2003 SP1
Web browser/version: Firefox 1.0.6
G1 version (for migration bugs):

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-08-09 21:48

if ffmpeg is active, it should work. works for me.
maybe it doesn't work for wmv 9.

don't know if ffmpeg works for anyone using g2 on windows 2003 though.

 
ffletch2

Joined: 2002-08-16
Posts: 60
Posted: Tue, 2005-08-09 23:19

What version of .wmv files do you have that it is working with?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-08-09 23:24

i guess it works for me with wmv 9. but again, didn't test it on windows 2003.

 
swordfish
swordfish's picture

Joined: 2004-10-01
Posts: 388
Posted: Sat, 2005-10-15 23:39

FFmpeg does NOT support WMV9, and is also soon to be known as VC-1 or VC-9 and is
part of the upcoming (unless the DVD standards war is still ongoing) HD-DVD standard as opposed to Sony's Blu-Ray which is supposed to support stock H.264.

Yes, you will see that after compiling ffmpeg it shows wmv3 (WMV9) support but its only experimental and currently it really does suck big time. The only chance you have right now is first acquiring the SMPTE VC-1 reference decoder. the ffmpeg src and then perform a compiling hack from hell to support wmv9 videos. And there is no guarantee it will work. You can thank the Redmond war machine bastards for that one. An alternative on Linux is to use mplayer compiled with win32codecs package.

Ex. mplayer -nosound -vo jpeg movie.wmv -frames 2

So, in the interest of time you're better off taking a frame screenshot in Windoze and resizing to a thumbnail.

 
hyedipin

Joined: 2007-06-10
Posts: 4
Posted: Sun, 2007-06-10 15:24

Does anyone know how to fix the dimension problem? With WMV it does not get the dimension so the video does not show. It is 0, I have to edit and put correct resolution in the gallery so they can embed the videos. :(