Can the MX53 decode and display two different videos file simultaneously?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Can the MX53 decode and display two different videos file simultaneously?

1,451 次查看
JackyHuang
Contributor III

Is that support decode and display two different videos file in simultaneously MX53 ubuntu ?

if it can do that, what configuration and software I need to setup? gstreamer? 

Thanks advance!

标记 (1)
0 项奖励
回复
4 回复数

1,057 次查看
SamayaLin
Contributor I

Dear Jack,

I also have the requirement for dual display. But have problems to work. My problems had posted to http://imxcommunity.org/forum/topics/i-mx53-qsb-dual-monitor-setup-problem-with-lucid. But nobody reply me yet.

Can you share your working settings ? What's your display resolution for each display ? What's parameters in UBOOT ?

It's strange that I can not use mfw_isink, the error message is "can not create threadmfw_gst_isink_setcaps:1080", do you have any suggestion ?

gst-launch-0.10 filesrc location=000.avi ! decodebin2 name=d d. ! mfw_isink d. ! alsasink


MAX resolution 1024x768
set color key
MFW_GST_ISINK_PLUGIN 1.9.7-1 build on Jan 28 2011 13:27:40.
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Aiur Core Info:
  mime: video/x-msvideo
  file: lib_avi_parser_arm11_elinux.3.0.so
  ver : AVI_PARSER_03.01.10  build on Aug 12 2010 09:51:14
Index table 000.avi.aidx imported.
[INFO]    Product Info: i.MX53
VPU Version: firmware 13.4.24; libvpu: 5.1.4
MFW_GST_VPU_DECODER_PLUGIN 1.9.7-1 build on Jan 28 2011 13:23:34.
Movie Info:
    Seekable: Yes
    Live:     No
    Duration: 0:03:36.952000000
    ReadMode: File

Total Track: 2
Track 00[Video]:
    Duration: 0:03:36.950000000
    Language: und
    Mime:
          video/x-xvid, width=(int)352, height=(int)240, framerate=(fraction)30000/1001
Track 01[Audio]:
    Duration: 0:03:36.952000000
    Language: und
    Mime:
          audio/mpeg, mpegversion=(int)1, channels=(int)2, rate=(int)44100, bitrate=(int)1
          27992
BLN_MAD-MMCODECS_MP3D_ARM_02.07.00_CORTEX-A8  build on Nov 12 2010 21:13:04.
MFW_GST_MP3_DECODER_PLUGIN 1.9.7-1 build on Jan 28 2011 13:29:11.
[WARN]    VPU iram is less than needed, some parts don't use iram
hwbuf allocator zone(126976) created
can not create threadmfw_gst_isink_setcaps:1080
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
VS0 created. in fmt[NV12] win(0,0-352,240:352x240).
New clock: GstAudioSinkClock

Thanks.

0 项奖励
回复

1,057 次查看
JackyHuang
Contributor III

thanks for your reply and help!

finally,  I can use MX53 decode multiple video and display on different screen or display on the same screen simultaneously

the mfw_isink plugin is powerful.

i have test that MX53 QSB can decode two 720p video at the same time, however, when I try to play the third video, it occur error about the mem page !

So, I want to know if I add more mem into the board, Can it play more HD video?

thanks advance! 

0 项奖励
回复

1,057 次查看
KanHU
Contributor III
Use gstreamer plugins support multi video playback.
0 项奖励
回复

1,057 次查看
hippo
NXP TechSupport
NXP TechSupport
Yes the i.MX53 is able to handle this. I would split the restrictions in three parts: dual display size, video processing (resize) and video decoding. - Dual Display size: See pptx document, there you could check the combinations that i.MX53 supports. - Resize: Sometimes the size of the video does not match with the screen size or maybe the user is able to resize the video. In those cases we need to resize the video before send it to the screen. Resize is handled by one IPU module, the Image Converter(IC). Unfortunately this module has some bandwidth restrictions, so it won't be recommendable to use the IC for both video paths because the frame rate might be affected. The bandwidth will be also shared between decoding operations if they need to be resized. IC might be also shared with other tasks such video or camera capture when resize is required. Anyway IC's bandwidth is: - Image converter Input Rate 150 Mpixels/sec (e.g.,4 MP @ 30 fps + 35% blanking intervals) - Image converter output rate to system memory 75 Mpixels/sec
0 项奖励
回复