comparison mencoder.c @ 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
comparison
equal deleted inserted replaced
4393:177e31fc74eb 4394:e8b73a96b736
1433 mp_msg(MSGT_AVSYNC,MSGL_STATUS,"%d < %d < %d \r", 1433 mp_msg(MSGT_AVSYNC,MSGL_STATUS,"%d < %d < %d \r",
1434 (int)demuxer->movi_start, 1434 (int)demuxer->movi_start,
1435 (int)demuxer->filepos, 1435 (int)demuxer->filepos,
1436 (int)demuxer->movi_end); 1436 (int)demuxer->movi_end);
1437 #else 1437 #else
1438 mp_msg(MSGT_AVSYNC,MSGL_STATUS,"Pos:%6.1fs %6df (%2d%%) %3dfps Trem:%4dmin %3dmb A-V:%5.3f \r", 1438 mp_msg(MSGT_AVSYNC,MSGL_STATUS,"Pos:%6.1fs %6df (%2d%%) %3dfps Trem:%4dmin %3dmb A-V:%5.3f [%d:%d]\r",
1439 mux_v->timer, decoded_frameno, (int)(p*100), 1439 mux_v->timer, decoded_frameno, (int)(p*100),
1440 (t>1) ? (int)(decoded_frameno/t) : 0, 1440 (t>1) ? (int)(decoded_frameno/t) : 0,
1441 (p>0.001) ? (int)((t/p-t)/60) : 0, 1441 (p>0.001) ? (int)((t/p-t)/60) : 0,
1442 (p>0.001) ? (int)(ftell(muxer_f)/p/1024/1024) : 0, 1442 (p>0.001) ? (int)(ftell(muxer_f)/p/1024/1024) : 0,
1443 v_pts_corr 1443 v_pts_corr,
1444 (mux_v->timer>1) ? (int)(mux_v->size/mux_v->timer/125) : 0,
1445 (mux_a->timer>1) ? (int)(mux_a->size/mux_a->timer/125) : 0
1444 ); 1446 );
1445 #endif 1447 #endif
1446 } 1448 }
1447 1449
1448 fflush(stdout); 1450 fflush(stdout);