Subtitles in Gstreamer

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

Subtitles in Gstreamer

2,348 次查看
stéphanenoblet
Contributor I

Dear,

I'm trying to use gstreamer to decode 4K video with subtitles.

It work fine with Full HD video (1080p) with the command :

gst-launch-1.0 playbin uri=file:///home/root/Sintel.2010.1080p.mkv

But when I use it on a Ultra HD video (4K), the CPU become overloaded, and the video fail.

I suppose gstreamer try to add subtitle into video without hardware acceleration.

Are those type of issue encountered on I.MX6 ?

Does the gstreamer subtitle with hardware acceleration exists ?

Thanks,

Stéphane

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

2,127 次查看
stéphanenoblet
Contributor I

Hi,

The problem of software encoded subtitles and performances is known in the gstreamer community :

Subtitle Overlays and Hardware-Accelerated Playback 

But i don't know if solutions are implemented in NXP gstreamer plugins for IMX

0 项奖励
回复

2,127 次查看
jack_mao
NXP Employee
NXP Employee

IMX8m has no 2D  for composite the subtitle with video , currently it's done by software, so if you decoder a 4k video, more mips consumed by the sw decoding.

2,127 次查看
stéphanenoblet
Contributor I

Hi,

I tryied to play video and render in the GPU with gstreamer glimagesink,

It works on a FullHD video (H.264 1080p), applying GL effects, but doesn't on a UltraHD video (H.265 4K).

Does the I.MX8M GPU can support a 4K stream ?

Or is it not supposed to ?

If no I think the solution to get subtitles working with 4K is to display the 4K video in one DCSS framebuffer and the subtitle in one other framebuffer (using waylandsink).

Stéphane

0 项奖励
回复

2,127 次查看
joanxie
NXP TechSupport
NXP TechSupport

refer to the VPU API, imx6 supports up to full HD 1920x1080 60i or 30p decoding and
1920x1088 encoding

0 项奖励
回复