[FFmpeg-user] Problem building with libx265
Hi, This used to build for me OK but for some reason it no longer builds with ./configure --enable-libx265 I am using latest git pull from today from both repos but I think this may be specific to my machine for reasons I can't work out. So if anyone has pointers please let me know? Details below Error from configure: check_pkg_config x265 x265.h x265_encoder_encode pkg-config --exists --print-errors x265 check_func_headers x265.h x265_encoder_encode -I/usr/local/include -L/usr/local/lib -lx265 -lstdc++ -lm -lrt check_ld cc -I/usr/local/include -L/usr/local/lib -lx265 -lstdc++ -lm -lrt check_cc -I/usr/local/include -L/usr/local/lib BEGIN /var/folders/nn/kj_w5jr90dd2dbbqrp8qz_n0gn/T//ffconf.2xqpnbUx.c 1 #include 2 long check_x265_encoder_encode(void) { return (long) x265_encoder_encode; } 3 int main(void) { return 0; } END /var/folders/nn/kj_w5jr90dd2dbbqrp8qz_n0gn/T//ffconf.2xqpnbUx.c gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -std=c99 -mdynamic-no-pic -fomit-frame-pointer -fPIC -pthread -I/usr/local/Cellar/freetype/2.5.3_1/include/freetype2 -I/usr/local/include -L/usr/local/lib -c -o /var/folders/nn/kj_w5jr90dd2dbbqrp8qz_n0gn/T//ffconf.jTubeMUC.o /var/folders/nn/kj_w5jr90dd2dbbqrp8qz_n0gn/T//ffconf.2xqpnbUx.c clang: warning: argument unused during compilation: '-L/usr/local/lib' gcc -Wl,-dynamic,-search_paths_first -I/usr/local/include -L/usr/local/lib -o /var/folders/nn/kj_w5jr90dd2dbbqrp8qz_n0gn/T//ffconf.pkLBt7Lk /var/folders/nn/kj_w5jr90dd2dbbqrp8qz_n0gn/T//ffconf.jTubeMUC.o -lx265 -lstdc++ -lm -lrt -lx264 -L/usr/local/Cellar/freetype/2.5.3_1/lib -lfreetype -lfdk-aac -lm -lbz2 -lz -pthread clang: warning: argument unused during compilation: '-pthread' ld: library not found for -lrt clang: error: linker command failed with exit code 1 (use -v to see invocation) ERROR: x265 not found Note that package config for x265 is there: cat /usr/local/lib/pkgconfig/x265.pc prefix=/usr/local exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include Name: x265 Description: H.265/HEVC video encoder Version: 0.8 Libs: -L${libdir} -lx265 -lstdc++ -lm -lrt Libs.private: -lc++ -l/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/5.1/lib/darwin/libclang_rt.osx.a Cflags: -I${includedir} Headers are there: ls /usr/local/include/x* /usr/local/include/x264.h /usr/local/include/x265.h /usr/local/include/x264_config.h /usr/local/include/x265_config.h Libs are there: ls /usr/local/lib/libx* /usr/local/lib/libx264.125.dylib /usr/local/lib/libx264.dylib /usr/local/lib/libx264.142.dylib /usr/local/lib/libx265.0.8.dylib /usr/local/lib/libx264.a /usr/local/lib/libx265.a ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
[FFmpeg-user] Building FFmpeg with optional libs OS X 10.9.4
FFmpeg configure is: ./configure --prefix=/usr/local \ --shlibdir=/usr/local/lib \ --extra-cflags=-I/usr/local/include \ --disable-avdevice \ --disable-avfilter \ --disable-bzlib \ --disable-debug \ --disable-doc \ --disable-iconv \ --disable-postproc \ --disable-programs \ --disable-swresample \ --disable-swscale \ --disable-static \ --disable-zlib \ --enable-shared \ --enable-gpl \ --enable-version3 \ --enable-libopencore-amrnb \ --enable-libopencore-amrwb \ --enable-libopus \ --enable-libspeex \ --enable-libvo-aacenc \ --enable-libvo-amrwbenc I have installed the libs noted at the end of the configure log in /usr/local. Configure command for the optional libs was ./configure --enable-shared --enable-static --disable-dependency-tracking --disable-libtool-lock FFmpeg configure does not get beyond failing to find the first optional lib. Here is the end of the config.log BEGIN /var/folders/c0/8p18hd453p3_433cf9_595b4gn/T//ffconf.6OlnO3yW.c 1 #include 2 int x; END /var/folders/c0/8p18hd453p3_433cf9_595b4gn/T//ffconf.6OlnO3yW.c gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -I/usr/local/include -std=c99 -fomit-frame-pointer -fPIC -pthread -E -o /var/folders/c0/8p18hd453p3_433cf9_595b4gn/T//ffconf.Nnm5uT0x.o /var/folders/c0/8p18hd453p3_433cf9_595b4gn/T//ffconf.6OlnO3yW.c check_func Decoder_Interface_init -lopencore-amrnb check_ld cc -lopencore-amrnb check_cc BEGIN /var/folders/c0/8p18hd453p3_433cf9_595b4gn/T//ffconf.6OlnO3yW.c 1 extern int Decoder_Interface_init(); 2 int main(void){ Decoder_Interface_init(); } END /var/folders/c0/8p18hd453p3_433cf9_595b4gn/T//ffconf.6OlnO3yW.c gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -I/usr/local/include -std=c99 -fomit-frame-pointer -fPIC -pthread -c -o /var/folders/c0/8p18hd453p3_433cf9_595b4gn/T//ffconf.Nnm5uT0x.o /var/folders/c0/8p18hd453p3_433cf9_595b4gn/T//ffconf.6OlnO3yW.c gcc -Wl,-dynamic,-search_paths_first -o /var/folders/c0/8p18hd453p3_433cf9_595b4gn/T//ffconf.YCeYsFXo /var/folders/c0/8p18hd453p3_433cf9_595b4gn/T//ffconf.Nnm5uT0x.o -lopencore-amrnb -lm -pthread clang: warning: argument unused during compilation: '-pthread' ld: library not found for -lopencore-amrnb clang: error: linker command failed with exit code 1 (use -v to see invocation) ERROR: libopencore_amrnb not found The terminal output is: --enable-libvo-amrwbenc Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1 Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1 Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1 Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1 Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1 ERROR: libopencore_amrnb not found Thanks! Sent using GuerrillaMail.com Block or report abuse: https://www.guerrillamail.com/abuse/?a=R0d5FQgHDqEGjRyU9ngSYhHAA8WC1Q%3D%3D ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] How to change video fps from 29.970 to 25?
> 3) Magically turn the 6 frames of progressive video > into 5 frames of progressive video showing the same > scene evenly spaced out. Requires Magic(tm). Carl wrote: Actually a filter for which I suspect some needed features already exist within FFmpeg. Carl: what does your answer mean? Do you mean to say you know of "magic" filter? ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] sequence with alpha over a still renders alpha incorrectly
On Thu, Aug 28, 2014, at 08:17 PM, Ehren Addis wrote: > I'm trying to put a png sequence with an embeded alpha over a still > image with burned in timecode. The following has been had from > everything I see on the web (with the exception of using -shortest that > never worked). This renders, but the alpha channel renders in a strange > banded sort of way. A smooth gradation comes out like lots of > transparent stripes that move around. I'm starting to suspect this > isn't the way the current ffmpeg would do it. Can anyone point me in > the right direction for the proper syntax? > > ffmpeg -loop 1 -r 29.97 -i background.jpg -r 29.97 -i > foregroundsequence%05d.png -filter_complex "overlay, > drawtext=fontfile=ARIAL.ttf: timecode='00\:00\:00\:00': r=29.97: > x=(w-tw)/2: y=h-(1*1h): fontsize=32: fontcolor=white: box=1: > boxcolor=0x0099" -r 29.97 -t %dur% -vcodec prores -profile:v 2 -y > output.mov > > I had to use -t instead of -shortest to get this to not encode > indefinitely, contrary to examples floating on the web. > > Thanks! Please include the complete ffmpeg console output. Providing one of the foregroundsequence*.png images could be helpful too. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
[FFmpeg-user] sequence with alpha over a still renders alpha incorrectly
I'm trying to put a png sequence with an embeded alpha over a still image with burned in timecode. The following has been had from everything I see on the web (with the exception of using -shortest that never worked). This renders, but the alpha channel renders in a strange banded sort of way. A smooth gradation comes out like lots of transparent stripes that move around. I'm starting to suspect this isn't the way the current ffmpeg would do it. Can anyone point me in the right direction for the proper syntax? ffmpeg -loop 1 -r 29.97 -i background.jpg -r 29.97 -i foregroundsequence%05d.png -filter_complex "overlay, drawtext=fontfile=ARIAL.ttf: timecode='00\:00\:00\:00': r=29.97: x=(w-tw)/2: y=h-(1*1h): fontsize=32: fontcolor=white: box=1: boxcolor=0x0099" -r 29.97 -t %dur% -vcodec prores -profile:v 2 -y output.mov I had to use -t instead of -shortest to get this to not encode indefinitely, contrary to examples floating on the web. Thanks! ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
[FFmpeg-user] Error and understanding issue: using ffmpeg to real time publish FLV file to Red5 and real time download FLV from Red5
Hello! I am new to ffmpeg, and trying to understand how to use it publish a live stream to a server, and how to record a live stream from a server. After reading online tutorials and visiting few forums, I got a brief overview of how to get it done. But, I think my understanding is not fully correct. Also, the commands I am running, are giving errors. Below I have listed down what I am trying to do, how I am doing it and why. OS: Windows 8, RTMP Server: Red5, Video File format: FLV, I want to: Read/Write FLV files from and to Red5 by live streaming. 1. To publish FLV file from local I am using this command at Command Line: ffmpeg -re -i input.flv -acodec copy -vcodec copy -f flv rtmp://ocalhost/oflaDemo/streams My understanding: This command will upload input.flv to the server location C:\Program Files\red5\webapps\oflaDemo\streams. So, after the command is done running, I expect in this server location a new file input.flv will be created. Is this correct? When I am running this command I am getting the following error and no file is getting created on the server side: [flv @ 03c6a660] Failed to update header with correct duration. [flv @ 03c6a660] Failed to update header with correct filesize. frame= 1567 fps= 24 q=-1.0 Lsize=3064kB time=00:01:05.43 bitrate= 383.6kbits /s video:2232kB audio:767kB subtitle:0kB other streams:0kB global headers:0kB muxin g overhead: 2.183349% Can you help me understand what I am doing wrong? What should be correct command in this case to achieve what I want? 2. Now, I am using the following command to livestream read a FLV file from the server into my local: ffmpeg -re -i rtmp://localhost/oflaDemo/streams/hobbit_vp6.flv -c copy dump.flv My understanding: File hobbit_vp6.flv will be downloaded into my local directory and will get saved as dump.flv. And this will be live streaming. This will be like, recording a video stream from the server. Is this correct? When I am running this command I am getting the following error and no file is getting created on the local: Closing connection: NetStream.Play.StreamNotFound rtmp://localhost/oflaDemo/streams/hobbit_vp6.flv: Unknown error occurred Can you help me understand what I am doing wrong? What should be correct command in this case to achieve what I want? Note: I was not aware of this mailing list before. Hence, have posted this question in stackoverflow as well: http://stackoverflow.com/questions/25567675/error-and-understanding-issue-using-ffmpeg-to-real-time-publish-flv-file-to-red Thanks, Kajari ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] How to change video fps from 29.970 to 25?
Nicholas Robbins ffmpeg.org> writes: > 3) Magically turn the 6 frames of progressive video > into 5 frames of progressive video showing the same > scene evenly spaced out. Requires Magic(tm). Actually a filter for which I suspect some needed features already exist within FFmpeg. Thank you for the complete explanation! Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] How to change video fps from 29.970 to 25?
On Friday, August 29, 2014 8:41 AM, Damian Głodny wrote: > > >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 > >Damian Głodny artnmedia.pl> writes: > >> I tried many ffmpeg filters like pullup, telecine, fieldmatch, >> decimate, but my output video always stuttering. Ok, that sample is "30" fps progressive. (I am going to use 30 for 29.97=3/1001.) It has 30 complete video frames per second. If you want to reduce it 25 fps You have two choices. 1) Play the same frames slower. You can certainly do that. Putting "-r 25" in the input command will do that. (You will need to adjust the audio too.) However, this will result in slow motion. (clip takes 24 seconds after the conversion.) If it is mostly city shots, this might be fine, but the people walking are noticeably slowed. 2) Throw out information. The problem you have here is that you have six frames ABCDEF when you want five VWXYZ. So if you just chuck one frame F, you will get the judder you don't want. This is what just a "fps=25" filter will do. If you are ok with interlacing, you could split the frames into fields AaBbCcDdEeFf and then throw out every 6th field, to get AaBbCDdEeF. However when you put these back into frames (if you are displaying on a progressive display, you would get Aa, Bb, CD, DE, eF, Those last three interlaced frames might be noticeable. I've never done this sort of thing, but I think "-vf fps=50,interlace" should do it. This would change the judder to more smaller jumps but it might not be what you want. It will also make the video interlaced. 3) Magically turn the 6 frames of progressive video into 5 frames of progressive video showing the same scene evenly spaced out. Requires Magic(tm). -Nick Robbins ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] How to change video fps from 29.970 to 25?
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 libavformat56. 3.100 / 56. 3.100 libavdevice56. 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 libpostproc53. 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.00, 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 @ 049f0500] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2 [libx264 @ 049f0500] profile High, level 3.1 [libx264 @ 049f0500] 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 bitr
Re: [FFmpeg-user] Video grabbing from webcam drops and duplicates frames
David Ventura gmail.com> writes: > ffmpeg -f v4l2 -input_format mjpeg -video_size 1280x720 -i /dev/video1 Please try to force the input frame rate with -framerate. Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Set Timed Text Stream To "Forced"
Oli Jeal storment.co.uk> writes: > I've searched the tickets and can't find the one > in question. I believe there are several, #3622 comes to mind. > Would you be able to direct me to it to see if > there's any info I can add? I don't think any info is missing: The problem is known. Please do not top-post here, Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] How to change video fps from 29.970 to 25?
Damian Głodny 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 ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
[FFmpeg-user] How to change video fps from 29.970 to 25?
Hello, from a couple of days I am fighting with problem of fps conversion with ffmpeg. I discovered that conversion from 23.976fps to 25fps is easy and we can do it by speed up input video by 4%. Here I share how I did this with ffmpeg filter (maybe someone will need it too): -filter_complex "[0:v]setpts=24/25*PTS[v];[0:a]atempo=25/24[a]" -map "[v]" -map "[a]" -r 25 Converted 23.976fps video with that filter will have 25fps and playback will be smooth, great! Unfortunately I dont have idea how I can convert video from 29.970 fps to 25 using ffmpeg. I think it should be done in two steps: 1. Convert from 29.970 to 23.976. This technique is called inverse telecine(?), but I dont have idea how I can do it correctly with ffmpeg. I tried many ffmpeg filters like pullup, telecine, fieldmatch, decimate, but my output video always stuttering. Can someone help me with it? 2. Convert from 23.976 to 25 by speed up video by 4%. What do you think? Here is console output for example video which I want to convert to 25fps (but I need to convert other videos too, this one is my guinea pig): ffmpeg -i da-foundraising-foundations-29.970fps.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 libavformat56. 3.100 / 56. 3.100 libavdevice56. 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 libpostproc53. 0.100 / 53. 0.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'da-foundraising-foundations-29.970fps.m p4': Metadata: major_brand : mp42 minor_version : 0 compatible_brands: mp42mp41isomavc1 creation_time : 2013-02-23 19:26:52 Duration: 00:13:28.74, start: 0.042667, bitrate: 2654 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 2492 kb/s, 29.97 fps, 29.97 tbr, 2997 tbn, 59.94 tbc (default) Metadata: creation_time : 2013-02-23 19:26:52 handler_name: L-SMASH Video Handler encoder : AVC Coding Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 15 7 kb/s (default) Metadata: creation_time : 2013-02-23 19:26:52 handler_name: L-SMASH Audio Handler Thank you for your time. --- Cheers! ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user