Bug#789254: bs1770gain: Unable to transcode audio of MPEG file (stuttering sound)

Petter Reinholdtsen pere at hungry.com
Fri Jun 19 08:39:38 UTC 2015


Package: bs1770gain
Version: 0.4.3-1

The bs1770gain program fail to properly adjust the sound loudness of the
MPEG file available from
<URL: http://www.nuug.no/pub/video/published/20030213-cvs.mpeg >.  The
resulting video have stuttering sound.  I've seen the same problem when
processing DV files, while WAV audio files seem to work as it should.

This is the mediainfo output for the input file:

General
Complete name                            : 20030213-cvs.mpeg
Format                                   : MPEG-PS
File size                                : 18.1 MiB
Duration                                 : 8mn 12s
Overall bit rate mode                    : Variable
Overall bit rate                         : 309 Kbps

Video
ID                                       : 224 (0xE0)
Format                                   : MPEG Video
Format version                           : Version 1
Format settings, BVOP                    : No
Format settings, Matrix                  : Default
Duration                                 : 8mn 12s
Bit rate mode                            : Variable
Bit rate                                 : 239 Kbps
Width                                    : 384 pixels
Height                                   : 288 pixels
Display aspect ratio                     : 4:3
Frame rate                               : 25.000 fps
Color space                              : YUV
Bit depth                                : 8 bits
Scan type                                : Progressive
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.086
Stream size                              : 14.0 MiB (77%)

Audio
ID                                       : 192 (0xC0)
Format                                   : MPEG Audio
Format version                           : Version 1
Format profile                           : Layer 2
Duration                                 : 8mn 12s
Bit rate mode                            : Constant
Bit rate                                 : 64.0 Kbps
Channel(s)                               : 1 channel
Sampling rate                            : 32.0 KHz
Compression mode                         : Lossy
Stream size                              : 3.75 MiB (21%)

To test this, run

  wget http://www.nuug.no/pub/video/published/20030213-cvs.mpeg
  bs1770gain 20030213-cvs.mpeg -a -o foo
  vlc foo/20030213-cvs.mkv

This is the output when I test.  Perhpas the errors from the transcoding
session are relevant for the problem?

% bs1770gain 20030213-cvs.mpeg -a -o foo
analyzing ...
  [1/1] "20030213-cvs.mpeg": 7%Error decoding audio: frame_reader_run(), "ffsox_frame_reader.c" (148).
Error running machine: ffsox_machine_run(), "ffsox_machine.c" (31).
Error running machine: ffsox_sox_reader_read(), "ffsox_sox_reader.c" (118).
Error reading: drain(), "ffsox_sox_read_handler.c" (63).
        
      integrated:  -52.5 LUFS / 29.5 LU
transcoding ...
  [1/1] "20030213-cvs.mkv" 7%Error decoding audio: frame_reader_run(), "ffsox_frame_reader.c" (148).
Error running machine: ffsox_machine_run(), "ffsox_machine.c" (31).
Error running machine: bs1770gain_transcode(), "bs1770gain_transcode.c" (332).
done.
% bs1770gain foo/20030213-cvs.mkv 
analyzing ...
  [1/1] "20030213-cvs.mkv":         
      integrated:  -23.2 LUFS / 0.2 LU
  [ALBUM]:
      integrated:  -23.2 LUFS / 0.2 LU
done.
% 

-- 
Happy hacking
Petter Reinholdtsen



More information about the pkg-multimedia-maintainers mailing list