Created
October 17, 2012 16:20
-
-
Save rdp/3906481 to your computer and use it in GitHub Desktop.
wrong ordered frames?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c:\vids\temp>C:\installs\ffmpeg-distro-static-2012-10-10-42212c664c24d813ff5d843dd04aac5cf6d7de45.frei0r\ffmpeg-distro-static-2012-10-10-42212c664c24d813ff5d843dd04aac5cf6d7de45\ffmpeg-32 -f lavfi -i testsrc=duration=3:size=1280x720:rate=30 | |
%d.jpg | |
ffmpeg version N-45279-g6b86dd5 Copyright (c) 2000-2012 the FFmpeg developers | |
built on Oct 10 2012 17:30:47 with gcc 4.7.1 (GCC) | |
configuration: --enable-memalign-hack --arch=x86 --enable-gpl --enable-libx264 --enable-avisynth --enable-libxvid --target-os=mingw32 --cross-prefix=/home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/bin/i686-w64-mingw32- --pkg-config=pkg-config --enable-libmp3lame --enable-version3 --enable-libvpx --extra-libs=-lws2_32 --extra-libs=-lpthread --enable-zlib --extra-libs=-lwinmm --extra-libs=-lgdi32 --enable-librtmp --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --disable-optimizations --enable-mmx --disable-postproc --enable-fontconfig --enable-libass --enable-libutvideo --enable-libopus --disable-w32threads --extra-cflags=-DPTW32_STATIC_LIB --enable-frei0r --enable-filter=frei0r --enable-libvo-aacenc --enable-runtime-cpudetect | |
libavutil 51. 74.100 / 51. 74.100 | |
libavcodec 54. 65.100 / 54. 65.100 | |
libavformat 54. 31.100 / 54. 31.100 | |
libavdevice 54. 3.100 / 54. 3.100 | |
libavfilter 3. 19.102 / 3. 19.102 | |
libswscale 2. 1.101 / 2. 1.101 | |
libswresample 0. 16.100 / 0. 16.100 | |
[lavfi @ 03B2F420] Estimating duration from bitrate, this may be inaccurate | |
Input #0, lavfi, from 'testsrc=duration=3:size=1280x720:rate=30': | |
Duration: N/A, start: 0.000000, bitrate: N/A | |
Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 1280x720 [SAR 1:1 DAR 16:9], 30 tbr, 30 tbn, 30 tbc | |
Output #0, image2, to '%d.jpg': | |
Metadata: | |
encoder : Lavf54.31.100 | |
Stream #0:0: Video: mjpeg, yuvj420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 30 tbc | |
Stream mapping: | |
Stream #0:0 -> #0:0 (rawvideo -> mjpeg) | |
Press [q] to stop, [?] for help | |
frame= 90 fps= 45 q=0.0 Lsize= 0kB time=00:00:03.00 bitrate= 0.0kbits/s | |
video:2536kB audio:0kB subtitle:0 global headers:0kB muxing overhead -100.000000% | |
c:\vids\temp>ffmpeg -r 1 -i %0d.jpg -y yo.mp4 | |
c:\vids\temp>C:\installs\ffmpeg-distro-static-2012-10-10-42212c664c24d813ff5d843dd04aac5cf6d7de45.frei0r\ffmpeg-distro-static-2012-10-10-42212c664c24d813ff5d843dd04aac5cf6d7de45\ffmpeg-32 -r 1 -i %0d.jpg -y yo.mp4 | |
ffmpeg version N-45279-g6b86dd5 Copyright (c) 2000-2012 the FFmpeg developers | |
built on Oct 10 2012 17:30:47 with gcc 4.7.1 (GCC) | |
configuration: --enable-memalign-hack --arch=x86 --enable-gpl --enable-libx264 --enable-avisynth --enable-libxvid --target-os=mingw32 --cross-prefix=/home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/bin/i686-w64-mingw32- --pkg-config=pkg-config --enable-libmp3lame --enable-version3 --enable-libvpx --extra-libs=-lws2_32 --extra-libs=-lpthread --enable-zlib --extra-libs=-lwinmm --extra-libs=-lgdi32 --enable-librtmp --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --disable-optimizations --enable-mmx --disable-postproc --enable-fontconfig --enable-libass --enable-libutvideo --enable-libopus --disable-w32threads --extra-cflags=-DPTW32_STATIC_LIB --enable-frei0r --enable-filter=frei0r --enable-libvo-aacenc --enable-runtime-cpudetect | |
libavutil 51. 74.100 / 51. 74.100 | |
libavcodec 54. 65.100 / 54. 65.100 | |
libavformat 54. 31.100 / 54. 31.100 | |
libavdevice 54. 3.100 / 54. 3.100 | |
libavfilter 3. 19.102 / 3. 19.102 | |
libswscale 2. 1.101 / 2. 1.101 | |
libswresample 0. 16.100 / 0. 16.100 | |
Input #0, image2, from '%0d.jpg': | |
Duration: 00:00:03.60, start: 0.000000, bitrate: N/A | |
Stream #0:0: Video: mjpeg, yuvj420p, 1280x720 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 25 tbn, 25 tbc | |
[libx264 @ 03B0FA40] using SAR=1/1 | |
[libx264 @ 03B0FA40] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX | |
[libx264 @ 03B0FA40] profile High, level 3.1 | |
[libx264 @ 03B0FA40] 264 - core 128 r2216 198a7ea - 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=12 lookahead_threads=2 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=1 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 'yo.mp4': | |
Metadata: | |
encoder : Lavf54.31.100 | |
Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuvj420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 16384 tbn, 1 tbc Stream mapping: | |
Stream #0:0 -> #0:0 (mjpeg -> libx264) | |
Press [q] to stop, [?] for help | |
frame= 90 fps=0.0 q=-1.0 Lsize= 268kB time=00:01:28.00 bitrate= 24.9kbits/s | |
video:266kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.689769% | |
[libx264 @ 03B0FA40] frame I:1 Avg QP: 9.86 size: 17329 | |
[libx264 @ 03B0FA40] frame P:28 Avg QP:15.29 size: 5576 | |
[libx264 @ 03B0FA40] frame B:61 Avg QP:14.81 size: 1605 | |
[libx264 @ 03B0FA40] consecutive B-frames: 2.2% 15.6% 20.0% 62.2% | |
[libx264 @ 03B0FA40] mb I I16..4: 92.3% 3.1% 4.6% | |
[libx264 @ 03B0FA40] mb P I16..4: 9.7% 1.2% 0.7% P16..4: 5.5% 1.3% 0.4% 0.0% 0.0% skip:81.4% | |
[libx264 @ 03B0FA40] mb B I16..4: 2.2% 0.2% 0.0% B16..8: 4.6% 0.7% 0.1% direct: 5.8% skip:86.5% L0:45.8% L1:49.8% BI: 4.4% | |
[libx264 @ 03B0FA40] 8x8 transform intra:7.9% inter:91.9% | |
[libx264 @ 03B0FA40] coded y,uvDC,uvAC intra: 4.5% 20.0% 15.9% inter: 1.2% 8.6% 3.1% | |
[libx264 @ 03B0FA40] i16 v,h,dc,p: 95% 4% 1% 0% | |
[libx264 @ 03B0FA40] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 58% 13% 23% 2% 0% 0% 0% 0% 2% | |
[libx264 @ 03B0FA40] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 55% 23% 0% 0% 0% 0% 1% 1% | |
[libx264 @ 03B0FA40] i8c dc,h,v,p: 18% 10% 71% 1% | |
[libx264 @ 03B0FA40] Weighted P-Frames: Y:0.0% UV:0.0% | |
[libx264 @ 03B0FA40] ref P L0: 70.6% 7.7% 13.8% 7.9% | |
[libx264 @ 03B0FA40] ref B L0: 89.0% 9.5% 1.4% | |
[libx264 @ 03B0FA40] ref B L1: 94.5% 5.5% | |
[libx264 @ 03B0FA40] kb/s:24.12 | |
c:\vids\temp>ffprobe -show_packets -i yo.mp4 | grep pts_time | head -n 20 | |
ffprobe version N-41843-gc17808c Copyright (c) 2007-2012 the FFmpeg developers | |
built on Jun 22 2012 17:40:07 with gcc 4.7.1 | |
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib | |
libavutil 51. 61.100 / 51. 61.100 | |
libavcodec 54. 29.100 / 54. 29.100 | |
libavformat 54. 11.100 / 54. 11.100 | |
libavdevice 54. 0.100 / 54. 0.100 | |
libavfilter 2. 82.100 / 2. 82.100 | |
libswscale 2. 1.100 / 2. 1.100 | |
libswresample 0. 15.100 / 0. 15.100 | |
libpostproc 52. 0.100 / 52. 0.100 | |
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'yo.mp4': | |
Metadata: | |
major_brand : isom | |
minor_version : 512 | |
compatible_brands: isomiso2avc1mp41 | |
encoder : Lavf54.31.100 | |
Duration: 00:01:30.00, start: 0.000000, bitrate: 24 kb/s | |
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuvj420p, 1280x720 [SAR 1:1 DAR 16:9], 24 kb/s, 1 fps, 1 tbr, 16384 tbn, 2 tbc | |
Metadata: | |
handler_name : VideoHandler | |
pts_time=0.000000 | |
pts_time=4.000000 | |
pts_time=2.000000 | |
pts_time=1.000000 | |
pts_time=3.000000 | |
pts_time=8.000000 | |
pts_time=6.000000 | |
pts_time=5.000000 | |
pts_time=7.000000 | |
pts_time=12.000000 | |
pts_time=10.000000 | |
pts_time=9.000000 | |
pts_time=11.000000 | |
pts_time=16.000000 | |
pts_time=14.000000 | |
pts_time=13.000000 | |
pts_time=15.000000 | |
pts_time=20.000000 | |
pts_time=18.000000 | |
pts_time=17.000000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment