AnsweredAssumed Answered

i.MX6Q/BSP3.10.17 LPCM/MPEG-2 with gStreamer

Question asked by Nori Shinozaki on Sep 25, 2014
Latest reply on Oct 28, 2014 by gusarambula

Hello,

 

My customer is developing using i.MX6Q and BSP 3.10.17.

 

They would like to use LPCM in MPEG2-PS, and asking the spec such as bit rates, bit width and depth.

Are LPCM and MPEG2-PS supported in the BSP from the beginning?

 

As far as I checked, there is a table in  i.MX_6_Series_Yocto_Project_Multimedia_Release_Notes.pdf.

 

 

I'm not sure this PCM means LPCM and the MPG2 includes Program Stream or not.

I also checked "audio/x-raw-int" fields by # gst-inspect in QSabreSD, however the results is not satisfaction.

 

# gst-inspect wavenc

 

  SINK template: 'sink'

    Availability: Always

    Capabilities:

      audio/x-raw-int

                   rate: [ 1, 2147483647 ]

               channels: [ 1, 2 ]

             endianness: 1234

                  width: 32

                  depth: 32

                 signed: true

      audio/x-raw-int

                   rate: [ 1, 2147483647 ]

               channels: [ 1, 2 ]

             endianness: 1234

                  width: 24

                  depth: 24

                 signed: true

      audio/x-raw-int

                   rate: [ 1, 2147483647 ]

               channels: [ 1, 2 ]

             endianness: 1234

                  width: 16

                  depth: 16

                 signed: true

      audio/x-raw-int

                   rate: [ 1, 2147483647 ]

               channels: [ 1, 2 ]

                  width: 8

                  depth: 8

                 signed: false

      audio/x-raw-float

                   rate: [ 1, 2147483647 ]

               channels: [ 1, 2 ]

             endianness: 1234

                  width: { 32, 64 }

 

# gst-inspect wavparse

 

      audio/x-raw-int

             endianness: 1234

                 signed: { true, false }

                  width: { 8, 16, 24, 32 }

                  depth: [ 1, 32 ]

                   rate: [ 1000, 192000 ]

               channels: [ 1, 8 ]

 

# gst-inspect auparse | more

 

  SRC template: 'src'

    Availability: Sometimes

    Capabilities:

      audio/x-raw-int

                   rate: [ 1, 2147483647 ]

               channels: [ 1, 2147483647 ]

             endianness: { 1234, 4321 }

                  width: { 8, 16, 24, 32 }

                  depth: [ 1, 32 ]

                 signed: { true, false }

      audio/x-raw-float

                   rate: [ 1, 2147483647 ]

               channels: [ 1, 2147483647 ]

             endianness: { 1234, 4321 }

                  width: { 32, 64 }

 

# gst-inspect osssink

 

Pad Templates:

  SINK template: 'sink'

    Availability: Always

    Capabilities:

      audio/x-raw-int

             endianness: { 1234 }

                 signed: { true, false }

                  width: 16

                  depth: 16

                   rate: [ 1, 2147483647 ]

               channels: [ 1, 2 ]

      audio/x-raw-int

                 signed: { true, false }

                  width: 8

                  depth: 8

                   rate: [ 1, 2147483647 ]

               channels: [ 1, 2 ]

 

Best regards,

Nori Shinozaki

Outcomes