Tämän ffmpeg-ohjelman kanssa touhuainen tarjoaa aina yllätyksiä. Oikeita asetuksia ei tahdo millään löytää. Kokeilin viimeisen ohjeen mukaista komentojonoa kuvanopeusarvoilla 25 fps ja 30 fps, mutta kaikilla nopeuksilla tulee paljon virheilmoituksia. Laitan tähän loppuun pätkän muutamista virheilmoituksista, mitä molemmilla kuvanopeuksilla tuli esiin.
Framerate 30
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
[x11grab @ 0x55dcc40f93c0] Stream #0: not enough frames to estimate rate; consider increasing probesize
Input #0, x11grab, from ':0.0':
Duration: N/A, start: 1748451677.477209, bitrate: 1990656 kb/s
Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1920x1080, 1990656 kb/s, 30 fps, 1000k tbr, 1000k tbn, 1000k tbc
Guessed Channel Layout for Input Stream #1.0 : stereo
Input #1, pulse, from 'alsa_output.pci-0000_11_01.0.analog-stereo.monitor':
Duration: N/A, start: 1748451677.513838, bitrate: 1536 kb/s
Stream #1:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
File 'kaappaus.mp4' already exists. Overwrite? [y/N] y
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
Stream #1:0 -> #0:1 (pcm_s16le (native) -> aac (native))
Press [q] to stop, [?] for help
[libx264 @ 0x55dcc4120440] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64
[libx264 @ 0x55dcc4120440] profile High 4:4:4 Predictive, level 4.0, 4:4:4, 8-bit
[libx264 @ 0x55dcc4120440] 264 - core 163 r3060 5db6aa6 - H.264/MPEG-4 AVC codec - Copyleft 2003-2021 - http://www.videolan.org/x264.html - options: cabac=1 ref=2 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=6 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=4 threads=6 lookahead_threads=1 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=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=30 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[pulse @ 0x55dcc4103f00] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
Output #0, mp4, to 'kaappaus.mp4':
Metadata:
encoder : Lavf58.76.100
Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv444p(tv, progressive), 1920x1080, q=2-31, 30 fps, 15360 tbn
Metadata:
encoder : Lavc58.134.100 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 160 kb/s
Metadata:
encoder : Lavc58.134.100 aac
frame= 1 fps=0.0 q=0.0 size= 0kB time=00:00:00.25 bitrate= 1.5kbits/sMore than 1000 frames duplicated
frame=10820 fps= 33 q=29.0 size= 15872kB time=00:05:59.23 bitrate= 361.9kbits/[aac @ 0x55dcc41221c0] Queue input is backward in time
[mp4 @ 0x55dcc411e940] Non-monotonous DTS in output stream 0:1; previous: 16738923, current: 16331782; changing to 16738924. This may result in incorrect timestamps in the output file.
[mp4 @ 0x55dcc411e940] Non-monotonous DTS in output stream 0:1; previous: 16738924, current: 16332806; changing to 16738925. This may result in incorrect timestamps in the output file.
[mp4 @ 0x55dcc411e940] Non-monotonous DTS in output stream 0:1; previous: 16738925, current: 16333830; changing to 16738926. This may result in incorrect timestamps in the output file.
[mp4 @ 0x55dcc411e940] Non-monotonous DTS in output stream 0:1; previous: 16738926, current: 16334854; changing to 16738927. This may result in incorrect timestamps in the output file.
[mp4 @ 0x55dcc411e940] Non-monotonous DTS in output stream 0:1; previous: 16738927, current: 16335878; changing to 16738928. This may result in incorrect timestamps in the output file.
[mp4 @ 0x55dcc411e940] Non-monotonous DTS in output stream 0:1; previous: 16738928, current: 16336902; changing to 16738929. This may result in incorrect timestamps in the output file.
Framerate 25
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
[x11grab @ 0x558d8b98b3c0] Stream #0: not enough frames to estimate rate; consider increasing probesize
Input #0, x11grab, from ':0.0':
Duration: N/A, start: 1748453364.854009, bitrate: 1658880 kb/s
Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1920x1080, 1658880 kb/s, 25 fps, 1000k tbr, 1000k tbn, 1000k tbc
Guessed Channel Layout for Input Stream #1.0 : stereo
Input #1, pulse, from 'alsa_output.pci-0000_11_01.0.analog-stereo.monitor':
Duration: N/A, start: 1748453364.890813, bitrate: 1536 kb/s
Stream #1:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
Stream #1:0 -> #0:1 (pcm_s16le (native) -> aac (native))
Press [q] to stop, [?] for help
[libx264 @ 0x558d8b9b1f80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64
[libx264 @ 0x558d8b9b1f80] profile High 4:4:4 Predictive, level 4.0, 4:4:4, 8-bit
[libx264 @ 0x558d8b9b1f80] 264 - core 163 r3060 5db6aa6 - H.264/MPEG-4 AVC codec - Copyleft 2003-2021 - http://www.videolan.org/x264.html - options: cabac=1 ref=2 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=6 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=4 threads=6 lookahead_threads=1 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=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=30 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'kaappaus.mp4':
Metadata:
encoder : Lavf58.76.100
Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv444p(tv, progressive), 1920x1080, q=2-31, 25 fps, 12800 tbn
Metadata:
encoder : Lavc58.134.100 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 160 kb/s
Metadata:
encoder : Lavc58.134.100 aac
frame= 1 fps=0.0 q=0.0 size= 0kB time=00:00:00.25 bitrate= 1.5kbits/s[x11grab @ 0x558d8b98b3c0] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
frame= 21 fps=0.0 q=0.0 size= 0kB time=00:00:00.25 bitrate= 1.5kbits/sframe= 37 fps= 34 q=0.0 size= 0kB time=00:00:00.25 bitrate= 1.5kbits/sframe= 50 fps= 31 q=28.0 size= 256kB time=00:00:00.28 bitrate=7489.1kbits/frame= 59 fps= 27 q=28.0 size= 256kB time=00:00:00.64 bitrate=3277.0kbits/frame= 72 fps= 27 q=28.0 size= 256kB time=00:00:01.31 bitrate=1600.1kbits/frame= 83 fps= 26 q=28.0 size= 256kB time=00:00:01.65 bitrate=1269.8kbits/frame= 98 fps= 26 q=28.0 size= 256kB time=00:00:02.33 bitrate= 898.6kbits/frame= 113 fps= 27 q=28.0 size= 256kB time=00:00:02.99 bitrate= 700.2kbits/frame= 125 fps= 26 q=28.0 size= 256kB time=00:00:03.33 bitrate= 628.5kbits/frame= 133 fps= 25 q=28.0 size= 256kB time=00:00:03.67 bitrate= 570.2kbits/frame= 145 fps= 25 q=28.0 size= 256kB time=00:00:04.08 bitrate= 514.1kbits/frame= 153 fps= 24 q=28.0 size= 256kB time=00:00:04.70 bitrate= 446.0kbits/frame= 166 fps= 24 q=28.0 size= 256kB time=00:00:05.04 bitrate= 415.8kbits/frame= 175 fps= 23 q=28.0 size= 256kB time=00:00:05.36 bitrate= 391.0kbits/frame= 186 fps= 23 q=28.0 size= 256kB time=00:00:06.04 bitrate= 346.8kbits/frame= 196 fps= 22 q=28.0 size= 512kB time=00:00:06.38 bitrate= 656.5kbits/[pulse @ 0x558d8b996000] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
frame= 208 fps= 22 q=28.0 size= 512kB time=00:00:06.73 bitrate= 623.2kbits/frame= 220 fps= 22 q=28.0 size= 512kB time=00:00:07.41 bitrate= 565.8kbits/frame= 230 fps= 21 q=28.0 size= 512kB time=00:00:07.73 bitrate= 542.4kbits/frame= 244 fps= 20 q=28.0 size= 768kB time=00:00:08.07 bitrate= 779.2kbits/frame= 251 fps= 20 q=28.0 size= 768kB time=00:00:08.41 bitrate= 747.6kbits/frame= 254 fps= 20 q=28.0 size= 768kB time=00:00:08.75 bitrate= 718.5kbits/frame= 263 fps= 19 q=28.0 size= 1024kB time=00:00:09.09 bitrate= 922.0kbits/frame= 290 fps= 19 q=28.0 size= 1024kB time=00:00:09.88 bitrate= 849.1kbits/frame= 298 fps= 19 q=28.0 size= 1280kB tim
Molemmilla kuvanopeuksilla tuli paljon herjoja siitä, että ulostulotiedostossa aikaleima on virheellinen. Jotain tarttis ilmeisesti tehdä?