[FFmpeg-devel] [FFmpeg-cvslog] ffv1dec: use dedicated pix_fmt field and call ff_get_format

Michael Niedermayer michael at niedermayer.cc
Fri Jan 24 23:54:41 EET 2025


On Tue, Jan 21, 2025 at 03:10:47PM +0000, Lynne wrote:
> ffmpeg | branch: master | Lynne <dev at lynne.ee> | Sun Jan  5 13:42:47 2025 +0900| [7187eadf8c0f0c640f1d23811c55fad0cba60aa5] | committer: Lynne
> 
> ffv1dec: use dedicated pix_fmt field and call ff_get_format
> 
> Adding support for hwaccels means that avctx->pix_fmt will indicate
> hardware formats.
> 
> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7187eadf8c0f0c640f1d23811c55fad0cba60aa5
> ---
> 
>  libavcodec/ffv1.h    |   1 +
>  libavcodec/ffv1dec.c | 140 ++++++++++++++++++++++++++++-----------------------
>  2 files changed, 78 insertions(+), 63 deletions(-)

breaks:
./ffmpeg -y  -i mm-short.mpg -an -vcodec ffv1 -slices 4 -t 1 -coder 1 -level 3 -slicecrc 0 -context 0 -pix_fmt ya8 -bitexact out.nut
./ffplay out.nut

(and others)
slices seem to decode in the wrong locations and jump randomly around

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The difference between a dictatorship and a democracy is that every 4 years
the population together is allowed to provide 1 bit of input to the government.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250124/ada132e0/attachment.sig>


More information about the ffmpeg-devel mailing list