AnsweredAssumed Answered

Gstreamer dual display resoultions

Question asked by William Tung on Feb 25, 2013
Latest reply on Feb 13, 2014 by Holger Moritz
Branched to a new discussion

Hi,

 

We tried dual LVDS output and could play two video simultaneously on a solo board. However, the resolution of 2nd display always follows the first one. Is there anything we're missing?

u-boot parameter:

video=mxcfb0:dev=ldb,LDB-WVGA,if=RGB666 video=mxcfb1:dev=ldb,LDB-WSVGA,if=RGB666 ldb=sep0

 

check mode:

root@linaro-ubuntu-desktop:~# cat /sys/class/graphics/fb0/mode

D:800x480p-60

root@linaro-ubuntu-desktop:~# cat /sys/class/graphics/fb2/mode

D:1024x600p-60

 

video1:

gst-launch  filesrc location=/home/demo/albertsons.mp4 typefind=true  ! aiurdemux name=demux demux.  ! queue max-size-buffers=0 max-size-time=0 ! vpudec  ! mfw_v4lsink device=/dev/video16 demux. ! queue max-size-time=0  ! beepdec ! audioconvert ! 'audio/x-raw-int, channels=2' ! alsasink demux.

 

output:

MFW_GST_V4LSINK_PLUGIN 3.0.5 build on Dec 14 2012 13:58:00.

Setting pipeline to PAUSED ...

[INFO]  Product Info: i.MX6Q/D/S

vpudec versions

        plugin: 3.0.4

        wrapper: 1.0.25(VPUWRAPPER_ARM_LINUX Build on Dec  7 2012 20:22:02)

        vpulib: 5.4.8

        firmware: 2.1.8.34588

Pipeline is PREROLLING ...

Aiur: 3.0.4

Core: MPEG4PARSER_06.04.25  build on Nov  9 2012 10:33:54

  mime: video/quicktime; audio/x-m4a; application/x-3gp

  file: /usr/lib/imx-mm/parser/lib_mp4_parser_arm11_elinux.so.3.1

Content Info:

        URI:

              file:///home/demo/albertsons.mp4

        Idx File:

              /root/.aiur/.home.demo.albertsons.mp4.aidx

        Seekable  : Yes

        Size(byte): 36913315

 

Movie Info:

        Seekable  : Yes

        Live      : No

        Duration  : 0:01:36.595000000

        ReadMode  : File

        Track     : 2

 

Track 00 [video_000000] Enabled

        Duration: 0:01:36.595000000

        Language: und

        Mime:

              video/x-h264, parsed=(boolean)true, width=(int)1280, height=(int)720, framerate=

              (fraction)30000/1001, codec_data=(buffer)000000016764001fac248805005ba100000303e

              90000ea600f1832a00000000168ee3cb0

Track 01 [audio_000000] Enabled

        Duration: 0:01:36.595000000

        Language: und

        Mime:

              audio/mpeg, mpegversion=(int)4, channels=(int)2, rate=(int)44100, bitrate=(int)1

              46528, framed=(boolean)true, stream-format=(string)raw, codec_data=(buffer)1210

[INFO]  bitstreamMode 1, chromaInterleave 1, mapType 0, tiled2LinearEnable 0

[WARN]  VPU iram is less than needed, some parts don't use iram

>>V4L_SINK: Actually buffer status:

        hardware buffer : 9

        software buffer : 0

Beep: 3.0.4

Core: AAC-Plus decoder Wrapper  build on Nov  8 2012 16:49:52

  mime: audio/mpeg, mpegversion=(int){2,4}

  file: /usr/lib/imx-mm/audio-codec/wrap/lib_aacplusd_wrap_arm12_elinux.so.3

CODEC: BLN_MAD-MMCODECS_AACD_ARM_03.07.00  build on Jul 17 2012 17:47:46.

BLN_MAD-MMCODECS_AACPD_ARM_03.07.00_ARM11  build on Jul 17 2012 17:58:59.

Pipeline is PREROLLED ...

Setting pipeline to PLAYING ...

full screen size:800x480

[V4L Update Display]: left=0, top=0, width=800, height=480

New clock: GstAudioSinkClock

 

video2:

gst-launch  filesrc location=/home/demo/albertsons.mp4 typefind=true  ! aiurdemux name=demux demux.  ! queue max-size-buffers=0 max-size-time=0 ! vpudec  ! mfw_v4lsink device=/dev/video18  demux.

 

 

output:

 

 

MFW_GST_V4LSINK_PLUGIN 3.0.5 build on Dec 14 2012 13:58:00.

Setting pipeline to PAUSED ...

[INFO]  Product Info: i.MX6Q/D/S

vpudec versions

        plugin: 3.0.4

        wrapper: 1.0.25(VPUWRAPPER_ARM_LINUX Build on Dec  7 2012 20:22:02)

        vpulib: 5.4.8

        firmware: 2.1.8.34588

Pipeline is PREROLLING ...

Aiur: 3.0.4

Core: MPEG4PARSER_06.04.25  build on Nov  9 2012 10:33:54

  mime: video/quicktime; audio/x-m4a; application/x-3gp

  file: /usr/lib/imx-mm/parser/lib_mp4_parser_arm11_elinux.so.3.1

Content Info:

        URI:

              file:///home/demo/albertsons.mp4

        Idx File:

              /root/.aiur/.home.demo.albertsons.mp4.aidx

        Seekable  : Yes

        Size(byte): 36913315

 

Movie Info:

        Seekable  : Yes

        Live      : No

        Duration  : 0:01:36.595000000

        ReadMode  : File

        Track     : 2

 

Track 00 [video_000000] Enabled

        Duration: 0:01:36.595000000

        Language: und

        Mime:

              video/x-h264, parsed=(boolean)true, width=(int)1280, height=(int)720, framerate=

              (fraction)30000/1001, codec_data=(buffer)000000016764001fac248805005ba100000303e

              90000ea600f1832a00000000168ee3cb0

Track 01 [audio_000000] Enabled

        Duration: 0:01:36.595000000

        Language: und

        Mime:

              audio/mpeg, mpegversion=(int)4, channels=(int)2, rate=(int)44100, bitrate=(int)1

              46528, framed=(boolean)true, stream-format=(string)raw, codec_data=(buffer)1210

[INFO]  bitstreamMode 1, chromaInterleave 1, mapType 0, tiled2LinearEnable 0

[WARN]  VPU iram is less than needed, some parts don't use iram

>>V4L_SINK: Actually buffer status:

        hardware buffer : 9

        software buffer : 0

Pipeline is PREROLLED ...

Setting pipeline to PLAYING ...

full screen size:800x480

[V4L Update Display]: left=0, top=0, width=800, height=480

New clock: GstSystemClock



Outcomes