FIXED: Can't get G.726 file to play in VLC

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
xyz000
Blank Cone
Blank Cone
Posts: 27
Joined: 08 Jun 2009 09:33

FIXED: Can't get G.726 file to play in VLC

Postby xyz000 » 25 Jun 2009 11:24

Hi,

I have an 8kHz WAV file encoded as G.726 mono 32kb/s. Windows Media Player can play the file using the "Sharp G.726 Audio Codec". If I try to play the same file in VLC using the GUI and Media->Open File... I get "wav error: unsupported codec (g726)". I've tried various combinations of VLC versions on various operating systems but the message window gives pretty much the same output in all versions. Here's a snip of the output from 1.0.0-rc:

Code: Select all

main debug: creating demux: access='' demux='' path='C:\temp\sample-32k-mono-g726.wav' main debug: looking for demux module: 49 candidates wav debug: chunk: fcc=`fmt ` size=16 wav debug: format: 0x0045, fourcc: g726, channels: 1, freq: 8000 Hz, bitrate: 3Ko/s, blockalign: 1, bits/samples: 4, extra size: 0 wav error: unsupported codec (g726)
Any ideas what's going wrong?
Last edited by xyz000 on 26 Jun 2009 15:35, edited 1 time in total.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Can't get G.726 file to play in VLC

Postby Jean-Baptiste Kempf » 25 Jun 2009 12:19

Can you share it?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

xyz000
Blank Cone
Blank Cone
Posts: 27
Joined: 08 Jun 2009 09:33

Re: Can't get G.726 file to play in VLC

Postby xyz000 » 25 Jun 2009 12:57

With pleasure. There should be a suitable sample now at http://hsb.awardspace.com/share/sample- ... s-g726.wav

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Can't get G.726 file to play in VLC

Postby Jean-Baptiste Kempf » 25 Jun 2009 14:17

Will be fixed in VLC 1.1.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

xyz000
Blank Cone
Blank Cone
Posts: 27
Joined: 08 Jun 2009 09:33

Re: Can't get G.726 file to play in VLC

Postby xyz000 » 25 Jun 2009 15:14

Thanks j-b and nice to know that at least the audio file is correct. I have the source of 1.0.0-rc3. Can I patch it in any way?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Can't get G.726 file to play in VLC

Postby Jean-Baptiste Kempf » 25 Jun 2009 15:18

git.videolan.org
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

xyz000
Blank Cone
Blank Cone
Posts: 27
Joined: 08 Jun 2009 09:33

Re: Can't get G.726 file to play in VLC

Postby xyz000 » 26 Jun 2009 15:34

Agreed. Latest source code (1.1.0-Git) built under Linux plays the G.726 file. Thank you.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: FIXED: Can't get G.726 file to play in VLC

Postby Jean-Baptiste Kempf » 26 Jun 2009 16:07

You are welcome.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 12 guests