AnsweredAssumed Answered

About mp4 playing for gplay gst-launch under i.MX28

Question asked by YiFong Lin on May 4, 2014
Latest reply on Jul 3, 2014 by Yixing Kong

Dear All:

I got some problems for video playing for imx28

1. I got kernel panic when use gplay or gst-launch to play HD mp4 file under imx28.
2. some mp4 file can be played and some one cannot (both resolution is 320 x 240). (any recommend video format transfer?)

so , does the gplay or gst-launch have any limitation about video format? does someone have any idea?

 

Following is mp4 information for the OK file:

General
Complete name                    : QVGA.mp4
Format                           : MPEG-4
Format profile                   : Base Media
Codec ID                         : isom
File size                        : 4.10 MiB
Duration                         : 45s 160ms
Overall bit rate                 : 762 Kbps
Encoded date                     : UTC 2014-04-17 10:07:19
Tagged date                      : UTC 2014-04-17 10:07:19
Writing application              : Lavf55.36.103

Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : Main@L4.1
Format settings, CABAC           : Yes
Format settings, ReFrames        : 2 frames
Codec ID                         : avc1
Codec ID/Info                    : Advanced Video Coding
Duration                         : 45s 160ms
Bit rate mode                    : Variable
Bit rate                         : 753 Kbps
Nominal bit rate                 : 1 500 Kbps
Width                            : 320 pixels
Height                           : 240 pixels
Display aspect ratio             : 4:3
Frame rate mode                  : Constant
Frame rate                       : 25.000 fps
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.392
Stream size                      : 4.05 MiB (99%)
Writing library                  : x264 core 142 r2409
Encoding settings                : cabac=1 / ref=2 / deblock=1:0:0 / analyse=0x1:0x131 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=3 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=abr / mbtree=1 / bitrate=1500 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=69 / qpstep=4 / vbv_maxrate=24000 / vbv_bufsize=24000 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00
Language                         : English
Encoded date                     : UTC 2014-04-17 10:07:19
Tagged date                      : UTC 2014-04-17 10:07:19

Audio
ID                               : 2
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format profile                   : LC
Codec ID                         : 40
Duration                         : 45s 141ms
Bit rate mode                    : Variable
Bit rate                         : 3 753 bps
Maximum bit rate                 : 32.0 Kbps
Channel(s)                       : 2 channels
Channel positions                : Front: L R
Sampling rate                    : 48.0 KHz
Compression mode                 : Lossy
Stream size                      : 20.7 KiB (0%)
Language                         : English
Encoded date                     : UTC 2014-04-17 10:07:19
Tagged date                      : UTC 2014-04-17 10:07:19

 

 

Following is mp4 information for the NG file:

General
Complete name                    : new_logo.mp4
Format                           : MPEG-4
Format profile                   : Base Media
Codec ID                         : isom
File size                        : 1.85 MiB
Duration                         : 28s 800ms
Overall bit rate                 : 540 Kbps
Encoded date                     : UTC 2014-04-17 03:29:29
Tagged date                      : UTC 2014-04-17 03:29:29
Writing application              : FormatFactory : www.pcfreetime.com

Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High@L1.3
Format settings, CABAC           : No
Format settings, ReFrames        : 1 frame
Codec ID                         : avc1
Codec ID/Info                    : Advanced Video Coding
Duration                         : 28s 680ms
Bit rate mode                    : Variable
Bit rate                         : 413 Kbps
Nominal bit rate                 : 384 Kbps
Maximum bit rate                 : 724 Kbps
Width                            : 320 pixels
Height                           : 240 pixels
Display aspect ratio             : 4:3
Frame rate mode                  : Constant
Frame rate                       : 25.000 fps
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.215
Stream size                      : 1.41 MiB (76%)
Writing library                  : x264 core 116 r2019 9cc407d
Encoding settings                : cabac=0 / ref=1 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=abr / mbtree=1 / bitrate=384 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Encoded date                     : UTC 2014-04-17 03:29:29
Tagged date                      : UTC 2014-04-17 03:29:29

Audio
ID                               : 2
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format profile                   : LC
Codec ID                         : 40
Duration                         : 28s 800ms
Bit rate mode                    : Variable
Bit rate                         : 125 Kbps
Maximum bit rate                 : 258 Kbps
Channel(s)                       : 2 channels
Channel positions                : Front: L R
Sampling rate                    : 48.0 KHz
Compression mode                 : Lossy
Stream size                      : 440 KiB (23%)
Encoded date                     : UTC 2014-04-17 03:29:29
Tagged date                      : UTC 2014-04-17 03:29:29

 

 

thank you very much.

Outcomes