Bug#859623: handbrake-cli: Encoding a DVD with Closed Captions (Text [CC]) stream in mkv format fails
E Harris
eharris at puremagic.com
Wed Apr 5 10:10:05 UTC 2017
Package: handbrake-cli
Version: 1.0.3+ds1-1
Severity: important
When attempting to encode a video from a DVD image using a mkv output format
and also containing a Closed Captioning stream fails to mux properly and
produces errors. A subtitle track of the same type as stream 3 from the
following seems to be required to produce the error (list is from the
handbrake-cli log):
+ subtitle tracks:
+ 1, English (iso639-2: eng) (Bitmap)(VOBSUB)
+ 2, Francais (Forced Caption) (iso639-2: fra) (Bitmap)(VOBSUB)
+ 3, Closed Captions (iso639-2: eng) (Text)(CC)
During the encode, an error similar to the following is produced in the log:
[matroska @ 0x7ff3f9596780] Subtitle codec 94212 is not supported.
Following that error which is only produced once, thousands of error messages
similar to the following are produced:
ERROR: avformatMux: track 2, av_interleaved_write_frame failed with error 'Function not implemented'
ERROR: avformatMux: track 0, av_interleaved_write_frame failed with error 'Function not implemented'
ERROR: avformatMux: track 0, av_interleaved_write_frame failed with error 'Function not implemented'
ERROR: Last error repeated 2 times
ERROR: avformatMux: track 1, av_interleaved_write_frame failed with error 'Function not implemented'
ERROR: avformatMux: track 1, av_interleaved_write_frame failed with error 'Function not implemented'
Doing the encode using exactly the same options except using '-f mp4' output
format instead of '-f mkv' seems to work fine. Likewise, leaving the Closed
Captions (Text [CC]) subtitle track out of the encode also seems to work
properly.
An example command line that produces the problem with this subtitle stream
type is as follows:
HandBrakeCLI --title 1 --quality 22 -f mkv -e x264 --audio 1 --aencoder ca_aac --ab 160 --subtitle 1,3 --input source_dvd/ --output ./output.mkv
In searching the forums for a similar error, the only reference I found was
this link which references a prior version of handbrake and which suggests
the problem might be due to a libavformat version mismatch with the binary:
https://forum.handbrake.fr/viewtopic.php?f=10&t=32082
I haven't yet been able to get all the dependencies to get handbrake to
build from source on my system, so I don't know if the "fix" suggested in
that link works in this case.
-- System Information:
Debian Release: 8.7
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages handbrake-cli depends on:
ii libass5 1:0.13.4-2
ii libavcodec57 7:3.2.4-1~bpo8+1
ii libavfilter6 7:3.2.4-1~bpo8+1
ii libavformat57 7:3.2.4-1~bpo8+1
ii libavresample3 7:3.2.4-1~bpo8+1
ii libavutil55 7:3.2.4-1~bpo8+1
ii libbluray2 1:1.0.0-2
ii libc6 2.19-18+deb8u7
ii libdvdnav4 5.0.1-1
ii libdvdread4 5.0.0-1
ii libjansson4 2.9-1
ii libsamplerate0 0.1.8-8
ii libswscale4 7:3.2.4-1~bpo8+1
ii libtheora0 1.1.1+dfsg.1-6
ii libvorbis0a 1.3.4-2
ii libvorbisenc2 1.3.4-2
ii libx264-148 2:0.148.2748+git97eaef2-1~bpo8+1
ii libx265-95 2.1-2+b2
ii libxml2 2.9.1+dfsg1-5+deb8u4
handbrake-cli recommends no packages.
handbrake-cli suggests no packages.
-- no debconf information
More information about the pkg-multimedia-maintainers
mailing list