[FFmpeg-user] MP4 with 9 subtitle streams

Mark Filipak markfilipak.imdb at gmail.com
Sat Sep 23 20:33:28 EEST 2023


On Sat, Sep 23, 2023 at 1:29 PM Paul B Mahol <onemda at gmail.com> wrote:
> You have handbrake produced files with SRTs in mp4/mov?
>
> Can you show them?

ffprobe version 2023-08-10-git-d9d5695390-full_build-www.gyan.dev
Copyright (c) 2007-2023 the FFmpeg developers
  built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static
--disable-w32threads --disable-autodetect --enable-fontconfig
--enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp
--enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib
--enable-librist --enable-libsrt --enable-libssh --enable-libzmq
--enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2
--enable-libaribb24 --enable-libaribcaption --enable-libdav1d
--enable-libdavs2 --enable-libuavs3d --enable-libzvbi
--enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264
--enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom
--enable-libjxl --enable-libopenjpeg --enable-libvpx
--enable-mediafoundation --enable-libass --enable-frei0r
--enable-libfreetype --enable-libfribidi --enable-libharfbuzz
--enable-liblensfun --enable-libvidstab --enable-libvmaf
--enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid
--enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va
--enable-dxva2 --enable-libvpl --enable-libshaderc --enable-vulkan
--enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme
--enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb
--enable-libmp3lame --enable-libshine --enable-libtheora
--enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2
--enable-libilbc --enable-libgsm --enable-libopencore-amrnb
--enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa
--enable-libbs2b --enable-libflite --enable-libmysofa
--enable-librubberband --enable-libsoxr --enable-chromaprint
  libavutil      58. 16.101 / 58. 16.101
  libavcodec     60. 23.100 / 60. 23.100
  libavformat    60. 10.100 / 60. 10.100
  libavdevice    60.  2.101 / 60.  2.101
  libavfilter     9. 10.100 /  9. 10.100
  libswscale      7.  3.100 /  7.  3.100
  libswresample   4. 11.100 /  4. 11.100
  libpostproc    57.  2.100 / 57.  2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\test\HandBrake.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 512
    compatible_brands: isomiso2mp41
    creation_time   : 2023-09-23T01:41:48.000000Z
    encoder         : HandBrake 1.3.3 2020061300
  Duration: 00:07:20.87, start: 0.000000, bitrate: 7818 kb/s
  Stream #0:0[0x1](und): Video: hevc (Main) (hvc1 / 0x31637668),
yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 2187 kb/s, 23.98
fps, 23.98 tbr, 90k tbn (default)
    Metadata:
      creation_time   : 2023-09-23T01:41:48.000000Z
      handler_name    : VideoHandler
      vendor_id       : [0][0][0][0]
  Stream #0:1[0x2](und): Audio: dts (DTS-HD MA) (mp4a / 0x6134706D),
48000 Hz, 7.1, s32p (24 bit) (default)
    Metadata:
      creation_time   : 2023-09-23T01:41:48.000000Z
      handler_name    : Surround
      vendor_id       : [0][0][0][0]
  Stream #0:2[0x3](eng): Subtitle: mov_text (tx3g / 0x67337874),
1920x162, 0 kb/s (default)
    Metadata:
      creation_time   : 2023-09-23T01:41:48.000000Z
      handler_name    : SubtitleHandler
  Stream #0:3[0x4](eng): Subtitle: mov_text (tx3g / 0x67337874),
1920x162, 0 kb/s
    Metadata:
      creation_time   : 2023-09-23T01:41:48.000000Z
      handler_name    : SubtitleHandler
  Stream #0:4[0x5](eng): Subtitle: mov_text (tx3g / 0x67337874),
1920x162, 0 kb/s
    Metadata:
      creation_time   : 2023-09-23T01:41:48.000000Z
      handler_name    : SubtitleHandler
  Stream #0:5[0x6](eng): Subtitle: mov_text (tx3g / 0x67337874),
1920x162, 0 kb/s
    Metadata:
      creation_time   : 2023-09-23T01:41:48.000000Z
      handler_name    : SubtitleHandler
  Stream #0:6[0x7](eng): Subtitle: mov_text (tx3g / 0x67337874),
1920x162, 0 kb/s
    Metadata:
      creation_time   : 2023-09-23T01:41:48.000000Z
      handler_name    : SubtitleHandler
  Stream #0:7[0x8](eng): Subtitle: mov_text (tx3g / 0x67337874),
1920x162, 0 kb/s
    Metadata:
      creation_time   : 2023-09-23T01:41:48.000000Z
      handler_name    : SubtitleHandler
  Stream #0:8[0x9](eng): Subtitle: mov_text (tx3g / 0x67337874),
1920x162, 0 kb/s
    Metadata:
      creation_time   : 2023-09-23T01:41:48.000000Z
      handler_name    : SubtitleHandler
  Stream #0:9[0xa](eng): Subtitle: mov_text (tx3g / 0x67337874),
1920x162, 0 kb/s
    Metadata:
      creation_time   : 2023-09-23T01:41:48.000000Z
      handler_name    : SubtitleHandler
  Stream #0:10[0xb](eng): Subtitle: mov_text (tx3g / 0x67337874),
1920x162, 0 kb/s
    Metadata:
      creation_time   : 2023-09-23T01:41:48.000000Z
      handler_name    : SubtitleHandler
[STREAM]
index=0
codec_name=hevc
codec_long_name=H.265 / HEVC (High Efficiency Video Coding)
profile=Main
codec_type=video
codec_tag_string=hvc1
codec_tag=0x31637668
width=1920
height=1080
coded_width=1920
coded_height=1080
closed_captions=0
film_grain=0
has_b_frames=2
sample_aspect_ratio=1:1
display_aspect_ratio=16:9
pix_fmt=yuv420p
level=120
color_range=tv
color_space=bt709
color_transfer=bt709
color_primaries=bt709
chroma_location=left
field_order=unknown
refs=1
id=0x1
r_frame_rate=24000/1001
avg_frame_rate=105130000/4384797
time_base=1/90000
start_pts=0
start_time=0.000000
duration_ts=39463173
duration=438.479700
bit_rate=2187682
max_bit_rate=N/A
bits_per_raw_sample=N/A
nb_frames=10513
nb_read_frames=N/A
nb_read_packets=N/A
extradata_size=2224
DISPOSITION:default=1
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
DISPOSITION:captions=0
DISPOSITION:descriptions=0
DISPOSITION:metadata=0
DISPOSITION:dependent=0
DISPOSITION:still_image=0
TAG:creation_time=2023-09-23T01:41:48.000000Z
TAG:language=und
TAG:handler_name=VideoHandler
TAG:vendor_id=[0][0][0][0]
[/STREAM]
[STREAM]
index=1
codec_name=dts
codec_long_name=DCA (DTS Coherent Acoustics)
profile=DTS-HD MA
codec_type=audio
codec_tag_string=mp4a
codec_tag=0x6134706d
sample_fmt=s32p
sample_rate=48000
channels=8
channel_layout=7.1
bits_per_sample=0
initial_padding=0
id=0x2
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/48000
start_pts=0
start_time=0.000000
duration_ts=21161984
duration=440.874667
bit_rate=N/A
max_bit_rate=N/A
bits_per_raw_sample=24
nb_frames=41332
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=1
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
DISPOSITION:captions=0
DISPOSITION:descriptions=0
DISPOSITION:metadata=0
DISPOSITION:dependent=0
DISPOSITION:still_image=0
TAG:creation_time=2023-09-23T01:41:48.000000Z
TAG:language=und
TAG:handler_name=Surround
TAG:vendor_id=[0][0][0][0]
[/STREAM]
[STREAM]
index=2
codec_name=mov_text
codec_long_name=MOV text
profile=unknown
codec_type=subtitle
codec_tag_string=tx3g
codec_tag=0x67337874
width=1920
height=162
id=0x3
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/90000
start_pts=0
start_time=0.000000
duration_ts=39108960
duration=434.544000
bit_rate=100
max_bit_rate=N/A
bits_per_raw_sample=N/A
nb_frames=185
nb_read_frames=N/A
nb_read_packets=N/A
extradata_size=48
DISPOSITION:default=1
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
DISPOSITION:captions=0
DISPOSITION:descriptions=0
DISPOSITION:metadata=0
DISPOSITION:dependent=0
DISPOSITION:still_image=0
TAG:creation_time=2023-09-23T01:41:48.000000Z
TAG:language=eng
TAG:handler_name=SubtitleHandler
[/STREAM]
[STREAM]
index=3
codec_name=mov_text
codec_long_name=MOV text
profile=unknown
codec_type=subtitle
codec_tag_string=tx3g
codec_tag=0x67337874
width=1920
height=162
id=0x4
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/90000
start_pts=0
start_time=0.000000
duration_ts=39515940
duration=439.066000
bit_rate=72
max_bit_rate=N/A
bits_per_raw_sample=N/A
nb_frames=162
nb_read_frames=N/A
nb_read_packets=N/A
extradata_size=48
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
DISPOSITION:captions=0
DISPOSITION:descriptions=0
DISPOSITION:metadata=0
DISPOSITION:dependent=0
DISPOSITION:still_image=0
TAG:creation_time=2023-09-23T01:41:48.000000Z
TAG:language=eng
TAG:handler_name=SubtitleHandler
[/STREAM]
[STREAM]
index=4
codec_name=mov_text
codec_long_name=MOV text
profile=unknown
codec_type=subtitle
codec_tag_string=tx3g
codec_tag=0x67337874
width=1920
height=162
id=0x5
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/90000
start_pts=0
start_time=0.000000
duration_ts=36186120
duration=402.068000
bit_rate=51
max_bit_rate=N/A
bits_per_raw_sample=N/A
nb_frames=94
nb_read_frames=N/A
nb_read_packets=N/A
extradata_size=48
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
DISPOSITION:captions=0
DISPOSITION:descriptions=0
DISPOSITION:metadata=0
DISPOSITION:dependent=0
DISPOSITION:still_image=0
TAG:creation_time=2023-09-23T01:41:48.000000Z
TAG:language=eng
TAG:handler_name=SubtitleHandler
[/STREAM]
[STREAM]
index=5
codec_name=mov_text
codec_long_name=MOV text
profile=unknown
codec_type=subtitle
codec_tag_string=tx3g
codec_tag=0x67337874
width=1920
height=162
id=0x6
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/90000
start_pts=0
start_time=0.000000
duration_ts=38717550
duration=430.195000
bit_rate=67
max_bit_rate=N/A
bits_per_raw_sample=N/A
nb_frames=120
nb_read_frames=N/A
nb_read_packets=N/A
extradata_size=48
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
DISPOSITION:captions=0
DISPOSITION:descriptions=0
DISPOSITION:metadata=0
DISPOSITION:dependent=0
DISPOSITION:still_image=0
TAG:creation_time=2023-09-23T01:41:48.000000Z
TAG:language=eng
TAG:handler_name=SubtitleHandler
[/STREAM]
[STREAM]
index=6
codec_name=mov_text
codec_long_name=MOV text
profile=unknown
codec_type=subtitle
codec_tag_string=tx3g
codec_tag=0x67337874
width=1920
height=162
id=0x7
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/90000
start_pts=0
start_time=0.000000
duration_ts=35638110
duration=395.979000
bit_rate=89
max_bit_rate=N/A
bits_per_raw_sample=N/A
nb_frames=135
nb_read_frames=N/A
nb_read_packets=N/A
extradata_size=48
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
DISPOSITION:captions=0
DISPOSITION:descriptions=0
DISPOSITION:metadata=0
DISPOSITION:dependent=0
DISPOSITION:still_image=0
TAG:creation_time=2023-09-23T01:41:48.000000Z
TAG:language=eng
TAG:handler_name=SubtitleHandler
[/STREAM]
[STREAM]
index=7
codec_name=mov_text
codec_long_name=MOV text
profile=unknown
codec_type=subtitle
codec_tag_string=tx3g
codec_tag=0x67337874
width=1920
height=162
id=0x8
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/90000
start_pts=0
start_time=0.000000
duration_ts=35638110
duration=395.979000
bit_rate=89
max_bit_rate=N/A
bits_per_raw_sample=N/A
nb_frames=135
nb_read_frames=N/A
nb_read_packets=N/A
extradata_size=48
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
DISPOSITION:captions=0
DISPOSITION:descriptions=0
DISPOSITION:metadata=0
DISPOSITION:dependent=0
DISPOSITION:still_image=0
TAG:creation_time=2023-09-23T01:41:48.000000Z
TAG:language=eng
TAG:handler_name=SubtitleHandler
[/STREAM]
[STREAM]
index=8
codec_name=mov_text
codec_long_name=MOV text
profile=unknown
codec_type=subtitle
codec_tag_string=tx3g
codec_tag=0x67337874
width=1920
height=162
id=0x9
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/90000
start_pts=0
start_time=0.000000
duration_ts=39507570
duration=438.973000
bit_rate=43
max_bit_rate=N/A
bits_per_raw_sample=N/A
nb_frames=80
nb_read_frames=N/A
nb_read_packets=N/A
extradata_size=48
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
DISPOSITION:captions=0
DISPOSITION:descriptions=0
DISPOSITION:metadata=0
DISPOSITION:dependent=0
DISPOSITION:still_image=0
TAG:creation_time=2023-09-23T01:41:48.000000Z
TAG:language=eng
TAG:handler_name=SubtitleHandler
[/STREAM]
[STREAM]
index=9
codec_name=mov_text
codec_long_name=MOV text
profile=unknown
codec_type=subtitle
codec_tag_string=tx3g
codec_tag=0x67337874
width=1920
height=162
id=0xa
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/90000
start_pts=0
start_time=0.000000
duration_ts=39222090
duration=435.801000
bit_rate=49
max_bit_rate=N/A
bits_per_raw_sample=N/A
nb_frames=96
nb_read_frames=N/A
nb_read_packets=N/A
extradata_size=48
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
DISPOSITION:captions=0
DISPOSITION:descriptions=0
DISPOSITION:metadata=0
DISPOSITION:dependent=0
DISPOSITION:still_image=0
TAG:creation_time=2023-09-23T01:41:48.000000Z
TAG:language=eng
TAG:handler_name=SubtitleHandler
[/STREAM]
[STREAM]
index=10
codec_name=mov_text
codec_long_name=MOV text
profile=unknown
codec_type=subtitle
codec_tag_string=tx3g
codec_tag=0x67337874
width=1920
height=162
id=0xb
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/90000
start_pts=0
start_time=0.000000
duration_ts=38670480
duration=429.672000
bit_rate=70
max_bit_rate=N/A
bits_per_raw_sample=N/A
nb_frames=131
nb_read_frames=N/A
nb_read_packets=N/A
extradata_size=48
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
DISPOSITION:captions=0
DISPOSITION:descriptions=0
DISPOSITION:metadata=0
DISPOSITION:dependent=0
DISPOSITION:still_image=0
TAG:creation_time=2023-09-23T01:41:48.000000Z
TAG:language=eng
TAG:handler_name=SubtitleHandler
[/STREAM]


More information about the ffmpeg-user mailing list