Opened 13 months ago

Closed 8 weeks ago

#10646 closed defect (duplicate)

Invalid stream for FFV1 10-bit 2-pass encoding

Reported by: Timofey Vasenin Owned by:
Priority: important Component: avcodec
Version: git-master Keywords: ffv1
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Reproduces with any input video:

ffmpeg -i "foreman_cif.y4m" -pix_fmt yuv422p10le -c:v ffv1 -pass 1 -passlogfile "foreman_cif.passlog" "foreman_cif.pass1.avi"
ffmpeg -i "foreman_cif.y4m" -pix_fmt yuv422p10le -c:v ffv1 -pass 2 -passlogfile "foreman_cif.passlog" "foreman_cif.pass2.avi"

No warning/error messages during encoding, but:

foreman_cif.pass1.avi -- OK
foreman_cif.pass2.avi -- garbage

Reproduces on windows and linux on 6.0 and nightly (and on all previous builds I tried).

Change History (2)

comment:1 by Damian Höster, 6 months ago

12 and 16 bit is broken, too. 8bpc works just as it should.

comment:2 by Michael Niedermayer, 8 weeks ago

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.