How to play video(3840x4320 H.264) with tx2

Hi,
We want to play video with resolution ratio 3840x4320 H.264,the output also should be 3840x4320.
I used gst-launch-1.0 with below command:
gst-launch-1.0 filesrc location=~/8k-left.mp4 ! qtdemux name=demux demux.video_0 ! queue ! h264parse ! omxh264dec ! nvoverlaysink overlay-w=3840 overlay-h=4320 display-id=0 -e

And it stucks, (it’s ok to play video, if the video resolution ratio is 3840x3840)
Here is stuck info

nvidia@tegra-ubuntu:~$ ./test_gst_launch_fb0.sh   
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
NvMMLiteOpen : Block : BlockType = 261 
TVMR: NvMMLiteTVMRDecBlockOpen: 7647: NvMMLiteBlockOpen 
NvMMLiteBlockCreate : Block : BlockType = 261 
TVMR: FrameRate = 24 
TVMR: NvMMLiteTVMRDecDoWork: 6531: NVMMLITE_TVMR: EOS detected
TVMR: TVMRBufferProcessing: 5486: Processing of EOS 
TVMR: TVMRBufferProcessing: 5563: Processing of EOS Done
^Chandling interrupt.
Interrupt: Stopping pipeline ...
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
TVMR: TVMRFrameStatusReporting: 6132: Closing TVMR Frame Status Thread -------------
TVMR: TVMRVPRFloorSizeSettingThread: 5942: Closing TVMRVPRFloorSizeSettingThread -------------
TVMR: TVMRFrameDelivery: 5982: Closing TVMR Frame Delivery Thread -------------
TVMR: NvMMLiteTVMRDecBlockClose: 7815: Done 
Freeing pipeline ...
nvidia@tegra-ubuntu:~$

I have managed to change framebuffer to 3840x4320:

root@tegra-ubuntu:~# cat /sys/class/graphics/fb0/mode
U:3840x4320p-30
root@tegra-ubuntu:~# cat /sys/class/graphics/fb0/modes
D:3840x4320p-30
D:3840x4320p-15
V:1280x1024p-75
S:1280x800p-75
S:1280x800p-85
S:1280x1024p-60
S:1600x900p-60
S:1680x1050p-60
S:1440x900p-60
S:1920x1200p-60

Could anyone give me some idea on how to play with gst-launch-1.0? Or with other player?
Thanks

Hi,
The resolution 3840x4320 looks out of spec. Can you run below command and check if you can see preview?

$ gst-launch-1.0 videotestsrc ! video/x-raw,width=3840,height=4320 ! nvvidconv ! 'video/x-raw(memory:NVMM),width=3840,height=4320' ! nvoverlaysink sync=false

@DaneLLL

Is there command to decode only, and don’t display?
I want to check the decode first.
Thanks

Hi,
For decoding only, please run

gst-launch-1.0 filesrc location=~/8k-left.mp4 ! qtdemux name=demux demux.video_0 ! queue ! h264parse ! omxh264dec ! fakesink

@DaneLLL, very much thanks for your reply.
I tested, found it can decode 4k(3840 x 2160@60fps), but it cannot decode resolution ratio like 3840 x 4320@24fps, neither 7680 x 4320@15fps.

I want to know, is this related with the software(like gst-launch-1.0, decoder, etc), or is related with hardware limitation?
If it is related with hardware, is there any user guide documents about this information?
Thanks

Hi,
The spec is 3840x2160p60 120Mbps as specified in [Software Features] -> [Video Decoders]
https://developer.nvidia.com/embedded/dlc/l4t-documentation-28-2-ga

Dear DaneLLL,

Sorry for the late reply.
What’s the max supported resolution for TX2 decoder, in h264 h265?
TX2 is Pascal GPU, does it support as below image?
I found it here https://developer.nvidia.com/nvidia-video-codec-sdk

Hi,

You can try 4096x4096, but I would like to emphasize again that spec is at #6

No. It is for desktop GPUs such as GTX 1080.

@DaneLLL,

ok, I’m clear now.Thanks for your reply.