Desperately trying to export "smooth" video based on 2.7k input file

Hi

I am trying to export a video based on a 50fps 2.7k GoPro input file. The input file looks very smooth when directly played with VLC (as you would expect from 50fps footage).

However - with whatever option I export it (I also used the lossless H.264 export preset), the exported mp4 file (see the export settings and the MLT file below), does not look smooth (although I render with 50fps), and somehow looks like a below 25fps or a low quality rendering.

The rendered file is here, the raw input file is here.

Find the rendering log and xml below too.

I am using shotcut 18.10.08 on Windows 10.

Any help appreciated.

– Christoph

(1) JOB XML

<?xml version='1.0' encoding='utf-8'?>
<mlt LC_NUMERIC="en_GB" producer="main_bin" root="C:\Users\musician\Desktop\Video projects\2018-09-11 Dufour die Zweite" version="6.11.0" title="Shotcut version 18.10.08">
  <profile description="HD 1080p 25 fps" height="1080" frame_rate_den="1" width="1920" sample_aspect_den="1" display_aspect_den="9" frame_rate_num="25" sample_aspect_num="1" progressive="1" display_aspect_num="16" colorspace="709"/>
  <consumer bf="3" ab="384k" vcodec="libx264" target="test export.mp4" f="mp4" rescale="bilinear" g="125" height="1080" progressive="1" crf="21" deinterlace_method="yadif" acodec="aac" width="1920" ar="48000" threads="0" frame_rate_den="1000000" frame_rate_num="50000000" movflags="+faststart" channels="2" real_time="-4" mlt_service="avformat" top_field_first="2" aspect="1.77778" preset="faster"/>
  <playlist id="main_bin" autoclose="1">
    <property name="xml_retain">1</property>
  </playlist>
  <producer in="00:00:00.000" id="black" out="00:00:03.440">
    <property name="length">87</property>
    <property name="eof">pause</property>
    <property name="resource">black</property>
    <property name="aspect_ratio">1</property>
    <property name="mlt_service">color</property>
    <property name="set.test_audio">0</property>
  </producer>
  <playlist id="background" autoclose="1">
    <entry producer="black" in="00:00:00.000" out="00:00:03.440"/>
  </playlist>
  <producer in="00:00:00.000" id="producer125" title="Anonymous Submission" out="00:00:20.560">
    <property name="length">00:00:20:15</property>
    <property name="eof">pause</property>
    <property name="resource">GOPR0925.MP4</property>
    <property name="audio_index">1</property>
    <property name="video_index">0</property>
    <property name="mute_on_pause">0</property>
    <property name="mlt_service">avformat-novalidate</property>
    <property name="seekable">1</property>
    <property name="aspect_ratio">1</property>
    <property name="shotcut:hash">1ea734c0bf6a363deedea9d0b45a6af8</property>
    <property name="global_feed">1</property>
    <property name="xml">was here</property>
    <property name="ignore_points">0</property>
    <property name="shotcut:caption">GOPR0925.MP4</property>
    <property name="shotcut:detail">GOPR0925.MP4</property>
  </producer>
  <playlist id="playlist0" autoclose="1">
    <property name="shotcut:video">1</property>
    <property name="shotcut:name">V1</property>
    <entry producer="producer125" in="00:00:08.920" out="00:00:12.360"/>
  </playlist>
  <tractor in="00:00:00.000" id="tractor18" title="Shotcut version 18.10.08" global_feed="1" out="00:00:03.440">
    <property name="shotcut">1</property>
    <property name="shotcut:projectAudioChannels">2</property>
    <property name="shotcut:scaleFactor">2.64583</property>
    <track producer="background"/>
    <track producer="playlist0"/>
    <transition id="transition0">
      <property name="a_track">0</property>
      <property name="b_track">1</property>
      <property name="mlt_service">mix</property>
      <property name="always_active">1</property>
      <property name="sum">1</property>
    </transition>
    <transition id="transition1">
      <property name="a_track">1</property>
      <property name="b_track">1</property>
      <property name="version">0.9</property>
      <property name="mlt_service">frei0r.cairoblend</property>
      <property name="disable">1</property>
    </transition>
  </tractor>
</mlt>

(2) JOB LOG

Job Log

[libx264 @ 0000000005b6a080] using SAR=1/1
[libx264 @ 0000000005b6a080] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
[libx264 @ 0000000005b6a080] profile High, level 4.2
[libx264 @ 0000000005b6a080] 264 - core 155 r2917 0a84d98 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - (videolan link [replaced]) - options: cabac=1 ref=2 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=4 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=12 lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=125 keyint_min=12 scenecut=40 intra_refresh=0 rc_lookahead=20 rc=crf mbtree=1 crf=21.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[h264 @ 000000000a9b9f80] Reinit context to 2704x1520, pix_fmt: yuvj420p
[h264 @ 000000000ae6c300] Reinit context to 2704x1520, pix_fmt: yuvj420p
[h264 @ 000000000ae70a00] Reinit context to 2704x1520, pix_fmt: yuvj420p
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[producer avformat-novalidate] GOPR0925.MP4
checking VFR: pkt.duration 1800
[h264 @ 00000000214a7980] Reinit context to 2704x1520, pix_fmt: yuvj420p
[mp4 @ 00000000057b8600] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[mp4 @ 00000000057b8600] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[h264 @ 00000000214a7980] Reinit context to 2704x1520, pix_fmt: yuvj420p
Current Frame: 75, percentage: 86
Current Frame: 76, percentage: 87
Current Frame: 77, percentage: 88
Current Frame: 79, percentage: 90
Current Frame: 80, percentage: 91
Current Frame: 81, percentage: 93
Current Frame: 83, percentage: 95
Current Frame: 84, percentage: 96
Current Frame: 85, percentage: 97
Current Frame: 86, percentage: 98

[mp4 @ 00000000057b8600] Starting second pass: moving the moov atom to the beginning of the file
[libx264 @ 0000000005b6a080] frame I:2 Avg QP:20.74 size:121348
[libx264 @ 0000000005b6a080] frame P:45 Avg QP:22.23 size: 29226
[libx264 @ 0000000005b6a080] frame B:126 Avg QP:24.13 size: 4082
[libx264 @ 0000000005b6a080] consecutive B-frames: 1.2% 4.6% 1.7% 92.5%
[libx264 @ 0000000005b6a080] mb I I16…4: 24.3% 38.5% 37.2%
[libx264 @ 0000000005b6a080] mb P I16…4: 10.1% 12.5% 0.7% P16…4: 36.0% 13.5% 3.1% 0.0% 0.0% skip:24.1%
[libx264 @ 0000000005b6a080] mb B I16…4: 0.8% 0.5% 0.0% B16…8: 13.7% 1.5% 0.0% direct: 8.7% skip:74.8% L0:28.8% L1:67.4% BI: 3.8%
[libx264 @ 0000000005b6a080] 8x8 transform intra:49.7% inter:54.7%
[libx264 @ 0000000005b6a080] coded y,uvDC,uvAC intra: 37.2% 36.7% 2.2% inter: 9.2% 6.5% 0.0%
[libx264 @ 0000000005b6a080] i16 v,h,dc,p: 37% 35% 14% 14%
[libx264 @ 0000000005b6a080] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 11% 35% 30% 4% 3% 2% 5% 2% 7%
[libx264 @ 0000000005b6a080] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 32% 11% 7% 7% 5% 8% 5% 10%
[libx264 @ 0000000005b6a080] i8c dc,h,v,p: 60% 28% 10% 3%
[libx264 @ 0000000005b6a080] Weighted P-Frames: Y:22.2% UV:0.0%
[libx264 @ 0000000005b6a080] ref P L0: 86.9% 13.1%
[libx264 @ 0000000005b6a080] ref B L0: 89.3% 10.7%
[libx264 @ 0000000005b6a080] ref B L1: 99.2% 0.8%
[libx264 @ 0000000005b6a080] kb/s:4791.17
[aac @ 000000000a9bb7c0] Qavg: 743.873
Completed successfully in 00:00:11

(3) MLT FILE

MLT FILE
<?xml version="1.0" encoding="utf-8"?>
<mlt LC_NUMERIC="en_GB" version="6.11.0" title="Shotcut version 18.10.08" producer="main_bin">
  <profile description="HD 1080p 25 fps" width="1920" height="1080" progressive="1" sample_aspect_num="1" sample_aspect_den="1" display_aspect_num="16" display_aspect_den="9" frame_rate_num="25" frame_rate_den="1" colorspace="709"/>
  <playlist id="main_bin">
    <property name="xml_retain">1</property>
  </playlist>
  <producer id="black" in="00:00:00.000" out="00:00:03.440">
    <property name="length">87</property>
    <property name="eof">pause</property>
    <property name="resource">C:\Users\musician\Desktop\Video projects\2018-09-11 Dufour die Zweite/black</property>
    <property name="aspect_ratio">1</property>
    <property name="mlt_service">color</property>
    <property name="set.test_audio">0</property>
  </producer>
  <playlist id="background">
    <entry producer="black" in="00:00:00.000" out="00:00:03.440"/>
  </playlist>
  <producer id="producer125" title="Anonymous Submission" in="00:00:00.000" out="00:00:20.560">
    <property name="length">00:00:20:15</property>
    <property name="eof">pause</property>
    <property name="resource">GOPR0925.MP4</property>
    <property name="audio_index">1</property>
    <property name="video_index">0</property>
    <property name="mute_on_pause">0</property>
    <property name="mlt_service">avformat-novalidate</property>
    <property name="seekable">1</property>
    <property name="aspect_ratio">1</property>
    <property name="shotcut:hash">1ea734c0bf6a363deedea9d0b45a6af8</property>
    <property name="global_feed">1</property>
    <property name="xml">was here</property>
    <property name="ignore_points">0</property>
    <property name="shotcut:caption">GOPR0925.MP4</property>
    <property name="shotcut:detail">GOPR0925.MP4</property>
  </producer>
  <playlist id="playlist0">
    <property name="shotcut:video">1</property>
    <property name="shotcut:name">V1</property>
    <entry producer="producer125" in="00:00:08.920" out="00:00:12.360"/>
  </playlist>
  <tractor id="tractor18" title="Shotcut version 18.10.08" global_feed="1" in="00:00:00.000" out="00:00:03.440">
    <property name="shotcut">1</property>
    <property name="shotcut:projectAudioChannels">2</property>
    <property name="shotcut:scaleFactor">2.64583</property>
    <track producer="background"/>
    <track producer="playlist0"/>
    <transition id="transition0">
      <property name="a_track">0</property>
      <property name="b_track">1</property>
      <property name="mlt_service">mix</property>
      <property name="always_active">1</property>
      <property name="sum">1</property>
    </transition>
    <transition id="transition1">
      <property name="a_track">1</property>
      <property name="b_track">1</property>
      <property name="version">0.9</property>
      <property name="mlt_service">frei0r.cairoblend</property>
      <property name="disable">1</property>
    </transition>
  </tractor>
</mlt>

There is your problem. Use Settings > Video Mode to set something closer to what you want.

Hi Dan;

Thanks for that hint. (Interestingly, when creating the “non-smooth” export, I selected an export preset with 50 fps before exporting). I wasn’t aware that “Settings > Video Mode” could have an effect on the video export.

I am checking now whether your suggestion solves the problem. I also had the impression that on my machine, selecting an export preset did not always work properly. Will let you know the result…

– Christoph

Hi Dan

Thanks for your quick response!

Below find the steps I have done, which lead (on my system) to a wrongly displayed text filter. I assume that the issues with the frame rate is also somehow related to it.

Is there anything I am doing wrong here?

Best regards,
– Christoph

Step 1: Open file “(1) Start file” with shotcut 18.10.08; start viewing the timeline

  => the title is properly displayed in the middle of the screen

 (the file contains the following profile:
 )

Step 2: In Settings > Video mode, I select “UHD 2160p 50 fps”; then I store the file (this yields file “(2) Change display profile to 50fps”) and shutdown shotcut

  => in the saved file's profile, width/height/frame_rate are adjusted, but the profile description is not adjusted:

Step 3: shutdown shotcut and open file “(2) Change display profile to 50fps”
=> the title is shown at a different place and the timeline clip shows a different part of the clip

(1) Start file.mlt (10.3 KB)
(2) Change display profile to 50fps.mlt (10.3 KB)

If you change the video resolution of your project Shotcut does not automatically reposition things and resize things that have been resized. You need to do that. Changing Video Mode in the middle of a project is not recommended. You need to entirely review the project if you do so. Here is a better idea: set the desired Video Mode before you start the project. Automatic works for many people that start with their primary camera footage but not for everyone. Certainly not if you start with music, images, or some crap video you downloaded from the Internet.

the profile description is not adjusted

That is not important.

Hi Dan

Thanks for the response; I’ll take more care when adjusting settings after a project has been created.

Maybe shotcut could show a warning message if someone tries to change the video settings in the middle of a project and make the user aware that the stuff needs to be checked manually.

Best regards,
– Christoph

I agree and plan to do that.

This topic was automatically closed after 90 days. New replies are no longer allowed.