[FFmpeg-user] can "Press [q] to stop, [?] for help" be disabled in FFmpeg.exe? Please help!

James Heliker james.heliker at gmail.com
Sat Apr 25 01:06:24 CEST 2015


Hello

I'm trying to automate the calling of FFmpeg via Windows command line, 
and everything is working well until FFmpeg actually begins an encode 
and prints out: "Press [q] to stop, [?] for help"

Is it possible to disable that functionality that seems to be re-opening 
a stream somehow? It is crashing everything I have tried to use, even 
sysinternals' PSExec and the lesser-known PAExec counterpart 
(http://www.poweradmin.com/paexec/).

It believe things would be perfect if I could somehow get FFmpeg to run 
without doing that extra "listen" for whether I want to push "q" or "?"...

Complete, uncut output below:

C:\Users\jheliker>C:\\ffmpeg.exe -hide_banner -i C:\\sample_iTunes.mov 
-pix_fmt
yuv420p -vf "yadif=0:-1:0, scale=640:480" -vcodec libx264 -profile:v 
high -prese
t slow -b:v 3M  -g 15  -keyint_min 30 -map 0:0 -map 0:1 -ac 2 -strict 
experiment
al -acodec aac -ab 128k -minrate 128k -ar 44100 -y C:\\TestOut.mp4
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\\sample_iTunes.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 537199360
     compatible_brands: qt
     creation_time   : 2005-10-17 22:54:32
   Duration: 00:01:25.50, start: 0.000000, bitrate: 311 kb/s
     Stream #0:0(eng): Video: mpeg4 (Simple Profile) (mp4v / 
0x7634706D), yuv420p
, 640x480 [SAR 1:1 DAR 4:3], 261 kb/s, 10 fps, 10 tbr, 3k tbn, 25 tbc 
(default)
     Metadata:
       creation_time   : 2005-10-17 22:54:33
       handler_name    : Apple Alias Data Handler
       encoder         : 3ivx D4 4.5.1
     Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 32000 Hz, 
mono, fltp,
  43 kb/s (default)
     Metadata:
       creation_time   : 2005-10-17 22:54:34
       handler_name    : Apple Alias Data Handler
[libx264 @ 04f90060] using SAR=1/1
[libx264 @ 04f90060] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 04f90060] profile High, level 3.0
[libx264 @ 04f90060] 264 - core 144 r2525 40bb568 - H.264/MPEG-4 AVC 
codec - Cop
yleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 
ref=5 deb
lock=1:0:0 analyse=0x3:0x113 me=umh subme=8 psy=1 psy_rd=1.00:0.00 
mixed_ref=1 m
e_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 
fast_pskip=1 chro
ma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 
decimate=1 i
nterlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 
b_adapt=2
b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=15 keyint_min=8 
scenecut
=40 intra_refresh=0 rc_lookahead=15 rc=abr mbtree=1 bitrate=3000 
ratetol=1.0 qco
mp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'C:\\TestOut.mp4':
   Metadata:
     major_brand     : qt
     minor_version   : 537199360
     compatible_brands: qt
     encoder         : Lavf56.15.102
     Stream #0:0(eng): Video: h264 (libx264) ([33][0][0][0] / 0x0021), 
yuv420p, 6
40x480 [SAR 1:1 DAR 4:3], q=-1--1, 3000 kb/s, 10 fps, 10240 tbn, 10 tbc 
(default
)
     Metadata:
       creation_time   : 2005-10-17 22:54:33
       handler_name    : Apple Alias Data Handler
       encoder         : Lavc56.13.100 libx264
     Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, 
stereo, flt
p, 128 kb/s (default)
     Metadata:
       creation_time   : 2005-10-17 22:54:34
       handler_name    : Apple Alias Data Handler
       encoder         : Lavc56.13.100 aac
Stream mapping:
   Stream #0:0 -> #0:0 (mpeg4 (native) -> h264 (libx264))
   Stream #0:1 -> #0:1 (aac (native) -> aac (native))
*Press [q] to stop, [?] for help*
frame=   62 fps=0.0 q=0.0 size=     156kB time=00:00:06.59 bitrate= 
193.2kbits/s
frame=   93 fps= 93 q=0.0 size=     248kB time=00:00:10.07 bitrate= 
201.5kbits/s
frame=  143 fps= 95 q=0.0 size=     566kB time=00:00:14.86 bitrate= 
312.2kbits/s
frame=  203 fps=101 q=0.0 size=     908kB time=00:00:20.96 bitrate= 
354.9kbits/s
frame=  267 fps=106 q=0.0 size=    1254kB time=00:00:27.07 bitrate= 
379.4kbits/s
frame=  279 fps= 92 q=0.0 size=    1331kB time=00:00:28.60 bitrate= 
381.2kbits/s
frame=  320 fps= 91 q=0.0 size=    1510kB time=00:00:32.71 bitrate= 
378.1kbits/s
frame=  351 fps= 87 q=0.0 size=    1746kB time=00:00:35.78 bitrate= 
399.6kbits/s
frame=  363 fps= 80 q=0.0 size=    2607kB time=00:00:36.98 bitrate= 
577.5kbits/s
frame=  391 fps= 78 q=0.0 size=    3306kB time=00:00:39.86 bitrate= 
679.3kbits/s
frame=  418 fps= 75 q=0.0 size=    4145kB time=00:00:42.70 bitrate= 
795.3kbits/s
frame=  463 fps= 77 q=0.0 size=    4920kB time=00:00:46.53 bitrate= 
866.1kbits/s
frame=  498 fps= 76 q=0.0 size=    5381kB time=00:00:50.36 bitrate= 
875.3kbits/s
frame=  533 fps= 76 q=0.0 size=    5483kB time=00:00:53.73 bitrate= 
835.9kbits/s
frame=  548 fps= 73 q=0.0 size=    6054kB time=00:00:55.58 bitrate= 
892.2kbits/s
frame=  578 fps= 71 q=0.0 size=    6543kB time=00:00:58.30 bitrate= 
919.3kbits/s
frame=  603 fps= 70 q=0.0 size=    7552kB time=00:01:00.90 
bitrate=1015.7kbits/s
frame=  634 fps= 69 q=0.0 size=    8168kB time=00:01:03.94 
bitrate=1046.4kbits/s
frame=  670 fps= 70 q=0.0 size=    8654kB time=00:01:07.52 
bitrate=1049.8kbits/s
frame=  681 fps= 67 q=0.0 size=    9384kB time=00:01:08.54 
bitrate=1121.5kbits/s
frame=  703 fps= 66 q=0.0 size=   10267kB time=00:01:10.58 
bitrate=1191.5kbits/s
frame=  738 fps= 66 q=0.0 size=   10649kB time=00:01:14.37 
bitrate=1173.0kbits/s
frame=  760 fps= 65 q=0.0 size=   10910kB time=00:01:16.74 
bitrate=1164.6kbits/s
frame=  793 fps= 65 q=0.0 size=   11389kB time=00:01:20.03 
bitrate=1165.7kbits/s
frame=  843 fps= 67 q=0.0 size=   11804kB time=00:01:25.10 
bitrate=1136.2kbits/s
frame=  855 fps= 66 q=-1.0 Lsize=   12188kB time=00:01:25.54 
bitrate=1167.2kbits
/s
video:10992kB audio:1158kB subtitle:0kB other streams:0kB global 
headers:0kB mux
ing overhead: 0.313416%
[libx264 @ 04f90060] frame I:60    Avg QP: 0.09  size: 53983
[libx264 @ 04f90060] frame P:308   Avg QP: 0.31  size: 15754
[libx264 @ 04f90060] frame B:487   Avg QP: 1.02  size:  6497
[libx264 @ 04f90060] consecutive B-frames: 18.8% 12.4%  9.8% 58.9%
[libx264 @ 04f90060] mb I  I16..4: 63.4%  8.8% 27.8%
[libx264 @ 04f90060] mb P  I16..4:  6.8%  1.5%  4.0%  P16..4:  8.2% 
2.0%  2.0%
  0.0%  0.0%    skip:75.4%
[libx264 @ 04f90060] mb B  I16..4:  0.6%  0.1%  0.6%  B16..8:  6.6% 
1.1%  0.8%
  direct: 2.1%  skip:88.1%  L0:41.3% L1:41.0% BI:17.7%
[libx264 @ 04f90060] final ratefactor: -11.22
[libx264 @ 04f90060] 8x8 transform intra:10.0% inter:37.1%
[libx264 @ 04f90060] direct mvs  spatial:99.8% temporal:0.2%
[libx264 @ 04f90060] coded y,uvDC,uvAC intra: 43.4% 33.2% 31.0% inter: 
7.1% 5.5%
  5.3%
[libx264 @ 04f90060] i16 v,h,dc,p: 56% 41%  2%  0%
[libx264 @ 04f90060] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 44% 23%  2% 1%  
2%  2%
  2%  3%
[libx264 @ 04f90060] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 45% 11%  3% 4%  
4%  4%
  4%  6%
[libx264 @ 04f90060] i8c dc,h,v,p: 58% 30% 10%  2%
[libx264 @ 04f90060] Weighted P-Frames: Y:9.7% UV:5.2%
[libx264 @ 04f90060] ref P L0: 83.0%  4.6%  8.4%  2.1%  1.5%  0.4% 0.0%
[libx264 @ 04f90060] ref B L0: 85.0% 11.0%  3.7%  0.3%
[libx264 @ 04f90060] ref B L1: 96.6%  3.4%
[libx264 @ 04f90060] kb/s:1053.16

C:\Users\jheliker>



Thanks for your help!!

-- 
Kind Regards,

  - James Heliker



More information about the ffmpeg-user mailing list