Bug#805526: handbrake: Fails to encode MKV with Text [CC] subtitle track

Maiku cmaiku at gmail.com
Thu Nov 19 07:39:06 UTC 2015


Package: handbrake
Version: 0.10.2+ds1-1+b3
Severity: normal

When trying to encode a DVD using Handbrake, if I try to include the Closed
Captions track, it starts the encode, but fails almost immediately.

I did some digging and this seems to be caused by handbrake using
AV_CODEC_ID_SSA (handbrake's libhb/muxavformat.c:~718), which ffmpeg appears
not to include in the matroska encoder (ffmpeg's libavformat/matroska.c:~73).
However, ffmpeg does contain AV_CODEC_ID_ASS and seems to use it for ssa.
https://github.com/apsun/AniConvert#why-do-i-get-the-error-assertionerror-
track-count-mismatch appears to share this concluson.

I don't know if that means for debian builds it could be changed to use the
other AV_CODEC_ID_ASS instead or if there's more implications to it than that.



-- System Information:
Debian Release: stretch/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'unstable'), (500,
'testing'), (500, 'stable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages handbrake depends on:
ii  dpkg                            1.18.3
ii  libass5                         0.13.0-1
ii  libavcodec-ffmpeg56             7:2.8.2-1
ii  libavformat-ffmpeg56            7:2.8.2-1
ii  libavresample-ffmpeg2           7:2.8.2-1
ii  libavutil-ffmpeg54              7:2.8.2-1
ii  libbluray1                      1:0.9.1-1
ii  libc6                           2.19-22
ii  libcairo2                       1.14.4-1
ii  libdbus-glib-1-2                0.102-1
ii  libdvdnav4                      5.0.3-1
ii  libdvdread4                     5.0.3-1
ii  libgdk-pixbuf2.0-0              2.32.2-1
ii  libglib2.0-0                    2.46.2-1
ii  libgstreamer-plugins-base1.0-0  1.6.1-1
ii  libgstreamer1.0-0               1.6.1-1
ii  libgtk-3-0                      3.18.5-1
ii  libgudev-1.0-0                  230-2
ii  libmp3lame0                     3.99.5+repack1-9
ii  libnotify4                      0.7.6-2
ii  libpango-1.0-0                  1.38.1-1
ii  libsamplerate0                  0.1.8-8
ii  libswscale-ffmpeg3              7:2.8.2-1
ii  libtheora0                      1.1.1+dfsg.1-7
ii  libvorbis0a                     1.3.4-3
ii  libvorbisenc2                   1.3.4-3
ii  libx264-148                     2:0.148.2601+gita0cd7d3-3
ii  libx265-68                      1.8-4

Versions of packages handbrake recommends:
ii  gstreamer1.0-alsa        1.6.1-1
ii  gstreamer1.0-libav       1.6.1-1
ii  gstreamer1.0-pulseaudio  1.6.1-1
ii  gstreamer1.0-x           1.6.1-1

handbrake suggests no packages.

-- no debconf information



More information about the pkg-multimedia-maintainers mailing list