<br><br>On Friday, May 27, 2022, Andrea paz <<a href="mailto:gamberucci.andrea@gmail.com">gamberucci.andrea@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> 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.<br>
><br>
> 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?<br>
<br>
I have AMD hardware (CPU + GPU).<br>
I tried rendering in CinGG a project in h264_vaapi/mp4. Then from<br>
external terminal I used ffmpeg to convert the file to h264/mkv. The<br>
conversion went well and the resulting file is viewable in mpv.<br>
<br>
> unfortunately cin on termux segfaults with this opt file:<br>
>  mp4 libx264 | h264_metadata=crop_left=20:<wbr>crop_right=20<br>
> # use framerate for 1 keyframe/sec, needed for seeks<br>
> keyint_min=25<br>
> x264-params keyint=25<br>
<br>
I tried the opt file you suggested and it works fine. I attach the<br>
preset. From earlier I had tried the copy/paste from your email, but<br>
the line:<br>
mp4 libx264 | h264_metadata=crop_left=20:<wbr>crop_right=20<br>
leads to a dump; instead by going to new line:<br>
mp4 libx264<br>
h264_metadata=crop_left=20:<wbr>crop_right=20<br>
it works well.<br>
</blockquote><div><br></div><div><br></div><div>it works, but without cropping (mediainfo shows same dimensions) ..... and whole point of this test was to test bitstream filtering ..... </div><div><br></div><div>can you check resulting file? </div>