[FFmpeg-cvslog] ffmpeg: print muxed packet sizes in debug output too

Michael Niedermayer git at videolan.org
Tue Oct 2 02:33:28 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Oct  2 02:14:02 2012 +0200| [44ae7badae9a279824c72599573f3db9cc33dd41] | committer: Michael Niedermayer

ffmpeg: print muxed packet sizes in debug output too

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=44ae7badae9a279824c72599573f3db9cc33dd41
---

 ffmpeg.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index 8a74ad1..e0cd1e6 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -575,10 +575,11 @@ static void write_frame(AVFormatContext *s, AVPacket *pkt, OutputStream *ost)
 
     if (debug_ts) {
         av_log(NULL, AV_LOG_INFO, "muxer <- type:%s "
-                "pkt_pts:%s pkt_pts_time:%s pkt_dts:%s pkt_dts_time:%s\n",
+                "pkt_pts:%s pkt_pts_time:%s pkt_dts:%s pkt_dts_time:%s size:%d\n",
                 av_get_media_type_string(ost->st->codec->codec_type),
                 av_ts2str(pkt->pts), av_ts2timestr(pkt->pts, &ost->st->time_base),
-                av_ts2str(pkt->dts), av_ts2timestr(pkt->dts, &ost->st->time_base)
+                av_ts2str(pkt->dts), av_ts2timestr(pkt->dts, &ost->st->time_base),
+                pkt->size
               );
     }
 



More information about the ffmpeg-cvslog mailing list