Opened 5 years ago

Closed 5 years ago

#4068 closed defect (duplicate)

Muxing several subtitles streams in .m2ts with mpegts muxer not working

Reported by: Starbuck Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

FFmpeg can't mux several subtitles streams in M2TS while it could do (BDMV files are M2TS).
How to reproduce:

% ffmpeg.exe -canvas_size 720x480 -i C:/Users/Me/Temp/title04.mkv -strict -2 -f mpegts -map 0:0 -filter:v:0 yadif,scale=940:400 -c:v:0 libx264 -crf:v:0 19 -map 0:1 -c:a:0 libfdk_aac -b:a:0 330k -metadata:s:a:0 language=eng -map 0:2 -c:s:0 copy -metadata:s:s:0 language=fra -map 0:3 -c:s:1 copy -metadata:s:s:1 language=ita -y D:/Users/Me/Videos/Video 360/DH_title_4.m2ts
ffmpeg version N-65991-g8c63a0d-Sherpya Copyright (c) 2000-2014 the FFmpeg developers
  built on Aug 31 2014 05:05:49 with gcc 4.9-win32 (GCC)

The trancoding goes to 100% witout error:
...
Input #0, matroska,webm, from 'C:/Users/Me/Temp/title04.mkv':

Metadata:

encoder : libmakemkv v1.8.13 (1.3.0/1.4.1) win(x64-release)
creation_time : 2014-10-30 14:48:31

Duration: 00:09:36.78, start: 0.000000, bitrate: 5521 kb/s

Stream #0:0(eng): Video: mpeg2video (Main), yuv420p(tv, smpte170m), 720x480 [SAR 32:27 DAR 16:9], max. 9800 kb/s, SAR 186:157 DAR 279:157, 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc
Stream #0:1(eng): Audio: ac3, 48000 Hz, stereo, fltp, 224 kb/s (default)
Metadata:

title : Stereo

Stream #0:2(fra): Subtitle: hdmv_pgs_subtitle, 720x480
Stream #0:3(ita): Subtitle: hdmv_pgs_subtitle, 720x480
Stream #0:4(ces): Subtitle: hdmv_pgs_subtitle, 720x480
Stream #0:5(por): Subtitle: hdmv_pgs_subtitle, 720x480
Stream #0:6(ell): Subtitle: hdmv_pgs_subtitle, 720x480
Stream #0:7(pol): Subtitle: hdmv_pgs_subtitle, 720x480
Stream #0:8(nld): Subtitle: hdmv_pgs_subtitle, 720x480

...
video:95628kB audio:23238kB subtitle:2878kB other streams:0kB global headers:0kB muxing overhead: 0.271995%

But there is no subtitles in output file.

Same command with -f matroska and .mkv output file works.

Change History (1)

comment:1 Changed 5 years ago by cehoyos

  • Keywords m2ts removed
  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of ticket #2622

Note: See TracTickets for help on using tickets.