[packman] HandBrake on Leap 15.3 does not produce hearable audio tracks

Manfred Hollstein manfred.h at gmx.net
Sun May 30 11:36:06 CEST 2021


Hi there,

On Sat, 29 May 2021, 21:16:58 +0200, Manfred Hollstein wrote:
> On Sat, 29 May 2021, 20:55:29 +0200, Luigi Baldoni wrote:
> > Sent: Saturday, May 29, 2021 at 8:05 PM
> > From: "Manfred Hollstein" <manfred.h at gmx.net>
> > >
> > > I normally use HandBrake to convert AV recordings from my Dreambox into
> > > a format to keep on my local server. Doing this on Leap 15.3 produces a
> > > video which can be seen, and it also produces audio channels which are
> > > shown normally using e.g. "mpv" - however, the audio is not hearable,
> > > it's just silent.
> > >
> > > Trying to playback that file using "vlc" then shows:
> > >
> > > $ vlc S01E05.D\303nnes\ Eis.mkv
> > > VLC media player 3.0.13 Vetinari (revision 3.0.12.1-158-g6977abc430)
> > > [0000555864925f90] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
> > > [0000555864a09f30] main audio output error: too low audio sample frequency (0)
> > > [00007fc0ccd0de10] main decoder error: failed to create audio output
> > > [00007fc0b4007020] gl gl: Initialized libplacebo v2.43.1
> > > libva info: VA-API version 1.10.0
> > > libva info: User environment variable requested driver 'iHD'
> > > libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
> > > libva info: Found init function __vaDriverInit_1_10
> > > libva info: va_openDriver() returns 0
> > > [00007fc0ccc35ee0] avcodec decoder: Using Intel iHD driver for Intel(R) Gen Graphics - 20.3.0 () for hardware decoding
> > >
> > > Note the "main audio output error: too low audio sample frequency"! I
> > > guess this is the reason why there is no audio. Trying to play back the
> > > same file on Leap 15.2 does not change anything, so the issue is caused
> > > on the conversion side, i.e. on Leap 15.3. Using the same preset on Leap
> > > 15.2 I get a fully functional video with hearable sound! AFAICS, the
> > > main difference between Leap 15.2 and 15.3 is ffmpeg-4.2 vs. ffmpeg-4.4.
> > 
> > What does mediainfo have to say about it?
> 
> Did not know about that program yet, will install it next.
> 
> As an FYI, I rebooted into Leap 15.2 in the meantime and converted the
> file successfully.  Interestingly, "vlc" still complains about the low
> audio sample frequency and happily plays back video and audio. Will
> check again tomorrow on 15.3.

I've now converted another movie on Leap 15.2 and 15.3 each. The full
output from mediainfo is attached to this e-mail (hope it'll get through
to the list); the differences are looking rather interesting:

$ diff S01E06.Ohne\ Reue-15.?.mkv.txt
2,3c2,3
< Unique ID                                : 280280205797993800007701827854470990123 (0xD2DC010DC8092B9E843DA25967F3C92B)
< Complete name                            : S01E06.Ohne Reue-15.2.mkv
---
> Unique ID                                : 76328831096654112612654232567787584869 (0x396C65ECB1A2EF9E5EC4DFF97A887D65)
> Complete name                            : S01E06.Ohne Reue-15.3.mkv
6c6
< File size                                : 2.29 GiB
---
> File size                                : 1.85 GiB
8c8
< Overall bit rate                         : 3 996 kb/s
---
> Overall bit rate                         : 3 220 kb/s
12c12
< Encoded date                             : UTC 2021-05-30 08:38:19
---
> Encoded date                             : UTC 2021-05-30 07:18:11
14c14
< Writing library                          : Lavf58.29.100
---
> Writing library                          : Lavf58.76.100
48c48
< DURATION                                 : 01:22:06,123000000
---
> DURATION                                 : 01:22:06,102000000
54d53
< Commercial name                          : Dolby Digital
57,58d55
< Bit rate mode                            : Constant
< Bit rate                                 : 448 kb/s
60d56
< Channel layout                           : L R C LFE Ls Rs
62d57
< Frame rate                               : 31.250 FPS (1536 SPF)
64,65d58
< Delay relative to video                  : -484 ms
< Stream size                              : 263 MiB (11%)
68d60
< Service kind                             : Complete Main
71c63
< DURATION                                 : 01:22:05,319000000
---
> DURATION                                 : 00:00:00,000000000
84d75
< Delay relative to video                  : -683 ms
89c80
< DURATION                                 : 01:22:05,418000000
---
> DURATION                                 : 00:00:00,000000000
102d92
< Delay relative to video                  : -651 ms
106c96
< DURATION                                 : 01:22:05,450000000
---
> DURATION                                 : 00:00:00,000000000

The most interesting item to me is this:

< Commercial name                          : Dolby Digital
57,58d55
< Bit rate mode                            : Constant
< Bit rate                                 : 448 kb/s
60d56
< Channel layout                           : L R C LFE Ls Rs
62d57
< Frame rate                               : 31.250 FPS (1536 SPF)
64,65d58
< Delay relative to video                  : -484 ms
< Stream size                              : 263 MiB (11%)
68d60
< Service kind                             : Complete Main

All these elements exist only in the file produced on 15.2. Will compare
the presets between both worlds, but I presume some elements are missing
in the 15.3 version.

Cheers.

l8er
manfred
-------------- next part --------------
General
Unique ID                                : 280280205797993800007701827854470990123 (0xD2DC010DC8092B9E843DA25967F3C92B)
Complete name                            : S01E06.Ohne Reue-15.2.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 2.29 GiB
Duration                                 : 1 h 22 min
Overall bit rate                         : 3 996 kb/s
Movie name                               : Ohne Reue
Description                              : Jesse Stone
Released date                            : 2010-10-31
Encoded date                             : UTC 2021-05-30 08:38:19
Writing application                      : HandBrake 1.3.3 2020071600
Writing library                          : Lavf58.29.100
ErrorDetectionType                       : Per level 1
ARTIST                                   : Tom Selleck, Kathy Baker, Kohl Sudduth, Stephen McHattie
DIRECTOR                                 : Robert Harmon
GENRE                                    : Krimi
SYNOPSIS                                 : In Folge 6 der Jesse Stone-Reihe wird es ungemütlich für Chief Stone: Ein Parkhaus-Serienkiller treibt in Boston sein Unwesen. Jesse Stone mischt sich – obwohl vom Dienst suspendiert – gegen jede Vernunft ein. Privat allerdings läuft es für Jesse etwas ruhiger, denn zum ersten Mal gehören zu seinen besten Freunden nicht nur Golden Retriever Reggie und ein Glas Whisky, sondern auch eine Kollegin, die mit Eheproblemen kämpft. Schneller und auch etwas härter erzählt als seine Vorgänger, ist der jüngste Jesse-Stone-Auftritt der vorläufige Abschluss der beliebten Reihe.

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Main at L4
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 4 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 1 h 22 min
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 50.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Writing library                          : x264 core 161
Encoding settings                        : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=7 / psy=1 / psy_rd=1,00:0,00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=500 / keyint_min=50 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=18,0 / qcomp=0,60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=20000 / vbv_bufsize=25000 / crf_max=0,0 / nal_hrd=none / filler=0 / ip_ratio=1,40 / aq=1:1,00
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709
DURATION                                 : 01:22:06,123000000

Audio #1
ID                                       : 2
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : A_AC3
Duration                                 : 1 h 22 min
Bit rate mode                            : Constant
Bit rate                                 : 448 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Delay relative to video                  : -484 ms
Stream size                              : 263 MiB (11%)
Title                                    : Surround
Language                                 : German
Service kind                             : Complete Main
Default                                  : Yes
Forced                                   : No
DURATION                                 : 01:22:05,319000000

Audio #2
ID                                       : 3
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : A_AAC-2
Duration                                 : 1 h 22 min
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Delay relative to video                  : -683 ms
Title                                    : Stereo
Language                                 : German
Default                                  : No
Forced                                   : No
DURATION                                 : 01:22:05,418000000

Audio #3
ID                                       : 4
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : A_AAC-2
Duration                                 : 1 h 22 min
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Delay relative to video                  : -651 ms
Title                                    : English
Default                                  : No
Forced                                   : No
DURATION                                 : 01:22:05,450000000


-------------- next part --------------
General
Unique ID                                : 76328831096654112612654232567787584869 (0x396C65ECB1A2EF9E5EC4DFF97A887D65)
Complete name                            : S01E06.Ohne Reue-15.3.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 1.85 GiB
Duration                                 : 1 h 22 min
Overall bit rate                         : 3 220 kb/s
Movie name                               : Ohne Reue
Description                              : Jesse Stone
Released date                            : 2010-10-31
Encoded date                             : UTC 2021-05-30 07:18:11
Writing application                      : HandBrake 1.3.3 2020071600
Writing library                          : Lavf58.76.100
ErrorDetectionType                       : Per level 1
ARTIST                                   : Tom Selleck, Kathy Baker, Kohl Sudduth, Stephen McHattie
DIRECTOR                                 : Robert Harmon
GENRE                                    : Krimi
SYNOPSIS                                 : In Folge 6 der Jesse Stone-Reihe wird es ungemütlich für Chief Stone: Ein Parkhaus-Serienkiller treibt in Boston sein Unwesen. Jesse Stone mischt sich – obwohl vom Dienst suspendiert – gegen jede Vernunft ein. Privat allerdings läuft es für Jesse etwas ruhiger, denn zum ersten Mal gehören zu seinen besten Freunden nicht nur Golden Retriever Reggie und ein Glas Whisky, sondern auch eine Kollegin, die mit Eheproblemen kämpft. Schneller und auch etwas härter erzählt als seine Vorgänger, ist der jüngste Jesse-Stone-Auftritt der vorläufige Abschluss der beliebten Reihe.

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Main at L4
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 4 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 1 h 22 min
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 50.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Writing library                          : x264 core 161
Encoding settings                        : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=7 / psy=1 / psy_rd=1,00:0,00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=500 / keyint_min=50 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=18,0 / qcomp=0,60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=20000 / vbv_bufsize=25000 / crf_max=0,0 / nal_hrd=none / filler=0 / ip_ratio=1,40 / aq=1:1,00
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709
DURATION                                 : 01:22:06,102000000

Audio #1
ID                                       : 2
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Codec ID                                 : A_AC3
Duration                                 : 1 h 22 min
Channel(s)                               : 6 channels
Sampling rate                            : 48.0 kHz
Compression mode                         : Lossy
Title                                    : Surround
Language                                 : German
Default                                  : Yes
Forced                                   : No
DURATION                                 : 00:00:00,000000000

Audio #2
ID                                       : 3
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : A_AAC-2
Duration                                 : 1 h 22 min
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Title                                    : Stereo
Language                                 : German
Default                                  : No
Forced                                   : No
DURATION                                 : 00:00:00,000000000

Audio #3
ID                                       : 4
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : A_AAC-2
Duration                                 : 1 h 22 min
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Title                                    : English
Default                                  : No
Forced                                   : No
DURATION                                 : 00:00:00,000000000


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.links2linux.de/pipermail/packman/attachments/20210530/0f02247c/attachment.sig>


More information about the Packman mailing list