diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-01-27 21:46:06 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-01-27 21:46:06 +0000 |
commit | fe6143b5926d90fca30cb3bc8ee5b0d12a13d267 (patch) | |
tree | 57ffad6858d2bbdd7ffc17285ec7cf313fdc569f | |
parent | 7c29364fbd26cbf34d3711834f11ee2368805b7f (diff) |
show actual video:audio bitrates at status line
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4395 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | mencoder.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mencoder.c b/mencoder.c index 86c259ef1d..a15f466bb3 100644 --- a/mencoder.c +++ b/mencoder.c @@ -1435,12 +1435,14 @@ if(sh_audio && !demuxer2){ (int)demuxer->filepos, (int)demuxer->movi_end); #else - mp_msg(MSGT_AVSYNC,MSGL_STATUS,"Pos:%6.1fs %6df (%2d%%) %3dfps Trem:%4dmin %3dmb A-V:%5.3f \r", + mp_msg(MSGT_AVSYNC,MSGL_STATUS,"Pos:%6.1fs %6df (%2d%%) %3dfps Trem:%4dmin %3dmb A-V:%5.3f [%d:%d]\r", mux_v->timer, decoded_frameno, (int)(p*100), (t>1) ? (int)(decoded_frameno/t) : 0, (p>0.001) ? (int)((t/p-t)/60) : 0, (p>0.001) ? (int)(ftell(muxer_f)/p/1024/1024) : 0, - v_pts_corr + v_pts_corr, + (mux_v->timer>1) ? (int)(mux_v->size/mux_v->timer/125) : 0, + (mux_a->timer>1) ? (int)(mux_a->size/mux_a->timer/125) : 0 ); #endif } |