Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#546 DVDStyler loses subtitles from .VOBs

common
accepted
nobody
None
5
2013-11-16
2013-11-09
tiun
No

DVDStyler 2.6rc2 and 2.5.2

If a .VOB with subtitles is used as a source video file, this subtitles will be transferred to the final DVD only if "do not remultiplex" check mark is set.

If this check mark is not set then either DVD without subtitles will be created, or DVD will not be produced at all - depending on "Use mplex" check box state.

Discussion

  • tiun
    tiun
    2013-11-12

    I tested the issue a bit more:

    My source .VOB contains 1 video stream, 1 audio stream and 1 subtitle stream.
    When both "do not remultiplex" and "Use mplex" check box are cleared, DVDStyler launches:

    ffmpeg -i "...\source_vob" -f dvd -c:v:0 copy -b:a 192000 -ar 48000 -c:a:0 copy -c:s:0 copy -map 0:v -map 0:a "...\dvd-cache\entry001.vob"

    and loses all subtitles:

    Input #0, mpeg, from '...\source_vob':
    Duration: 00:03:53.95, start: 0.287267, bitrate: 5530 kb/s
    Stream #0:0[0x1bf]: Data: dvd_nav_packet
    Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 64:45 DAR 16:9], max. 8500 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:2[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
    Stream #0:3[0x21]: Subtitle: dvd_subtitle
    Output #0, dvd, to '...\dvd-cache\entry001.vob':
    Metadata:
    encoder : Lavf55.14.102
    Stream #0:0: Video: mpeg2video, yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=2-31, max. 8500 kb/s, 25 fps, 90k tbn, 25 tbc
    Stream #0:1: Audio: ac3, 48000 Hz, 5.1(side), 192 kb/s
    Stream mapping:
    Stream #0:1 -> #0:0 (copy)
    Stream #0:2 -> #0:1 (copy)

    because of missing "-map 0:s" parameter.

    When "Use mplex" check mark is set, DVDStyler launches:

    ffmpeg -i "...\source_vob" -f mpeg2video -c:v:0 copy -b:a 192000 -ar 48000 -map 0:1 "...\dvd-cache\entry001.vob.m2v" -f s16be -b:a 192000 -ar 48000 -c:a:0 copy -map 0:0 "...\dvd-cache\entry001.vob.audio0"

    and FFmpeg fails because of wrong mapping of an audio stream:

    Input #0, mpeg, from 'V:\VIDEO_TS\bbb\VTS_01_1.VOB':
    Duration: 00:03:53.95, start: 0.287267, bitrate: 5530 kb/s
    Stream #0:0[0x1bf]: Data: dvd_nav_packet
    Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 64:45 DAR 16:9], max. 8500 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:2[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
    Stream #0:3[0x21]: Subtitle: dvd_subtitle

    Codec AVOption b (set bitrate (in bits/s)) specified for output file #0 (...\dvd-cache\entry001.vob.m2v) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.

    Data stream encoding not supported yet (only streamcopy)

     
  • Alex Thuering
    Alex Thuering
    2013-11-15

    Fixed in DVDStyler 2.6.
    Please test

     
  • Alex Thuering
    Alex Thuering
    2013-11-15

    • status: open --> accepted
     
  • tiun
    tiun
    2013-11-16

    Result is still negative:

    1. Without "Use mplex":
      a) "-map -0:s:0" has added instead of "-map 0:s:0"
      b) "-c:s:0 copy" parameter now is missed
      so no subtitles in the FFmpeg's output.
      (If I manually launch FFmpeg with both "-c:s:0 copy" and "-map 0:s:0" - it produces .VOB with subtitles)

    2. With "Use mplex" for my testcase:

      Input #0, mpeg, from '...\VTS_01_1.VOB':
      Duration: 00:03:53.95, start: 0.287267, bitrate: 5530 kb/s
      Stream #0:0[0x1bf]: Data: dvd_nav_packet
      Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 64:45 DAR 16:9], max. 8500 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
      Stream #0:2[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
      Stream #0:3[0x21]: Subtitle: dvd_subtitle

    the same wrong stream number is used: "-map 0:0 "\dvd-tmp\dvd-cache\entry001.vob.audio0"

     
    Last edit: tiun 2013-11-16