Ok, here it is: Sample 29.970 fps file which I want to convert to 25fps: http://artnmedia.pl/damian/fps/sample-29.970fps.mp4
My first step is to convert that file to 23.976 fps. I am trying to do this with pullup filter with followin ffmpeg command: ffmpeg.exe -i "sample-29.970fps.mp4" -c:v libx264 -c:a libvo_aacenc -b:a 128k -vf pullup -r 24000/1001 "sample-29.970fps_23.976fps.mp4" But result video is a bit jerky and stutter, you can see it here: http://artnmedia.pl/damian/fps/sample-29.970fps_23.976fps.mp4 Better play both of those videos in VLC, cause they both can be jerky in browser player. Here is console output from my conversion with pullup filter: D:\dev\enconding\tests>ffmpeg.exe -i "sample-29.970fps.mp4" -c:v libx264 -c:a li bvo_aacenc -b:a 128k -vf pullup -r 24000/1001 "sample-29.970fps_23.976fps.mp4" ffmpeg version N-65895-g96b2ba6 Copyright (c) 2000-2014 the FFmpeg developers built on Aug 25 2014 22:10:37 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-libbs2b --enable-libcaca -- enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-lib modplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrw b --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinge r --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --en able-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 54. 7.100 / 54. 7.100 libavcodec 56. 0.101 / 56. 0.101 libavformat 56. 3.100 / 56. 3.100 libavdevice 56. 0.100 / 56. 0.100 libavfilter 5. 0.103 / 5. 0.103 libswscale 3. 0.100 / 3. 0.100 libswresample 1. 1.100 / 1. 1.100 libpostproc 53. 0.100 / 53. 0.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'sample-29.970fps.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf56.3.100 Duration: 00:00:20.05, start: 0.000000, bitrate: 3144 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 2982 kb/s, 29.97 fps, 29.97 tbr, 11988 tbn, 59.94 tbc (default) Metadata: handler_name : VideoHandler Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 15 7 kb/s (default) Metadata: handler_name : SoundHandler File 'sample-29.970fps_23.976fps.mp4' already exists. Overwrite ? [y/N] y [libx264 @ 00000000049f0500] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2 [libx264 @ 00000000049f0500] profile High, level 3.1 [libx264 @ 00000000049f0500] 264 - core 142 r2453 ea0ca51 - H.264/MPEG-4 AVC cod ec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 r ef=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 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_pski p=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 dec imate=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=2 keyint=250 keyint_min= 23 scenecut=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 Output #0, mp4, to 'sample-29.970fps_23.976fps.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf56.3.100 Stream #0:0(und): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 1 280x720, q=-1--1, 23.98 fps, 24k tbn, 23.98 tbc (default) Metadata: handler_name : VideoHandler encoder : Lavc56.0.101 libx264 Stream #0:1(und): Audio: aac (libvo_aacenc) ([64][0][0][0] / 0x0040), 48000 Hz, stereo, s16, 128 kb/s (default) Metadata: handler_name : SoundHandler encoder : Lavc56.0.101 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= 64 fps=0.0 q=28.0 size= 40kB time=00:00:02.78 bitrate= 117.6kbits/ frame= 101 fps=101 q=28.0 size= 406kB time=00:00:04.34 bitrate= 765.9kbits/ frame= 145 fps= 96 q=28.0 size= 740kB time=00:00:06.17 bitrate= 982.2kbits/ frame= 190 fps= 95 q=28.0 size= 927kB time=00:00:08.05 bitrate= 942.8kbits/ frame= 224 fps= 89 q=28.0 size= 1473kB time=00:00:09.48 bitrate=1272.8kbits/ frame= 263 fps= 85 q=28.0 size= 1714kB time=00:00:11.12 bitrate=1262.4kbits/ frame= 301 fps= 83 q=28.0 size= 2345kB time=00:00:12.68 bitrate=1514.8kbits/ frame= 335 fps= 80 q=28.0 size= 2688kB time=00:00:14.13 bitrate=1558.2kbits/ frame= 375 fps= 80 q=28.0 size= 3180kB time=00:00:15.79 bitrate=1649.0kbits/ frame= 409 fps= 79 q=28.0 size= 3486kB time=00:00:17.18 bitrate=1662.0kbits/ frame= 448 fps= 79 q=28.0 size= 3858kB time=00:00:18.82 bitrate=1678.9kbits/ frame= 483 fps= 75 q=-1.0 Lsize= 5396kB time=00:00:20.06 bitrate=2203.4kbits /s dup=2 drop=118 video:5068kB audio:314kB subtitle:0kB other streams:0kB global headers:0kB muxin g overhead: 0.270406% [libx264 @ 00000000049f0500] frame I:6 Avg QP:17.96 size:130837 [libx264 @ 00000000049f0500] frame P:184 Avg QP:22.76 size: 19856 [libx264 @ 00000000049f0500] frame B:293 Avg QP:26.80 size: 2560 [libx264 @ 00000000049f0500] consecutive B-frames: 12.2% 11.6% 27.3% 48.9% [libx264 @ 00000000049f0500] mb I I16..4: 20.4% 70.2% 9.5% [libx264 @ 00000000049f0500] mb P I16..4: 1.3% 5.9% 0.5% P16..4: 43.5% 14.1 % 9.9% 0.0% 0.0% skip:24.8% [libx264 @ 00000000049f0500] mb B I16..4: 0.0% 0.1% 0.0% B16..8: 34.5% 1.3 % 0.3% direct: 1.2% skip:62.6% L0:44.3% L1:51.4% BI: 4.2% [libx264 @ 00000000049f0500] 8x8 transform intra:74.6% inter:77.1% [libx264 @ 00000000049f0500] coded y,uvDC,uvAC intra: 61.9% 70.5% 32.5% inter: 1 4.0% 19.6% 1.2% [libx264 @ 00000000049f0500] i16 v,h,dc,p: 41% 31% 7% 21% [libx264 @ 00000000049f0500] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 21% 23% 4% 5% 5% 6% 5% 7% [libx264 @ 00000000049f0500] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 23% 12% 5% 7% 7% 8% 6% 7% [libx264 @ 00000000049f0500] i8c dc,h,v,p: 51% 24% 19% 5% [libx264 @ 00000000049f0500] Weighted P-Frames: Y:29.3% UV:13.0% [libx264 @ 00000000049f0500] ref P L0: 67.5% 17.3% 12.2% 3.0% 0.0% [libx264 @ 00000000049f0500] ref B L0: 90.8% 8.3% 0.9% [libx264 @ 00000000049f0500] ref B L1: 94.2% 5.8% [libx264 @ 00000000049f0500] kb/s:2060.47 Thank you. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Carl Eugen Hoyos Sent: Friday, August 29, 2014 10:42 AM To: [email protected] Subject: Re: [FFmpeg-user] How to change video fps from 29.970 to 25? Damian Głodny <damian <at> artnmedia.pl> writes: > I tried many ffmpeg filters like pullup, telecine, fieldmatch, > decimate, but my output video always stuttering. Please provide your command line, the complete, uncut console output and a few seconds of your input sample. Carl Eugen _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
