[FFmpeg-trac] #1578(undetermined:open): variable FPS incorrect frame length
FFmpeg
trac at avcodec.org
Mon Dec 9 13:22:25 CET 2013
#1578: variable FPS incorrect frame length
-------------------------------------+-------------------------------------
Reporter: kubabrecka | Owner:
Type: defect | Status: open
Priority: normal | Component:
Version: git-master | undetermined
Keywords: fps | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 1
-------------------------------------+-------------------------------------
Comment (by er.anshul.maheshwari@…):
It does not work even with -vf fps
Below was my command
ffmpeg -r 1/5 -f concat -i /tmp/tmpsaR4EA -i audio/sound.mp3 -vf
"format=yuv420p,scale=640x480,subtitles=/tmp/tmpKu6UJ3.srt,fps=25"
"output/Great_Lakes_region_timeshare_camp.mp4"
{{{
ffmpeg version 2.1.1 Copyright (c) 2000-2013 the FFmpeg developers
built on Dec 9 2013 15:48:15 with gcc 4.7 (SUSE Linux)
configuration: --enable-libass --enable-libfaac --enable-libx264
--enable-nonfree --enable-gpl
libavutil 52. 48.101 / 52. 48.101
libavcodec 55. 39.101 / 55. 39.101
libavformat 55. 19.104 / 55. 19.104
libavdevice 55. 5.100 / 55. 5.100
libavfilter 3. 90.100 / 3. 90.100
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
Input #0, concat, from '/tmp/tmpsaR4EA':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: mjpeg, yuvj444p(pc), 640x480 [SAR 72:72 DAR 4:3],
25 tbr, 25 tbn, 25 tbc
Input #1, mp3, from 'audio/sound.mp3':
Metadata:
album : @RdxMob.Com
encoded_by : Tagged by Flash Renamer - http://www.rlvision.com
title : Sound_Of_Nature::www.RdxMoB.CoM
artist : @RdxMob.Com
track : Sound_Of_Nature
TDTG : 2010-02-13T16:18:41
Duration: 00:00:29.07, start: 0.000000, bitrate: 128 kb/s
Stream #1:0: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s
File 'output/Great_Lakes_region_timeshare_camp.mp4' already exists.
Overwrite ? [y/N] y
[swscaler @ 0xab9ffa0] deprecated pixel format used, make sure you did set
range correctly
[libx264 @ 0xaa30ac0] using SAR=1/1
[libx264 @ 0xaa30ac0] using cpu capabilities: MMX2 SSE2Fast SSSE3
FastShuffle SSE4.2 AVX
[libx264 @ 0xaa30ac0] profile High, level 3.0
[libx264 @ 0xaa30ac0] 264 - core 125 - H.264/MPEG-4 AVC codec - Copyleft
2003-2012 - 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=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=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 'output/Great_Lakes_region_timeshare_camp.mp4':
Metadata:
encoder : Lavf55.19.104
Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p,
640x480 [SAR 1:1 DAR 4:3], q=-1--1, 12800 tbn, 25 tbc
Stream #0:1: Audio: aac (libfaac) ([64][0][0][0] / 0x0040), 44100 Hz,
stereo, s16, 128 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (mjpeg -> libx264)
Stream #1:0 -> #0:1 (mp3 -> libfaac)
Press [q] to stop, [?] for help
[Parsed_subtitles_2 @ 0xaa27ee0] Neither PlayResX nor PlayResY defined.
Assuming 384x288
[Parsed_subtitles_2 @ 0xaa27ee0] fontconfig: Selected font is not the
requested one: 'Arimo' != 'Arial'
Input stream #0:0 frame changed from size:640x480 fmt:yuvj444p to
size:259x194 fmt:yuvj420p
[swscaler @ 0xab99d40] deprecated pixel format used, make sure you did set
range correctly
[Parsed_subtitles_2 @ 0xaa100e0] Neither PlayResX nor PlayResY defined.
Assuming 384x288
[Parsed_subtitles_2 @ 0xaa100e0] fontconfig: Selected font is not the
requested one: 'Arimo' != 'Arial'
Input stream #0:0 frame changed from size:259x194 fmt:yuvj420p to
size:640x480 fmt:yuvj444p
[swscaler @ 0xab99c80] deprecated pixel format used, make sure you did set
range correctly
[Parsed_subtitles_2 @ 0xaa0bcc0] Neither PlayResX nor PlayResY defined.
Assuming 384x288
[Parsed_subtitles_2 @ 0xaa0bcc0] fontconfig: Selected font is not the
requested one: 'Arimo' != 'Arial'
[output stream 0:0 @ 0xaa2b5c0] 100 buffers queued in output stream 0:0,
something may be wrong.
[mp3 @ 0xaa2e840] Header missing 390kB time=00:00:27.92 bitrate=
114.4kbits/s
Error while decoding stream #1:0: Invalid data found when processing input
frame= 2876 fps=513 q=-1.0 Lsize= 634kB time=00:01:54.96 bitrate=
45.2kbits/s
video:130kB audio:454kB subtitle:0 global headers:0kB muxing overhead
8.601034%
[libx264 @ 0xaa30ac0] frame I:12 Avg QP:19.38 size: 5643
[libx264 @ 0xaa30ac0] frame P:725 Avg QP:27.91 size: 28
[libx264 @ 0xaa30ac0] frame B:2139 Avg QP:28.00 size: 21
[libx264 @ 0xaa30ac0] consecutive B-frames: 0.8% 0.0% 0.0% 99.2%
[libx264 @ 0xaa30ac0] mb I I16..4: 90.9% 4.1% 4.9%
[libx264 @ 0xaa30ac0] mb P I16..4: 0.0% 0.0% 0.0% P16..4: 0.0% 0.0%
0.0% 0.0% 0.0% skip:100.0%
[libx264 @ 0xaa30ac0] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 0.1% 0.0%
0.0% direct: 0.0% skip:99.9% L0:41.0% L1:59.0% BI: 0.0%
[libx264 @ 0xaa30ac0] 8x8 transform intra:3.8% inter:62.7%
[libx264 @ 0xaa30ac0] coded y,uvDC,uvAC intra: 5.1% 0.0% 0.0% inter: 0.0%
0.0% 0.0%
[libx264 @ 0xaa30ac0] i16 v,h,dc,p: 95% 2% 3% 0%
[libx264 @ 0xaa30ac0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 31% 25% 7% 2%
4% 3% 3% 6%
[libx264 @ 0xaa30ac0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 23% 24% 3% 5%
4% 6% 4% 5%
[libx264 @ 0xaa30ac0] i8c dc,h,v,p: 100% 0% 0% 0%
[libx264 @ 0xaa30ac0] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0xaa30ac0] ref P L0: 81.5% 8.2% 5.2% 5.2%
[libx264 @ 0xaa30ac0] ref B L0: 81.5% 18.3% 0.2%
[libx264 @ 0xaa30ac0] ref B L1: 98.6% 1.4%
[libx264 @ 0xaa30ac0] kb/s:9.23
[
}}}
My 3 starting image were missing, I tried putting fps filter at each
place, position of fps filter does not solve my problem
--
Ticket URL: <https://trac.ffmpeg.org/ticket/1578#comment:6>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list