Audio Format change 16 to 24 bit.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Audio Format change 16 to 24 bit.

1,670件の閲覧回数
srinivasanshanm
Contributor III

Dear Support Team

We are using ltib L2.6.35_1.1.0_130130_source.

How to change audio format from 16 bit  44.1Khz to 24 bit 44.1Khz in gstreamer & fslplayer in imx 28 board ?

Since we want 24bit PCM audio output to drive our audio codec chip.

Thanks

Srinivas

ラベル(2)
0 件の賞賛
返信
2 返答(返信)

1,187件の閲覧回数
Yuri
NXP Employee
NXP Employee

You may vary such parameters as sample rate, width as following (example) :

gst-launch-0.10 -e alsasrc device-name=hw:0,0 ! audio/x-raw-int, width=16, depth=16, rate=44100, channels=2 ! queue !  filesink location= /mnt/nfs/sound.raw

0 件の賞賛
返信

1,187件の閲覧回数
srinivasanshanm
Contributor III

Hi, 


We used below  command to configure 24bit PCM output:


gst-launch filesrc location=HugeWAV.wav ! wavparse ! audioconvert ! audioresample ! alsasink ,width=24, depth=24, rate=44100

this command will play song,

It is 16bit wav file but format is not changing to 24bit format.


Please correct the command if iam wrong.


Or is there any option to change the bit format in fslplayer???


Rgds

Srinivas



0 件の賞賛
返信