[x265] Piping very large frames to x265 fails

Michael Lackner michael.lackner at unileoben.ac.at
Thu May 11 15:21:31 CEST 2017


Hello,

Hate to nag you people again, but I ran into something interesting. I've been piping a 24p
10-bit video in 8192x3428 to x265 from ffmpeg. Works fine.

Now I tried with 16:9 content, so a larger 8192x4608 resolution. Works fine when it's
coming from a raw YUV file, but when I read from a pipe with x265, it would say:

x265 [error]: unable to open input file <->

Piping from ffmpeg to cat works ok though. Just switching back the input files makes it
work. They've been created in the exact same way, just at a different scale.

Reproducible like this for 10-bit, tried on Linux and FreeBSD:

ffmpeg -r 24 -i input.h265 -strict -1 -f yuv4mpegpipe -pix_fmt yuv420p10le -r 24 - | x265
- --y4m -D10 -o out.h265

Works with 8192x3428 input, fails with 8192x4608 input.

I guess some kind of size limit is exceeded somewhere? Or am I doing something wrong again...

Thanks!

-- 
Michael Lackner
Lehrstuhl für Informationstechnologie (CiT)
Montanuniversität Leoben
Tel.: +43 (0)3842/402-1505 | Mail: michael.lackner at unileoben.ac.at
Fax.: +43 (0)3842/402-1502 | Web: http://institute.unileoben.ac.at/infotech


More information about the x265-devel mailing list