Re: problem while experimenting with g711enc

2009-07-23 Thread Caglar Akyuz
On Wednesday 22 July 2009 10:18:14 Ottavio Campana wrote:
 Hi,

 I'm trying to use g711enc to  make some experiments. Everything seems to
 work fine,  but I don't know  how I can  play the compressed file  I get
 from the application.

 How do you play it?

On a Linux box you may use gstreamer like:

$gst-launch filesrc location=some-file.g711 ! audio/x-
alaw,rate=8000,channels=1 ! alsasink

Regards,
Caglar

___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Re: problem while experimenting with g711enc

2009-07-22 Thread Zuber

Hi Ottavio,

You can use Adobe Audition tool to play this g711 encoded file. You can 
download this tool from www.adobe.com


Zuber Saiyed
Embedded Engineer
eInfochips Ltd.
Tel. No. +91 79 26563705 Ext. 126
Cell. No. +91 96621 33369
www.einfochips.com



Ottavio Campana wrote:

Hi,

I'm trying to use g711enc to  make some experiments. Everything seems to
work fine,  but I don't know  how I can  play the compressed file  I get
from the application.

How do you play it?

  

--
_
Disclaimer: This e-mail message and all attachments transmitted with it
are intended solely for the use of the addressee and may contain legally
privileged and confidential information. If the reader of this message
is not the intended recipient, or an employee or agent responsible for
delivering this message to the intended recipient, you are hereby
notified that any dissemination, distribution, copying, or other use of
this message or its attachments is strictly prohibited. If you have
received this message in error, please notify the sender immediately by
replying to this message and please delete it from your computer. Any
views expressed in this message are those of the individual sender
unless otherwise stated.Company has taken enough precautions to prevent
the spread of viruses. However the company accepts no liability for any
damage caused by any virus transmitted by this email.
_


___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Re: problem while experimenting with g711enc

2009-07-22 Thread bhushan
Hi,
 You may have to download the g711 codec lib for a player such as winamp/
vlc then play it.

Bhushan

On Wed, Jul 22, 2009 at 12:48 PM, Ottavio Campana 
ottavio.camp...@dei.unipd.it wrote:

 Hi,

 I'm trying to use g711enc to  make some experiments. Everything seems to
 work fine,  but I don't know  how I can  play the compressed file  I get
 from the application.

 How do you play it?

 --
 Non c'è più forza nella normalità, c'è solo monotonia.

 ___
 Davinci-linux-open-source mailing list
 Davinci-linux-open-source@linux.davincidsp.com
 http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source




-- 
Bhushan
___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Re: problem while experimenting with g711enc

2009-07-22 Thread Ottavio Campana
mmm... 

vlc output is
[0287] main playlist: nothing to play
so I suspect I'm missing an header or something similar...

Do you add something at the beginning of the file? I currently just save
the encoded output.

Ottavio

On Wed, Jul 22, 2009 at 01:47:02PM +0530, bhushan wrote:
 Hi,
  You may have to download the g711 codec lib for a player such as winamp/
 vlc then play it.
 
 Bhushan
 
 On Wed, Jul 22, 2009 at 12:48 PM, Ottavio Campana 
 ottavio.camp...@dei.unipd.it wrote:
 
  Hi,
 
  I'm trying to use g711enc to  make some experiments. Everything seems to
  work fine,  but I don't know  how I can  play the compressed file  I get
  from the application.
 
  How do you play it?
 
  --
  Non c'è più forza nella normalità, c'è solo monotonia.
 
  ___
  Davinci-linux-open-source mailing list
  Davinci-linux-open-source@linux.davincidsp.com
  http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
 
 
 
 
 -- 
 Bhushan

-- 
Non c'è più forza nella normalità, c'è solo monotonia.

___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Re: problem while experimenting with g711enc

2009-07-22 Thread Zuber
One quick solution is to put 44 bytes wav header at the beginning of the 
G711 encoded file.
VLC will then recognize your clip and play it successfully. We have 
tested it here. It works with vlc player.


Zuber Saiyed
Embedded Engineer
eInfochips Ltd.
Tel. No. +91 79 26563705 Ext. 126
Cell. No. +91 96621 33369
www.einfochips.com



Ottavio Campana wrote:
mmm... 


vlc output is
[0287] main playlist: nothing to play
so I suspect I'm missing an header or something similar...

Do you add something at the beginning of the file? I currently just save
the encoded output.

Ottavio

On Wed, Jul 22, 2009 at 01:47:02PM +0530, bhushan wrote:
  

Hi,
 You may have to download the g711 codec lib for a player such as winamp/
vlc then play it.

Bhushan

On Wed, Jul 22, 2009 at 12:48 PM, Ottavio Campana 
ottavio.camp...@dei.unipd.it wrote:



Hi,

I'm trying to use g711enc to  make some experiments. Everything seems to
work fine,  but I don't know  how I can  play the compressed file  I get
from the application.

How do you play it?

--
Non c'è più forza nella normalità, c'è solo monotonia.

___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

  


--
Bhushan



  

--
_
Disclaimer: This e-mail message and all attachments transmitted with it
are intended solely for the use of the addressee and may contain legally
privileged and confidential information. If the reader of this message
is not the intended recipient, or an employee or agent responsible for
delivering this message to the intended recipient, you are hereby
notified that any dissemination, distribution, copying, or other use of
this message or its attachments is strictly prohibited. If you have
received this message in error, please notify the sender immediately by
replying to this message and please delete it from your computer. Any
views expressed in this message are those of the individual sender
unless otherwise stated.Company has taken enough precautions to prevent
the spread of viruses. However the company accepts no liability for any
damage caused by any virus transmitted by this email.
_


___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Re: problem while experimenting with g711enc

2009-07-22 Thread Ottavio Campana
would you mind posting the header you're using?

On Wed, Jul 22, 2009 at 02:43:12PM +0530, Zuber wrote:
 One quick solution is to put 44 bytes wav header at the beginning of the 
 G711 encoded file.
 VLC will then recognize your clip and play it successfully. We have 
 tested it here. It works with vlc player.
 
 Zuber Saiyed
 Embedded Engineer
 eInfochips Ltd.
 Tel. No. +91 79 26563705 Ext. 126
 Cell. No. +91 96621 33369
 www.einfochips.com
 
 
 
 Ottavio Campana wrote:
 mmm... 
 
 vlc output is
 [0287] main playlist: nothing to play
 so I suspect I'm missing an header or something similar...
 
 Do you add something at the beginning of the file? I currently just save
 the encoded output.
 
 Ottavio
 
 On Wed, Jul 22, 2009 at 01:47:02PM +0530, bhushan wrote:
   
 Hi,
  You may have to download the g711 codec lib for a player such as winamp/
 vlc then play it.
 
 Bhushan
 
 On Wed, Jul 22, 2009 at 12:48 PM, Ottavio Campana 
 ottavio.camp...@dei.unipd.it wrote:
 
 
 Hi,
 
 I'm trying to use g711enc to  make some experiments. Everything seems to
 work fine,  but I don't know  how I can  play the compressed file  I get
 from the application.
 
 How do you play it?
 
 --
 Non c'è più forza nella normalità, c'è solo monotonia.
 
 ___
 Davinci-linux-open-source mailing list
 Davinci-linux-open-source@linux.davincidsp.com
 http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
 
   
 
 -- 
 Bhushan
 
 
   
 -- 
 _
 Disclaimer: This e-mail message and all attachments transmitted with it
 are intended solely for the use of the addressee and may contain legally
 privileged and confidential information. If the reader of this message
 is not the intended recipient, or an employee or agent responsible for
 delivering this message to the intended recipient, you are hereby
 notified that any dissemination, distribution, copying, or other use of
 this message or its attachments is strictly prohibited. If you have
 received this message in error, please notify the sender immediately by
 replying to this message and please delete it from your computer. Any
 views expressed in this message are those of the individual sender
 unless otherwise stated.Company has taken enough precautions to prevent
 the spread of viruses. However the company accepts no liability for any
 damage caused by any virus transmitted by this email.
 _
 

-- 
Non c'è più forza nella normalità, c'è solo monotonia.

___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Re: problem while experimenting with g711enc

2009-07-22 Thread Zuber

Hi,

Header which we have used is as below, view this in hex viewer. It is 44 
bytes header.


RIFF$ qWAVEfmt 

For more information on this 44 bytes go through the link given below.
You have to modify some of the values from these 44 bytes as per your 
clip like no. of channels and sampling rate.


http://ccrma.stanford.edu/courses/422/projects/WaveFormat/

Zuber Saiyed
Embedded Engineer
eInfochips Ltd.
Tel. No. +91 79 26563705 Ext. 126
Cell. No. +91 96621 33369
www.einfochips.com



Ottavio Campana wrote:

would you mind posting the header you're using?

On Wed, Jul 22, 2009 at 02:43:12PM +0530, Zuber wrote:
  
One quick solution is to put 44 bytes wav header at the beginning of the 
G711 encoded file.
VLC will then recognize your clip and play it successfully. We have 
tested it here. It works with vlc player.


Zuber Saiyed
Embedded Engineer
eInfochips Ltd.
Tel. No. +91 79 26563705 Ext. 126
Cell. No. +91 96621 33369
www.einfochips.com



Ottavio Campana wrote:

mmm... 


vlc output is
[0287] main playlist: nothing to play
so I suspect I'm missing an header or something similar...

Do you add something at the beginning of the file? I currently just save
the encoded output.

Ottavio

On Wed, Jul 22, 2009 at 01:47:02PM +0530, bhushan wrote:
 
  

Hi,
You may have to download the g711 codec lib for a player such as winamp/
vlc then play it.

Bhushan

On Wed, Jul 22, 2009 at 12:48 PM, Ottavio Campana 
ottavio.camp...@dei.unipd.it wrote:

   


Hi,

I'm trying to use g711enc to  make some experiments. Everything seems to
work fine,  but I don't know  how I can  play the compressed file  I get
  

from the application.


How do you play it?

--
Non c'è più forza nella normalità, c'è solo monotonia.

___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

 
  

--
Bhushan
   

 
  

--
_
Disclaimer: This e-mail message and all attachments transmitted with it
are intended solely for the use of the addressee and may contain legally
privileged and confidential information. If the reader of this message
is not the intended recipient, or an employee or agent responsible for
delivering this message to the intended recipient, you are hereby
notified that any dissemination, distribution, copying, or other use of
this message or its attachments is strictly prohibited. If you have
received this message in error, please notify the sender immediately by
replying to this message and please delete it from your computer. Any
views expressed in this message are those of the individual sender
unless otherwise stated.Company has taken enough precautions to prevent
the spread of viruses. However the company accepts no liability for any
damage caused by any virus transmitted by this email.
_




  

--
_
Disclaimer: This e-mail message and all attachments transmitted with it
are intended solely for the use of the addressee and may contain legally
privileged and confidential information. If the reader of this message
is not the intended recipient, or an employee or agent responsible for
delivering this message to the intended recipient, you are hereby
notified that any dissemination, distribution, copying, or other use of
this message or its attachments is strictly prohibited. If you have
received this message in error, please notify the sender immediately by
replying to this message and please delete it from your computer. Any
views expressed in this message are those of the individual sender
unless otherwise stated.Company has taken enough precautions to prevent
the spread of viruses. However the company accepts no liability for any
damage caused by any virus transmitted by this email.
_


___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Re: problem while experimenting with g711enc

2009-07-22 Thread Jerry Johns
Instead of doing all this work to get it working with VLC/etc, just use
Audacity which is an open source audio player

It has options to import raw signed 8-bit audio in ulaw/alaw form - this
is what I use to playback raw G.711 audio streams, as well as reading
WAV files, MP3, etc.

 

Thanks,

Jerry Johns
Design Engineer
Nuvation Research Corp - Canada
Tel: (519) 746-2304 ext. 221
www.nuvation.com http://www.nuvation.com/ 

 

___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source