#10336 closed defect (invalid)

Ultra low framerate issues

Reported by: Noitarud Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords: FPS
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description (last modified by Noitarud)

I have found two reasons to lower framerates to fractional: video is a title image only, or it is of a presentation (and moreso when the person is waving the camera around), it is irritating in the footage sections however.
I tested it with two music videos and I encountered some issues:

A) Video is no longer the correct length. Will have to scale it.
Video №1: original 4:53 @30FPS to 5:10 @0.2FPS, or to 5:20 @0.1FPS
Video №2: original 4:15 @23.976 to 4:30 @0.2FPS, or to 4:50 @0.1FPS
So recommend rounding the FPS up or down to suit the length if last frame cannot be shorter (if frame can be shorter, is not to impact B below, last frame central to regular size span or last frame).

B)Frame chosen as representative for the period is at the start of the span not the middle. Thus, if first frame is black then I see that for the first while. (A possible fairer way is the period spans shifted over by half a period and the first and last frames are always used and are up for half a period)

Quite sure I just used the -r 0.1 option only for this issue. Old version of FFM used (I did check older tickets in case someone had done it already) N-64167-gca35037.

Change History (14)

comment:1 by Noitarud, 12 months ago

Description: modified (diff)

comment:2 by Noitarud, 12 months ago

Description: modified (diff)

comment:3 by Noitarud, 12 months ago

Description: modified (diff)

comment:4 by Noitarud, 12 months ago

Description: modified (diff)

comment:5 by Noitarud, 12 months ago

Description: modified (diff)

comment:6 by Michael Koch, 12 months ago

Resolution: invalid
Status: newclosed

To make this a valid ticket, please show your command line and full console output.

comment:7 by Noitarud, 11 months ago

Judging by your response and your closing of the ticket instead of leaving it open to wait for my response, that you are actually are encouraging me to reopen tickets (I originally assumed I was rude to reopen).

comment:8 by Elon Musk, 11 months ago

Resolution: invalidwontfix

No real info provided.

comment:9 by Noitarud, 11 months ago

Commandline is how you would expect, give it a go with your music videos, its not limited to mine!

(For 0.1s shows two frames per 40 sec, second frame corresponds to 15s. I had to check 0.1FPS again because I noticed right clicking windows console during run startles it and it lists the line twice. If player of original file runs at 0.4× it plays video alongside the other)

and I don't think there was a console complaint, but heres another pass using one of the two above:
№2: original 4:15 @23.976 to 4:27 @0.3FPS

"C:\Program Files\GPAC\ffmpeg" -i "F:\Content.RED\Media\The Cranberries - Th

is Is The Day-ovxP45jJOdo.mp4" -r 0.3 e:\ou.mp4

ffmpeg version N-64167-gca35037 Copyright (c) 2000-2014 the FFmpeg developers

built on Jun 22 2014 22:02:17 with gcc 4.8.3 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av

isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-
libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libope
njpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsox
r --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab -
-enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
--enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-
libxavs --enable-libxvid --enable-decklink --enable-zlib

libavutil 52. 90.100 / 52. 90.100
libavcodec 55. 68.100 / 55. 68.100
libavformat 55. 44.100 / 55. 44.100
libavdevice 55. 13.101 / 55. 13.101
libavfilter 4. 9.100 / 4. 9.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'F:\Content.RED\Media\The Cranberries -
This Is The Day-ovxP45jJOdo.mp4':

Metadata:

major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2016-07-20 11:23:16

Duration: 00:04:15.05, start: 0.000000, bitrate: 703 kb/s

Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yu

v420p, 640x360 [SAR 1:1 DAR 16:9], 605 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.9
5 tbc (default)

Metadata:

handler_name : VideoHandler

Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 95

kb/s (default)

Metadata:

creation_time : 2016-07-20 11:23:19
handler_name : IsoMedia File Produced by Google, 5-11-2011

File 'e:\ou.mp4' already exists. Overwrite ? [y/N] y
[libx264 @ 02ebf640] using SAR=1/1
[libx264 @ 02ebf640] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64
[libx264 @ 02ebf640] profile High, level 2.2
[libx264 @ 02ebf640] 264 - core 142 r2431 ac76440 - H.264/MPEG-4 AVC codec - Cop
yleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deb
lock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 m
e_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chro
ma_qp_offset=-2 threads=3 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 i
nterlaced=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=2 keyint=250 keyint_min=1 scenecu
t=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0

qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00

[mp4 @ 02f9fa80] Using AVStream.codec.time_base as a timebase hint to the muxer
is deprecated. Set AVStream.time_base instead.

Last message repeated 1 times

Output #0, mp4, to 'e:\ou.mp4':

Metadata:

major_brand : mp42
minor_version : 0
compatible_brands: isommp42
encoder : Lavf55.44.100
Stream #0:0(und): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 6

40x360 [SAR 1:1 DAR 16:9], q=-1--1, 0.30 fps, 12288 tbn, 0.30 tbc (default)

Metadata:

handler_name : VideoHandler
encoder : Lavc55.68.100 libx264

Stream #0:1(und): Audio: aac (libvo_aacenc) ([64][0][0][0] / 0x0040), 44100

Hz, stereo, s16, 128 kb/s (default)

Metadata:

creation_time : 2016-07-20 11:23:19
handler_name : IsoMedia File Produced by Google, 5-11-2011
encoder : Lavc55.68.100 libvo_aacenc

Stream mapping:

Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (aac (native) -> aac (libvo_aacenc))

Press [q] to stop, ? for help
frame= 7 fps=0.0 q=0.0 size= 51kB time=00:00:13.19 bitrate= 31.4kbits/s
frame= 11 fps= 11 q=0.0 size= 258kB time=00:00:26.48 bitrate= 79.9kbits/s
frame= 15 fps=9.9 q=0.0 size= 452kB time=00:00:38.88 bitrate= 95.2kbits/s
frame= 18 fps=8.9 q=0.0 size= 655kB time=00:00:51.88 bitrate= 103.4kbits/s
frame= 22 fps=8.7 q=0.0 size= 856kB time=00:01:04.74 bitrate= 108.3kbits/s
frame= 26 fps=8.6 q=0.0 size= 1056kB time=00:01:17.56 bitrate= 111.6kbits/s
frame= 30 fps=8.5 q=0.0 size= 1253kB time=00:01:30.15 bitrate= 113.9kbits/s
frame= 34 fps=8.5 q=0.0 size= 1450kB time=00:01:42.78 bitrate= 115.6kbits/s

dup=0 drop=2418
[paused to copy, it overwrites the bottommost line]

frame= 37 fps=6.3 q=0.0 size= 1612kB time=00:01:53.11 bitrate= 116.7kbits/s

frame= 37 fps=2.6 q=0.0 size= 1612kB time=00:01:53.13 bitrate= 116.7kbits/s

frame= 40 fps=2.7 q=0.0 size= 1760kB time=00:02:02.61 bitrate= 117.6kbits/s
frame= 43 fps=2.8 q=0.0 size= 1958kB time=00:02:15.26 bitrate= 118.6kbits/s
frame= 47 fps=3.0 q=0.0 size= 2146kB time=00:02:27.31 bitrate= 119.3kbits/s
frame= 51 fps=3.1 q=17.0 size= 2341kB time=00:02:38.78 bitrate= 120.8kbits/
frame= 54 fps=3.2 q=17.0 size= 2571kB time=00:02:51.39 bitrate= 122.9kbits/
frame= 58 fps=3.4 q=17.0 size= 2800kB time=00:03:02.91 bitrate= 125.4kbits/
frame= 61 fps=3.4 q=17.0 size= 3015kB time=00:03:14.87 bitrate= 126.8kbits/
frame= 65 fps=3.6 q=17.0 size= 3238kB time=00:03:26.04 bitrate= 128.7kbits/
frame= 68 fps=3.6 q=17.0 size= 3468kB time=00:03:38.41 bitrate= 130.1kbits/
frame= 72 fps=3.7 q=17.0 size= 3706kB time=00:03:50.58 bitrate= 131.7kbits/
frame= 75 fps=3.8 q=17.0 size= 3891kB time=00:04:00.94 bitrate= 132.3kbits/
frame= 79 fps=3.9 q=17.0 size= 4114kB time=00:04:12.85 bitrate= 133.3kbits/
frame= 80 fps=3.7 q=-1.0 Lsize= 4883kB time=00:04:20.00 bitrate= 153.9kbits
/s dup=0 drop=6035
video:852kB audio:3986kB subtitle:0kB other streams:0kB global headers:0kB muxin
g overhead: 0.935958%
[libx264 @ 02ebf640] frame I:2 Avg QP: 3.89 size: 8607
[libx264 @ 02ebf640] frame P:77 Avg QP:11.48 size: 11101
[libx264 @ 02ebf640] frame B:1 Avg QP: 6.00 size: 19
[libx264 @ 02ebf640] consecutive B-frames: 97.5% 2.5% 0.0% 0.0%
[libx264 @ 02ebf640] mb I I16..4: 60.7% 20.4% 18.9%
[libx264 @ 02ebf640] mb P I16..4: 19.1% 36.5% 19.7% P16..4: 2.4% 0.5% 0.2%

0.0% 0.0% skip:21.5%

[libx264 @ 02ebf640] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 0.0% 0.0% 0.0%

direct: 0.0% skip:100.0%

[libx264 @ 02ebf640] 8x8 transform intra:47.6% inter:53.7%
[libx264 @ 02ebf640] coded y,uvDC,uvAC intra: 64.0% 78.3% 64.2% inter: 3.9% 8.0%

5.3%

[libx264 @ 02ebf640] i16 v,h,dc,p: 43% 31% 6% 21%
[libx264 @ 02ebf640] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 28% 16% 5% 5% 5% 6%

6% 7%

[libx264 @ 02ebf640] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 36% 11% 4% 6% 5% 6%

4% 4%

[libx264 @ 02ebf640] i8c dc,h,v,p: 36% 35% 18% 11%
[libx264 @ 02ebf640] Weighted P-Frames: Y:1.3% UV:1.3%
[libx264 @ 02ebf640] ref P L0: 54.3% 1.4% 32.1% 12.2%
[libx264 @ 02ebf640] kb/s:26.16

comment:10 by Noitarud, 11 months ago

Resolution: wontfix
Status: closedreopened

I was still working on it!

comment:11 by Michael Koch, 11 months ago

Your FFmpeg version is from 2014, that's antique.

comment:12 by Noitarud, 11 months ago

They are no longer putting the latest source into a compiler for use on windows xp :(

comment:13 by Noitarud, 11 months ago

If the bug busters incorporate something I need I will have to try using it on a Linux livecd. Or maybe they can make an android version :P

in reply to:  12 comment:14 by Michael Koch, 11 months ago

Resolution: invalid
Status: reopenedclosed

Replying to Noitarud:

They are no longer putting the latest source into a compiler for use on windows xp :(

Get a more recent operating system. You won't get any support here for a 9 years old FFmpeg version.

Note: See TracTickets for help on using tickets.