[libav-bugs] [Bug 473] Segmentation Fault when trying to attach font metadata to MKV video

bugzilla-daemon at aruru.libav.org bugzilla-daemon at aruru.libav.org
Thu Mar 14 05:05:37 CET 2013


https://bugzilla.libav.org/show_bug.cgi?id=473

Seb <swaeku at gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |swaeku at gmx.com

--- Comment #1 from Seb <swaeku at gmx.com> 2013-03-14 05:05:37 CET ---
* My first try was this command:

   $ avconv -i PIANO_FOREST.ISO -b:v 800k test.mkv

Output #0, matroska, to 'test.mkv':
  Metadata:
    encoder         : Lavf53.21.1
    Stream #0.0: Video: mpeg4, yuv420p, 720x576 [PAR 16:15 DAR 4:3], q=2-31,
800 kb/s, 1k tbn, 25 tbc
    Stream #0.1: Audio: libvorbis, 48000 Hz, stereo, s16
    Stream #0.2: Subtitle: ass, 200 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video -> mpeg4)
  Stream #0:3 -> #0:1 (ac3 -> libvorbis)
  Stream #0:1 -> #0:2 (dvdsub -> ass)
Press ctrl-c to stop encoding
[ass @ 0xa79640] Only SUBTITLE_ASS type supported.
Subtitle encoding failed

* Then I tried this command to fix the subtitles problem:

   $ avconv -i PIANO_FOREST.ISO -b:v 800k -attach
/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf -metadata:s:2
mimetype=application/x-truetype-font test.mkv

[buffer @ 0x9eabc0] w:720 h:576 pixfmt:yuv420p
[matroska @ 0x9df120] Attachment stream 3 has no mimetype tag and it cannot be
deduced from the codec id.
Output #0, matroska, to 'test.mkv':
  Metadata:
    encoder         : Lavf53.21.1
    Stream #0.0: Video: mpeg4, yuv420p, 720x576 [PAR 16:15 DAR 4:3], q=2-31,
800 kb/s, 1k tbn, 25 tbc
    Stream #0.1: Audio: libvorbis, 48000 Hz, stereo, s16
    Stream #0.2: Subtitle: ass, 200 kb/s
    Metadata:
      mimetype        : application/x-truetype-font
    Stream #0.3: Attachment: [0][0][0][0] / 0x0000, 200 kb/s
    Metadata:
      filename        : DejaVuSans.ttf
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video -> mpeg4)
  Stream #0:3 -> #0:1 (ac3 -> libvorbis)
  Stream #0:1 -> #0:2 (dvdsub -> ass)
  File /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf -> Stream #0:3
Could not write header for output file #0 (incorrect codec parameters ?)

* Then I tried option "-metadata:s:3", not sure why (probably because of
"Stream #0.3"), and it produced the segmentation fault

-- 
Configure bugmail: https://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the libav-bugs mailing list