[Mplayer-cvslog] CVS: main mencoder.c,1.73,1.74
Arpi of Ize
arpi at mplayer.dev.hu
Sun Jan 27 22:46:08 CET 2002
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv11928
Modified Files:
mencoder.c
Log Message:
show actual video:audio bitrates at status line
Index: mencoder.c
===================================================================
RCS file: /cvsroot/mplayer/main/mencoder.c,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -r1.73 -r1.74
--- mencoder.c 27 Jan 2002 21:37:46 -0000 1.73
+++ mencoder.c 27 Jan 2002 21:46:06 -0000 1.74
@@ -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
}
More information about the MPlayer-cvslog
mailing list