cli - y4m pipe input broken (doesn't stop)

Issue #947 resolved
Selur created an issue

With latest versions, using a simple y4m pipe from ffmpeg/vspipe/avs2yuv like:
ffmpeg -y -loglevel fatal -noautorotate -nostdin -threads 8 -i "G:\TestClips&Co\files\test.avi" -map 0:0 -an -sn -color_primaries bt470bg -color_trc smpte170m -colorspace bt470bg -color_range tv -pix_fmt yuv420p10le -strict -1 -vsync 0 -f yuv4mpegpipe - | x265 --input - --fps 25/1 --output-depth 10 --y4m --crf 18.00 --range limited --colormatrix bt470bg --sar 1:1 --output "J:\tmp\test.265"

results in x265 encoding without ?ever? ending. Aborting the encode results in something like:
aborted at input frame 429, output frame 2765 in x265
before x265 properly stopped when the pipe was finished.

Would be nice if this could be fixed, since it breaks tons of encoding frontends for normal users.
I know that using ‘--frames XXX’ might work too, but it seems like an unneeded step.

Thanks !

Comments (5)

  1. Pavan Tarun Chakka Venkata

    We are able to reproduce it.
    We are working on it, will update you once it’s fixed.

  2. Log in to comment