AnsweredAssumed Answered

imx28 error!

Question asked by cheng youping on Feb 14, 2014
Latest reply on Feb 18, 2014 by Alvin

download updated imx28 bsp.

ltib and execution in imx28 dvk,

 

result is as following.

 

root@freescale ~/mp3$ root@freescale ~/mp3gst-launch filesrc location=test.wav !

wavparse ! mfw_mp3encoder ! filesink location=output.mp3

-sh: root@freescale: not found

root@freescale ~/mp3$ gst-launch alsasrc num-buffers=240 blocksize=44100 ! mfw_m

p3encoder ! filesink location=output.mp3

BLN_MAD-MMCODECS_MP3E_ARM_02.02.00_ARM9  build on Mar 21 2012 17:11:54.

MFW_GST_MP3_ENCODER_PLUGIN 3.0.6 build on Feb 13 2014 08:33:57.

Setting pipeline to PAUSED ...

sgtl5000_write: write reg error : Reg 0x06 = 0x0000

sgtl5000_write: write reg error : Reg 0x04 = 0x0000

sgtl5000_write: write reg error : Reg 0x06 = 0x0130

sgtl5000_write: write reg error : Reg 0x02 = 0x0002

sgtl5000_write: write reg error : Reg 0x30 = 0x5a62

sgtl5000_write: write reg error : Reg 0x30 = 0x5a7b

sgtl5000_write: write reg error : Reg 0x02 = 0x0022

sgtl5000_write: write reg error : Reg 0x02 = 0x0062

sgtl5000_write: write reg error : Reg 0x2a = 0x0200

sgtl5000_write: write reg error : Reg 0x30 = 0x5afb

sgtl5000_hw_read: read reg error : Reg 0x0e

sgtl5000_write: write reg error : Reg 0x0e = 0x0000

Pipeline is live and does not need PREROLL ...

Setting pipeline to PLAYING ...

New clock: GstAudioSrcClock

Caught interrupt -- handling interrupt.

Interrupt: Stopping pipeline ...

Execution ended after 37207937317 ns.

Setting pipeline to PAUSED ...

Setting pipeline to READY ...

sgtl5000_write: write reg error : Reg 0x30 = 0x5ab9

sgtl5000_write: write reg error : Reg 0x02 = 0x0060

sgtl5000_write: write reg error : Reg 0x06 = 0x0130

sgtl5000_write: write reg error : Reg 0x2a = 0x0000

sgtl5000_write: write reg error : Reg 0x30 = 0x5a39

sgtl5000_write: write reg error : Reg 0x02 = 0x0060

sgtl5000_write: write reg error : Reg 0x02 = 0x0020

sgtl5000_hw_read: read reg error : Reg 0x0e

sgtl5000_write: write reg error : Reg 0x0e = 0x000c

sgtl5000_write: write reg error : Reg 0x30 = 0x5a20

sgtl5000_write: write reg error : Reg 0x02 = 0x0000

root@freescale ~/mp3$ gst-launch filesrc location=output.mp3 typefind=true ! bee

pdec ! audioconvert ! 'audio/x-raw-int, channels=2' ! alsasink

Setting pipeline to PAUSED ...

sgtl5000_write: write reg error : Reg 0x06 = 0x0000

sgtl5000_write: write reg error : Reg 0x04 = 0x0000

sgtl5000_write: write reg error : Reg 0x06 = 0x0130

sgtl5000_write: write reg error : Reg 0x02 = 0x0001

sgtl5000_write: write reg error : Reg 0x30 = 0x5a39

sgtl5000_write: write reg error : Reg 0x02 = 0x0021

sgtl5000_write: write reg error : Reg 0x24 = 0x0022

sgtl5000_write: write reg error : Reg 0x2a = 0x0200

sgtl5000_write: write reg error : Reg 0x30 = 0x5ab9

sgtl5000_hw_read: read reg error : Reg 0x0e

sgtl5000_write: write reg error : Reg 0x0e = 0x0000

ERROR: Pipeline doesn't want to pause.

ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0: Could not determ

ine type of stream.

Additional debug info:

gstbasesrc.c(2795): gst_base_src_start (): /GstPipeline:pipeline0/GstFileSrc:fil

esrc0

Setting pipeline to NULL ...

sgtl5000_hw_read: read reg error : Reg 0x0e

sgtl5000_write: write reg error : Reg 0x0e = 0x000c

sgtl5000_write: write reg error : Reg 0x02 = 0x0020

sgtl5000_write: write reg error : Reg 0x06 = 0x0130

Freeing pipeline ...

root@freescale ~/mp3$ sgtl5000_write: write reg error : Reg 0x2a = 0x0000

sgtl5000_write: write reg error : Reg 0x30 = 0x5a39

sgtl5000_write: write reg error : Reg 0x02 = 0x0020

sgtl5000_write: write reg error : Reg 0x24 = 0x0132

sgtl5000_hw_read: read reg error : Reg 0x0e

sgtl5000_write: write reg error : Reg 0x0e = 0x000c

sgtl5000_write: write reg error : Reg 0x30 = 0x5a20

sgtl5000_write: write reg error : Reg 0x02 = 0x0000

 

root@freescale ~/mp3$ ls -l

-rw-r--r--    1 root     root             0 Jan  1 00:55 output.mp3

root@freescale ~/mp3$


 

 

why?

Outcomes