diff --git a/removeads.py b/removeads.py index d1cd0e6..64f5884 100755 --- a/removeads.py +++ b/removeads.py @@ -496,7 +496,7 @@ def extractAllStreams(inputFile, begin, end, streams, filesPrefix, nbFrames, wid memfds = [] for stream in streams: if stream['codec_type'] == 'video': - logger.info("Extracting video stream v:%d" % videoID) + logger.info("Extracting %d frames of video stream v:%d" % (nbFrames,videoID)) frameRate = stream['r_frame_rate'] pattern = re.compile('^(?P[0-9]+)/(?P[0-9]+)$') m = pattern.match(frameRate) @@ -537,7 +537,7 @@ def extractAllStreams(inputFile, begin, end, streams, filesPrefix, nbFrames, wid '-color_trc:v:%d' % videoID, colorTransfer, '-color_range:v:%d' % videoID, colorRange]) videoID=videoID+1 elif stream['codec_type'] == 'audio': - logger.info("Extracting audio stream: a:%d" % audioID) + logger.info("Extracting %d packets of audio stream: a:%d" % (audioID,nbPackets)) sampleRate = int(stream['sample_rate']) nbChannels = int(stream['channels']) bitRate = int(stream['bit_rate'])