ffv1 in mkv in ffmpeg 8.1 seems to be busted :(
As Andrea noted ffv1.mkv preset no longer works, file encodes but crash cingg on reimport. ffmpeg itself behaves .. strange ffmpeg -i zeldaHQ.flv -c:v ffv1 -default_mode 0 -frames 100 mkv_tedt.mkv -loglevel debug only muxes 3 frames? [matroska @ 0xb400007a8916a870] stream 1 end duration = 336 [AVIOContext @ 0xb400007a59164790] Statistics: 33361 bytes written, 0 seeks, 1 writeouts [out#0/matroska @ 0xb400007a39163010] Output file #0 (mkv_tedt.mkv): [out#0/matroska @ 0xb400007a39163010] Output stream #0:0 (video): 3 frames encoded; 3 packets muxed (27141 bytes); [out#0/matroska @ 0xb400007a39163010] Output stream #0:1 (audio): 112 frames encoded (7147 samples); 19 packets muxed (1905 bytes); ---- but same command with -an (no audio) muxes all 100 frames ?! vp8/vp9/theora mkv profiles seems to be unaffected
вс, 28 июн. 2026 г., 15:40 Andrew Randrianasulu <randrianasulu@gmail.com>:
As Andrea noted
ffv1.mkv preset no longer works, file encodes but crash cingg on reimport.
ffmpeg itself behaves .. strange
ffmpeg -i zeldaHQ.flv -c:v ffv1 -default_mode 0 -frames 100 mkv_tedt.mkv -loglevel debug
only muxes 3 frames?
ah, this one was due to misuse of frames, now it must be -frames:v but ffv1 mov also failed, as well as ffmpeg (cli) encoded ffv1 mkv but adding coder=ac range_mode=off qtable=8bit allowed encoded file to import. slowly (160*120! slow!)
[matroska @ 0xb400007a8916a870] stream 1 end duration = 336
[AVIOContext @ 0xb400007a59164790] Statistics: 33361 bytes written, 0 seeks, 1 writeouts [out#0/matroska @ 0xb400007a39163010] Output file #0 (mkv_tedt.mkv): [out#0/matroska @ 0xb400007a39163010] Output stream #0:0 (video): 3 frames encoded; 3 packets muxed (27141 bytes);
[out#0/matroska @ 0xb400007a39163010] Output stream #0:1 (audio): 112 frames encoded (7147 samples); 19 packets muxed (1905 bytes);
----
but same command with -an (no audio) muxes all 100 frames ?!
vp8/vp9/theora mkv profiles seems to be unaffected
вс, 28 июн. 2026 г., 16:03 Andrew Randrianasulu <randrianasulu@gmail.com>:
вс, 28 июн. 2026 г., 15:40 Andrew Randrianasulu <randrianasulu@gmail.com>:
As Andrea noted
ffv1.mkv preset no longer works, file encodes but crash cingg on reimport.
ffmpeg itself behaves .. strange
ffmpeg -i zeldaHQ.flv -c:v ffv1 -default_mode 0 -frames 100 mkv_tedt.mkv -loglevel debug
only muxes 3 frames?
ah, this one was due to misuse of frames, now it must be
-frames:v
but ffv1 mov also failed, as well as ffmpeg (cli) encoded ffv1 mkv
but adding
coder=ac range_mode=off qtable=8bit
allowed encoded file to import. slowly (160*120! slow!)
ah, it was vulkan over lavapipe that was slow and crashy! setting hw accel to none fixed that SPIR-V WARNING: In file ../src/src/compiler/spirv/vtn_cfg.c:147 Function parameter Decoration not handled: SpvDecorationNonWritable 57132 bytes into the SPIR-V binary this was clue about vulkan/lavapipe use, I forgot about At least now it works,as in renders in ffv1_user.mkv and reimports fine.
[matroska @ 0xb400007a8916a870] stream 1 end duration = 336
[AVIOContext @ 0xb400007a59164790] Statistics: 33361 bytes written, 0 seeks, 1 writeouts [out#0/matroska @ 0xb400007a39163010] Output file #0 (mkv_tedt.mkv): [out#0/matroska @ 0xb400007a39163010] Output stream #0:0 (video): 3 frames encoded; 3 packets muxed (27141 bytes);
[out#0/matroska @ 0xb400007a39163010] Output stream #0:1 (audio): 112 frames encoded (7147 samples); 19 packets muxed (1905 bytes);
----
but same command with -an (no audio) muxes all 100 frames ?!
vp8/vp9/theora mkv profiles seems to be unaffected
Thanks, Andrew. When I disable Vulkan, the rendering works. To avoid errors, you have to use yuv422p instead of the default yuv420p. But if you play around with the settings, there's probably a way to make it work.
participants (2)
-
Andrea paz -
Andrew Randrianasulu