Using Windows A/V codecs on Linux?

Forum: LinuxTotal Replies: 11
Author Content
Sander_Marechal

Aug 15, 2008
5:19 AM EDT
Hi all,

I have a video which is in G2M2 format, that's Citrixs gotomeeting codec for webcasts. I've been searching for a Linux videocodec but it simply doesn't exist. Not even LVC or Mplayer know how to deal with it.

So, is there a way in which Windows codecs can be used? Something similar to how to we can use Windows wireless drivers through NDISWrapper? Is there a codec wrapper?
DiBosco

Aug 15, 2008
10:07 AM EDT
On Mandriva, IIRC, there is a Win32 Codec package you can install from the repository which has worked for everything I have thrown at it. (Not that I am saying I have tried G2M2 to my knowledge.)

Is there a .deb equivalent for Debian maybe?

I'm on the Aspire One so can't check just now for the exact thing, but will try and remember to do so later.
Sander_Marechal

Aug 15, 2008
10:35 AM EDT
If I recall correctly, the G2M2 codec isn't in the W32codecs package.

When you have a chance to check, try this link (if you don't have G2M2 you will get audio-only): http://developers.sugarcrm.com/Bending_Sugar_with_Majed_Itan...
dumper4311

Aug 15, 2008
1:11 PM EDT
@Sander:

I checked your link, and I can see the presentation (captured from a vista desktop) accompanying the audio. It loads in firefox, using the mplayer plugin. Note that saving the link to my desktop just drops a wmv file, playable from KMplayer. I'm using OpenSUSE 10.3, and have the w32codec-all package installed. reference URLs follow:

Packman repository: http://packman.links2linux.de

MPlayer referenced link: http://mplayerhq.hu/MPlayer/releases/codecs/

hopefully there will be some useful information for you at one or the other for whatever distro you're using.
Sander_Marechal

Aug 15, 2008
7:38 PM EDT
Thanks. I'm using Debian Lenny. I'll figure out what the difference is between W32codecs on OpenSuse and on Lenny.
DiBosco

Aug 17, 2008
12:02 PM EDT
I can also view it on standalone mplayer based frontends, but not from the website. I don't know whether there's a way to get Firefox to use the codecs mplayer uses...
herzeleid

Aug 17, 2008
4:14 PM EDT
> I don't know whether there's a way to get Firefox to use the codecs mplayer uses...

Use the mplayer plugin?
Sander_Marechal

Aug 19, 2008
4:02 AM EDT
I've been able to watch the video using player. It wouldn't play by default but using "mplayer -vo gl " from the commandline to force the video output to go to an OpenGL layer it worked.

However, the sound is now broken. It works during the first slide but after every slide transition it gets progressively worse. The second slide is barely understandable. By the third slide I'm listening to R2D2. Do you guys have the same problem?
dumper4311

Aug 19, 2008
12:38 PM EDT
Sound was fine on my machine, whether from the internet, or locally played. I went back to the link you provided, and it now appears to be missing, but I found another wmv (G2M2) tutorial, and checked it. Same thing, I can forward and reverse just fine within it.

Where you had problems initially with video but audio worked, and now have trouble with audio when piping video out through OpenGL, it sounds like a localized synchronization issue. I'd be really interested in seeing if someone else running Debian Lenny had the same problem. If so, it's probably a distro-specific thing, if not, maybe hw drivers or config for your particular machine.

That's pretty lame, I know. Wish I had something more useful to offer you - media synchronization issues suck.
gus3

Aug 19, 2008
1:03 PM EDT
@Sander:

What Xorg video driver are you using?
DiBosco

Aug 19, 2008
2:38 PM EDT
Once it was in mplayer, sound and picture worked fine.
Sander_Marechal

Aug 19, 2008
4:47 PM EDT
@gus3: xserver-xorg-video-intel 2.3.2 with some patches from 2.4.0. Whatever is in Debian Lenny now: http://packages.debian.org/lenny/xserver-xorg-video-intel

You cannot post until you login.