Advertisement
Guest User

FFMPEG 2016 - vsync drop invalid argument ?

a guest
Nov 18th, 2016
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.95 KB | None | 0 0
  1. @echo off
  2. echo.
  3. echo.
  4. echo //////////////////////////////////////////////////
  5. echo **** FPS REDUCTION PROCESS *****
  6. echo //////////////////////////////////////////////////
  7.  
  8. for %%a in ("*.mp4") do ffmpeg -loglevel verbose -i "%%a" -vcodec libx264 -preset fast -x264-params crf=23 -vsync drop -vf select=eq(pict_type\,I) -an -threads 3 -r 1 -f mp4 "aaa_Transcode_OUT\%%~na.mp4"
  9. pause
  10.  
  11.  
  12. //////////////////////////////////////////////////
  13. **** FPS REDUCTION PROCESS *****
  14. //////////////////////////////////////////////////
  15. ffmpeg version N-82314-g863ebe6 Copyright (c) 2000-2016 the FFmpeg developers
  16. built with gcc 5.4.0 (GCC)
  17. configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dxva2 --enable-libmfx
  18. --enable-nvenc --enable-avisynth --enable-bzlib --enable-libebur128 --enable-fontconfig --enable-fre
  19. i0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libc
  20. aca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enab
  21. le-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-li
  22. bopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-lib
  23. soxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amr
  24. wbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --ena
  25. ble-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --ena
  26. ble-zlib
  27. libavutil 55. 36.100 / 55. 36.100
  28. libavcodec 57. 66.101 / 57. 66.101
  29. libavformat 57. 57.100 / 57. 57.100
  30. libavdevice 57. 2.100 / 57. 2.100
  31. libavfilter 6. 66.100 / 6. 66.100
  32. libswscale 4. 3.100 / 4. 3.100
  33. libswresample 2. 4.100 / 2. 4.100
  34. libpostproc 54. 2.100 / 54. 2.100
  35. [h264 @ 000000000035fca0] Reinit context to 2592x1952, pix_fmt: yuvj420p
  36. [avi @ 00000000003083e0] max_analyze_duration 5000000 reached at 5054494 microseconds st:0
  37. Input #0, avi, from 'index058.mp4':
  38. Duration: 00:15:18.97, start: 0.000000, bitrate: 759 kb/s
  39. Stream #0:0: Video: h264 (Main), 1 reference frame (h264 / 0x34363268), yuvj420p(pc, bt709, prog
  40. ressive, center), 2592x1944 (2592x1952) [SAR 1:1 DAR 4:3], 757 kb/s, 6.33 fps, 6.33 tbr, 6.33 tbn, 1
  41. 2.66 tbc
  42. [graph 0 input from stream 0:0 @ 000000000040f020] w:2592 h:1944 pixfmt:yuvj420p tb:1000/6331 fr:19/
  43. 3 sar:1/1 sws_param:flags=2
  44. No pixel format specified, yuvj420p for H.264 encoding chosen.
  45. Use -pix_fmt yuv420p for compatibility with outdated media players.
  46. [libx264 @ 0000000002a04a20] using SAR=1/1
  47. [libx264 @ 0000000002a04a20] using cpu capabilities: MMX2 SSE2Fast LZCNT
  48. [libx264 @ 0000000002a04a20] profile High, level 5.0
  49. [libx264 @ 0000000002a04a20] 264 - core 148 r2721 72d53ab - H.264/MPEG-4 AVC codec - Copyleft 2003-2
  50. 016 - http://www.videolan.org/x264.html - options: cabac=1 ref=2 deblock=1:0:0 analyse=0x3:0x113 me=
  51. hex subme=6 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 dead
  52. zone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=3 lookahead_threads=1 sliced_threads=0 nr=0 deci
  53. mate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 dir
  54. ect=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=1 scenecut=40 intra_refresh=0 rc_lookahea
  55. d=30 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
  56. Output #0, mp4, to 'aaa_Transcode_OUT\index058.mp4':
  57. Metadata:
  58. encoder : Lavf57.57.100
  59. Stream #0:0: Video: h264 (libx264), 1 reference frame ([33][0][0][0] / 0x0021), yuvj420p(pc, cen
  60. ter), 2592x1944 [SAR 1:1 DAR 4:3], q=-1--1, 1 fps, 16384 tbn, 1 tbc
  61. Metadata:
  62. encoder : Lavc57.66.101 libx264
  63. Side data:
  64. cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
  65. Stream mapping:
  66. Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  67. Press [q] to stop, [?] for help
  68. [h264 @ 000000000040f400] Reinit context to 2592x1952, pix_fmt: yuvj420p
  69. [h264 @ 00000000029d3c00] error while decoding MB 158 121, bytestream -36eed= 0x
  70. [h264 @ 00000000029d3c00] concealing 53 DC, 53 AC, 53 MV errors in I frame
  71. [mp4 @ 0000000000382900] Timestamps are unset in a packet for stream 0. This is deprecated and will
  72. stop working in the future. Fix your code to set the timestamps properly
  73. av_interleaved_write_frame(): Invalid argument
  74. No more output streams to write to, finishing.
  75. frame= 38 fps=1.7 q=17.0 Lsize= 0kB time=-577014:32:22.77 bitrate=N/A speed=N/A
  76. video:159kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
  77. Input file #0 (index058.mp4):
  78. Input stream #0:0 (video): 1186 packets read (16543668 bytes); 1184 frames decoded;
  79. Total: 1186 packets (16543668 bytes) demuxed
  80. Output file #0 (aaa_Transcode_OUT\index058.mp4):
  81. Output stream #0:0 (video): 38 frames encoded; 1 packets muxed (162861 bytes);
  82. Total: 1 packets (162861 bytes) muxed
  83. [libx264 @ 0000000002a04a20] frame I:1 Avg QP: 7.44 size:162173
  84. [libx264 @ 0000000002a04a20] frame P:37 Avg QP: 8.55 size:184879
  85. [libx264 @ 0000000002a04a20] mb I I16..4: 47.1% 33.9% 19.0%
  86. [libx264 @ 0000000002a04a20] mb P I16..4: 30.6% 34.8% 20.5% P16..4: 9.2% 2.5% 0.5% 0.0% 0.0%
  87. skip: 1.9%
  88. [libx264 @ 0000000002a04a20] 8x8 transform intra:40.3% inter:58.0%
  89. [libx264 @ 0000000002a04a20] coded y,uvDC,uvAC intra: 55.4% 5.5% 3.9% inter: 36.8% 20.0% 1.1%
  90. [libx264 @ 0000000002a04a20] i16 v,h,dc,p: 38% 26% 29% 7%
  91. [libx264 @ 0000000002a04a20] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 31% 19% 37% 2% 2% 2% 2% 2% 2%
  92. [libx264 @ 0000000002a04a20] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 32% 19% 34% 3% 3% 3% 3% 2% 2%
  93. [libx264 @ 0000000002a04a20] i8c dc,h,v,p: 81% 9% 10% 0%
  94. [libx264 @ 0000000002a04a20] Weighted P-Frames: Y:18.9% UV:2.7%
  95. [libx264 @ 0000000002a04a20] ref P L0: 60.0% 40.0%
  96. [libx264 @ 0000000002a04a20] kb/s:291.78
  97. Conversion failed!
  98. Press any key to continue . . .
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement