[FFmpeg-user] Fwd: ffmpeg dropping framerate when joining image with video?
radiaku
aku.radiaku at gmail.com
Thu Oct 3 23:48:12 CEST 2013
Hey everyone, when I joining video with image using itsoffset, why ffmpeg
is dropping frame? ( my video is 25fps ) and its take forever...
here my command:
ffmpeg.exe -r 25 -itsoffset 5 -i "C:\\after-earth\After_A.mp4" -r 25 -loop
> 1 -i "C:\\after-earth\Art.png" -filter_complex "[1:v]
> fade=out:125:25:alpha=1 [intro]; [0:v][intro] overlay [v]" -map "[v]" -map
> 0:a -acodec copy -strict experimental -y -threads 1
> "C:\\after-earth\After_A1.mp4"
>
I using zeranoe build for windows
ffmpeg version N-56800-gad8fbdd
> built on Oct 1 2013 18:01:59 with gcc 4.8.1 (GCC)
> configuration: --enable-gpl --enable-version3 --disable-w32threads
> --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
> --enable-gnutls --enable-iconv --enable-libass --enable-libbluray
> --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc
> --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
> --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus
> --enable-librtmp --enable-libschroedinger --enable-libsoxr
> --enable-libspeex --enable-libtheora --enable-libtwolame
> --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
> --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264
> --enable-libxavs --enable-libxvid --enable-zlib
> libavutil 52. 46.100 / 52. 46.100
> libavcodec 55. 33.101 / 55. 33.101
> libavformat 55. 18.104 / 55. 18.104
> libavdevice 55. 3.100 / 55. 3.100
> libavfilter 3. 88.100 / 3. 88.100
> libswscale 2. 5.100 / 2. 5.100
> libswresample 0. 17.103 / 0. 17.103
> libpostproc 52. 3.100 / 52. 3.100
>
My logs:
ffmpeg version N-56800-gad8fbdd Copyright (c) 2000-2013 the FFmpeg
> developers
> built on Oct 1 2013 18:01:59 with gcc 4.8.1 (GCC)
> configuration: --enable-gpl --enable-version3 --disable-w32threads
> --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
> --enable-gnutls --enable-iconv --enable-libass --enable-libbluray
> --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc
> --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
> --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus
> --enable-librtmp --enable-libschroedinger --enable-libsoxr
> --enable-libspeex --enable-libtheora --enable-libtwolame
> --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
> --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264
> --enable-libxavs --enable-libxvid --enable-zlib
> libavutil 52. 46.100 / 52. 46.100
> libavcodec 55. 33.101 / 55. 33.101
> libavformat 55. 18.104 / 55. 18.104
> libavdevice 55. 3.100 / 55. 3.100
> libavfilter 3. 88.100 / 3. 88.100
> libswscale 2. 5.100 / 2. 5.100
> libswresample 0. 17.103 / 0. 17.103
> libpostproc 52. 3.100 / 52. 3.100
> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\\after-earth\After_A.mp4':
> Metadata:
> major_brand : isom
> minor_version : 512
> compatible_brands: isomiso2avc1mp41
> encoder : Lavf55.18.104
> Duration: 00:02:31.15, start: 0.036281, bitrate: 521 kb/s
> Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
> 640x360, 404 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
> Metadata:
> handler_name : VideoHandler
> Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo,
> fltp, 128 kb/s (default)
> Metadata:
> handler_name : SoundHandler
> Input #1, image2, from 'C:\\after-earth\Art.png':
> Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
> Stream #1:0: Video: png, rgba, 640x360, 25 fps, 25 tbr, 25 tbn, 25 tbc
> [libx264 @ 0027a000] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
> [libx264 @ 0027a000] profile High, level 3.0
> [libx264 @ 0027a000] 264 - core 138 r2358 9e941d1 - H.264/MPEG-4 AVC codec
> - Copyleft 2003-2013 - http://www.videolan.org/x264.html - options:
> cabac=1 ref=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_pskip=1 chroma_qp_offset=-2 threads=1
> 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=2 keyint=250 keyint_min=25
> 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 'C:\\after-earth\After_A1.mp4':
> Metadata:
> major_brand : isom
> minor_version : 512
> compatible_brands: isomiso2avc1mp41
> encoder : Lavf55.18.104
> Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p,
> 640x360, q=-1--1, 12800 tbn, 25 tbc
> Stream #0:1(und): Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz,
> stereo, 128 kb/s (default)
> Metadata:
> handler_name : SoundHandler
> Stream mapping:
> Stream #0:0 (h264) -> overlay:main
> Stream #1:0 (png) -> fade
> overlay -> Stream #0:0 (libx264)
> Stream #0:1 -> #0:1 (copy)
>
Thank you :)
More information about the ffmpeg-user
mailing list