Duration 00:00:00:30 should just be 00:00:01:00 for 30fps videos, no?

What is your operating system?
Ubuntu 20.04

What is your Shotcut version (see Help > About Shotcut)? Is it 32-bit?
20.11.28

Can you repeat the problem? If so, what are the steps?

Add any clip. Double-click the corner to add a fade. Open filters. Look at Fade In Video. It shows 00:00:00:30, like this:

Now click the + button to increase this duration. One click will change it to 00:00:01:00. However, this doesn’t really make any sense, does it? 00:00:00:30 is 30 frames, and this is 30 frames per second, so how are 00:00:00:30 and 00:00:01:00 any different at all?

It seems to me this should be 00:00:00:29 max, and then one click up from there should change to 00:00:01:00.

it depends on your project’s frame rate. You seem to assume it is 30 or 29.97 fps. From a different bug report you showed me a project frame rate of 30.022511 because you used Automatic Video Mode. When I change my project frame rate to that, then I reproduce what you are seeing, but it is correct behavior and not a bug.

1 Like

Yeah, I can’t figure out why my Video mode is showing frame rate of 30.022511 either.

mediainfo output shows it to be only 30.000 fps:

$ mediainfo "Fix_mouse_wheel_encoder_PXL_20201213_174123620 - Converted.mov" 
General
Complete name                            : Fix_mouse_wheel_encoder_PXL_20201213_174123620 - Converted.mov
Format                                   : MPEG-4
Commercial name                          : DNxHR HQ
Format profile                           : QuickTime
Codec ID                                 : qt   0000.02 (qt  )
File size                                : 70.2 GiB
Duration                                 : 45 min 29 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 221 Mb/s
Encoded date                             : UTC 2020-12-13 17:41:23
Tagged date                              : UTC 2020-12-13 17:41:23
Writing application                      : Lavf58.29.100

Video
ID                                       : 2
Format                                   : VC-3
Commercial name                          : DNxHR HQ
Format version                           : Version 3
Format profile                           : RI@HQ
Codec ID                                 : AVdh
Codec ID/Info                            : Avid DNxHR
Duration                                 : 45 min 29 s
Bit rate mode                            : Constant
Bit rate                                 : 220 Mb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 30.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:2
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 3.540
Stream size                              : 70.0 GiB (100%)
Title                                    : VideoHandle
Language                                 : English
Encoded date                             : UTC 2020-12-13 17:41:23
Tagged date                              : UTC 2020-12-13 17:41:23

Audio
ID                                       : 1
Format                                   : ALAC
Codec ID                                 : alac
Codec ID/Info                            : Apple Lossless Audio Codec
Duration                                 : 45 min 29 s
Bit rate mode                            : Variable
Bit rate                                 : 603 kb/s
Channel(s)                               : 1 channel
Channel layout                           : C
Sampling rate                            : 48.0 kHz
Stream size                              : 196 MiB (0%)
Title                                    : SoundHandle
Language                                 : English
Default                                  : Yes
Alternate group                          : 1
Encoded date                             : UTC 2020-12-13 17:41:23
Tagged date                              : UTC 2020-12-13 17:41:23


But, if that’s the issue then yes I suppose that behavior does make sense. If you want the video I can share it via a shared link.

You showed me a file that was converted by Shotcut. The docs clearly say that Automatic will be based on the first file you add to the project. You probably added a Fix_mouse_wheel_encoder_PXL_20201213_174123620.mp4 before converting that is not perfectly 30 fps. In fact, given that odd frame rate, more than likely it was variable frame rate. One of the things the converter does is convert to a fixed frame rate, and 30 fps was what it chose. But file replacement after a conversion does not alter the project video mode. Once actual video mode is established in Automatic mode, it is set for the project until you change it. So, why don’t you change it?

So, why don’t you change it?

This warning scared me away (and I don’t know what I’m doing–but mostly the warning):

If you try to change it later Shotcut will try to retain the timing of edits, but some users have reported problems, and it is risky.

Here’s the original video:

$ mediainfo "Fix_mouse_wheel_encoder_PXL_20201213_174123620.mp4" 
General
Complete name                            : Fix_mouse_wheel_encoder_PXL_20201213_174123620.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (isom/mp42)
File size                                : 7.02 GiB
Duration                                 : 45 min 29 s
Overall bit rate                         : 22.1 Mb/s
Encoded date                             : UTC 2020-12-13 17:41:23
Tagged date                              : UTC 2020-12-13 17:41:23

Video
ID                                       : 2
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings                          : CABAC / 1 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 1 frame
Format settings, GOP                     : M=1, N=30
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 45 min 29 s
Bit rate                                 : 22.0 Mb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Rotation                                 : 180°
Frame rate mode                          : Variable
Frame rate                               : 30.000 FPS
Minimum frame rate                       : 10.009 FPS
Maximum frame rate                       : 40.071 FPS
Standard                                 : NTSC
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.353
Stream size                              : 6.99 GiB (100%)
Title                                    : VideoHandle
Language                                 : English
Encoded date                             : UTC 2020-12-13 17:41:23
Tagged date                              : UTC 2020-12-13 17:41:23
Color range                              : Full
Color primaries                          : BT.601 NTSC
Transfer characteristics                 : BT.601
Matrix coefficients                      : BT.601
Codec configuration box                  : avcC

Audio
ID                                       : 1
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 45 min 29 s
Bit rate mode                            : Constant
Bit rate                                 : 96.0 kb/s
Channel(s)                               : 1 channel
Channel layout                           : C
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 31.2 MiB (0%)
Title                                    : SoundHandle
Language                                 : English
Encoded date                             : UTC 2020-12-13 17:41:23
Tagged date                              : UTC 2020-12-13 17:41:23

Yes, it’s variable, as you said:

Frame rate mode                          : Variable
Frame rate                               : 30.000 FPS
Minimum frame rate                       : 10.009 FPS
Maximum frame rate                       : 40.071 FPS

Things have improved a lot in that regard in the past 6 months, but some things take time to demonstrate improvement. Documentation is almost always delayed partly because many people delay upgrading (but mostly because it is an afterthought for projects with very limited resources/contribution). You can try it; changing it does not imply saving it that way.

1 Like

I went to Settings --> Video Mode --> HD 1080p 60fps to change it:

.

I’m going to be doing a ton of 3x to 5x fast forwarding during the video, so I’m guessing that 60fps will be achievable since I’m condensing 30fps video like this?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.