<br><br>On Thursday, May 26, 2022, Andrew Randrianasulu <<a href="mailto:randrianasulu@gmail.com">randrianasulu@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><br>On Thursday, May 26, 2022, Phyllis Smith via Cin <<a href="mailto:cin@lists.cinelerra-gg.org" target="_blank">cin@lists.cinelerra-gg.org</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">Checked these 2 into GIT after testing. About the following:<br></div></div><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Instead "h264_vaapi.mkv" gives me error and no rendering.<br>
<br>
Error message popup:<br>
"error rendering data"<br>
<br>
On terminal:<br>
FFMPEG::encode_activate: write header failed /home/paz/vaapi_test.mkv<br>
err: Invalid data found when processing input<br>
Render::render_single: Session finished.<br></blockquote><div><br></div><div style="font-size:small" class="gmail_default">I added a message to the format to state that the mkv "only works on computer that has vaapi capable software and hardware". I got the same error message as Andrew on my AMD laptop that does not handle vaapi, but an old HP laptop has it working. Not exactly sure that is the correct reason but it is all I could think of. Correct me if I am wrong.<br></div></div></div></blockquote><div><br></div><div>may be mkv muxer in ffmpeg more strict (or buggy)? </div><div><br></div><div>if you try to re-mux vaapi-encoded h264 mp4 into mkv with ffmpeg -i file.mp4 -c:v copy (..other params) file.mkv - does it work? </div></blockquote><div><br></div><div><br></div><div>at least for some user it was not working in ~2020... may be AMD driver/firmware need some support? </div><div><br></div><div><br></div><div><a href="https://forums.gentoo.org/viewtopic-t-1107846-start-0.html">https://forums.gentoo.org/viewtopic-t-1107846-start-0.html</a></div>