changeset 4394:e8b73a96b736

show actual video:audio bitrates at status line
author arpi
date Sun, 27 Jan 2002 21:46:06 +0000
parents 177e31fc74eb
children 817530449706
files mencoder.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mencoder.c	Sun Jan 27 21:37:46 2002 +0000
+++ b/mencoder.c	Sun Jan 27 21:46:06 2002 +0000
@@ -1435,12 +1435,14 @@
 	    (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
     }