Hello @Jezaus.Tevas
Please double check on your side or provide your test method to reproduce the fps issue.
Just checked on my side with a H264 60fps video decoding & encoding to H264 & H265 format then mux to mp4 format, then fps is correct.
H264 encoding:
gst-launch-1.0 filesrc location=./bbb_sunflower_1080p_60fps_normal.mp4 num-buffers=3000 ! qtdemux name=d d.video_0 ! h264parse ! mppvideodec ! video/x-raw,format=NV12 ! mpph264enc ! h264parse ! qtmux ! filesink location=./h264dec-h264.mp4
H265 encoding:
gst-launch-1.0 filesrc location=./bbb_sunflower_1080p_60fps_normal.mp4 num-buffers=3000 ! qtdemux name=d d.video_0 ! h264parse ! mppvideodec ! video/x-raw,format=NV12 ! mpph265enc ! h265parse ! qtmux ! filesink location=./h264dec-h265.mp4
Check encoding file fps:
H264:
$ ffprobe /tmp/h264dec-h264.mp4
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/tmp/h264dec-h264.mp4':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2022-12-12T01:48:12.000000Z
artist : Blender Foundation 2008, Janus Bager Kristensen 2013
comment : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net
composer : Sacha Goedegebure
genre : Animation
title : Big Buck Bunny, Sunflower version
Duration: 00:00:22.53, start: 0.000000, bitrate: 13608 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(bt709, progressive), 1920x1080, 13605 kb/s, SAR 1:1 DAR 16:9, 59.96 fps, 60 tbr, 6k tbn, 60 tbc (default)
Metadata:
creation_time : 2022-12-12T01:48:12.000000Z
handler_name : VideoHandler
vendor_id : [0][0][0][0]
H265:
$ ffprobe /tmp/h264dec-h265.mp4
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/tmp/h264dec-h265.mp4':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2022-12-12T01:48:38.000000Z
artist : Blender Foundation 2008, Janus Bager Kristensen 2013
comment : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net
composer : Sacha Goedegebure
genre : Animation
title : Big Buck Bunny, Sunflower version
Duration: 00:00:22.53, start: 0.000000, bitrate: 13369 kb/s
Stream #0:0(und): Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv, progressive), 1920x1080, 13366 kb/s, SAR 1:1 DAR 16:9, 59.96 fps, 60 tbr, 6k tbn, 30 tbc (default)
Metadata:
creation_time : 2022-12-12T01:48:38.000000Z
handler_name : VideoHandler
vendor_id : [0][0][0][0]
The fps is 60.