[FFmpeg-cvslog] ffmpeg: Interactivity support. Try pressing +-hs.
Michael Niedermayer
git at videolan.org
Sat May 14 03:03:56 CEST 2011
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat May 14 02:54:28 2011 +0200| [0f6a8579af0bd7e895e1bff32c73de48ac8a5853] | committer: Michael Niedermayer
ffmpeg: Interactivity support. Try pressing +-hs.
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0f6a8579af0bd7e895e1bff32c73de48ac8a5853
---
ffmpeg.c | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/ffmpeg.c b/ffmpeg.c
index aa16e0a..f322559 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2591,6 +2591,18 @@ static int transcode(AVFormatContext **output_files,
key = read_key();
if (key == 'q')
break;
+ if (key == '+') verbose++;
+ if (key == '-') verbose--;
+ if (key == 's') qp_hist ^= 1;
+ if (key == 'h'){
+ if (do_hex_dump){
+ do_hex_dump = do_pkt_dump = 0;
+ } else if(do_pkt_dump){
+ do_hex_dump = 1;
+ } else
+ do_pkt_dump = 1;
+ av_log_set_level(AV_LOG_DEBUG);
+ }
}
/* select the stream that we must read now by looking at the
More information about the ffmpeg-cvslog
mailing list