Using FFmpeg, can the i.MX6 decode and play a 1080p60 stream (HEVC/H.265/H.264/MPEG2)?

cancel
Showing results for 
Search instead for 
Did you mean: 

Using FFmpeg, can the i.MX6 decode and play a 1080p60 stream (HEVC/H.265/H.264/MPEG2)?

2,932 Views
oway
Contributor I

Hello,

Using FFmpeg, can the i.MX6 decode and play an incoming 1080p60 stream (HEVC/H.265/H.264/MPEG2)? 

Does it play, but some input frames are simply dropped, perhaps resulting in 1080p30 to the output? 

If frames are dropped, is it visually even or visually choppy?

Thanks

0 Kudos
4 Replies

226 Views
joelg
Contributor I

> Using FFmpeg, can the i.MX6 decode and play an incoming 1080p60 stream (HEVC/H.265/H.264/MPEG2)?

Hi, I am just a user.  From experience I can tell you this.  The latest ffmpeg with h265 support is included in Kodi software, which you can just image onto micro SD card:

H.264 - no problems.  Even the single core imx6 with GC800 can play with higher than BluRay encoding quality.

Mpeg2 - no problem

1080i interlaced at 50/60fps .... - nearly works, fix imminent.  Likely needs GC2000 vpu.  Needed a different solution: [imx6] Deinterlacing feature

HEVC/H265 - decodes but not watchable because too much frame stuttering.  This is to be expected - even a quad core intel i5 haswell has stuttering.

1080p60 is not a problem.

I have still to find a working 1080p @ 23.976 fps (which is an industry standard Blu Ray encode rate).  So far freescale haven't provided linux kernel to make a sync rate of 23.98 - only 24fps is available.  This is a problem because you get a frame drop every 42 seconds [1/(24-23.976)] = 42.

Of course, you don't need to use Kodi to use ffmpeg, but since this is open source, you could start with it because many decoding solutions for all the codecs have been figured out + all the audio decoding and bitstreaming is in there too.  Here is a prebuilt image to get you started: http://openelec.tv/get-openelec

For the source code use the github links in the first link.

226 Views
oway
Contributor I

Hi Joel,

In your experience, is there any HEVC/H.265 frame-rate for smooth playback on the i.MX6 using FFmpeg?  (For instance, a 30fps or 24fps input stream, since 60fps input causes stuttering?)

Thanks - Olan

0 Kudos

226 Views
oway
Contributor I

Thank you Joel, for this helpful information!

Olan

0 Kudos

226 Views
soledad
NXP Employee
NXP Employee

Hi,  

Please, send your post to i.MX community (e.g.i.MX Community ) to get it visible for active members.

Regards

Soledad

0 Kudos