Log in

View Full Version : Does ffmeg based x264 support 4k(3840 x 2160) encoding ?


steve_warrior
6th August 2015, 13:37
Hi,
I am trying to encode a 4K video from my ffmpeg, but it gives me crash.
I have read the specs of H.264, it says Level-5.2 supports 4K. Even if i give Level-5.2, there is a crash.
Can somebody please tell me, does the ffmpeg support 4K Encoding

-Thanks in advance

sneaker_ger
6th August 2015, 13:41
Are you running out of memory? Try a 64 bit build of ffmpeg.

steve_warrior
6th August 2015, 13:49
Thanks for the reply. Yes thats 64 bit build. Is there any way to confirm 64 bit build ?
Can you please let me know weather ffmpeg supports 4k encoding.

vivan
6th August 2015, 15:24
Of course it does, I see no reason why it shouldn't (it's not "professional" crapware that cost few thousand bucks ;)). Just checked and it encoded it without any problem.

You can check it in the task manager, if ffmpeg has *32 in the task manager while it's running it isn't x64. There might be a simplier way, but I don't know it.

Yeah, running out of memory is the most likely problem. What amount of ram do you have? Number of cores? x264 preset you are using?
Memory usage scales with number of threads, so usually the simplest way is to lower number of threads. You can also try faster presets if you're fine with lower encoding efficiency.