Selur's Little Message Board

Full Version: after encoding ass into mp4, but there is no subtitle at all
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9
Send you a link to a dev version, in which it does work if 'Config->Containers->Mp4 Settings->FFmpeg instead of MP4Box' is enabled.
Going to bed now, will try to look at it some more during the week, but I don't know whether I'll find some time, since I have a really busy week ahead of me.

Cu Selur

Ps.: You could also test whether this only happens when preset 'ultrafast' is used, or also with 'superfast' (which uses b-frames).
I've tried other preset before, "faster", after encode still has the same problem.
(11.07.2021, 21:10)ssdde Wrote: [ -> ]I've tried other preset before, "faster", after encode still has the same problem.


keep the two options enabled:

'Config->Containers->Mp4 Settings->FFmpeg instead of MP4Box',
'Create qp file chapters',

and encode, the export MP4 file is good, no lag, no problem. But there are two menus in it, it's repeated. And why there are both 3 menus in Video and Audio?


Quote:General
Complete name                  : D:\X\del-x\clip\drop-ffmpeg.mp4
Format                        : MPEG-4
Format profile                : Base Media
Codec ID                      : isom (isom/iso2/avc1/mp41)
File size                      : 13.1 GiB
Duration                      : 1 h 48 min
Overall bit rate              : 17.3 Mb/s
Writing application            : "Hybrid 2021.07.11.1"

Video
ID                            : 1
Format                        : AVC
Format/Info                    : Advanced Video Codec
Format profile                : Baseline@L4.1
Format settings                : 1 Ref Frames
Format settings, CABAC        : No
Format settings, Reference fra : 1 frame
Codec ID                      : avc1
Codec ID/Info                  : Advanced Video Coding
Duration                      : 1 h 48 min
Bit rate                      : 16.5 Mb/s
Width                          : 1 920 pixels
Height                        : 1 080 pixels
Display aspect ratio          : 16:9
Frame rate mode                : Variable
Frame rate                    : 24.000 FPS
Minimum frame rate            : 23.814 FPS
Maximum frame rate            : 24.381 FPS
Color space                    : YUV
Chroma subsampling            : 4:2:0
Bit depth                      : 8 bits
Scan type                      : Progressive
Bits/(Pixel*Frame)            : 0.332
Stream size                    : 12.6 GiB (95%)
Writing library                : x264 core 161 r3048 b86ae3c
Encoding settings              : cabac=0 / ref=1 / deblock=0:0:0 / analyse=0:0 / me=dia / subme=0 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=34 / lookahead_threads=5 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=250 / keyint_min=24 / scenecut=0 / intra_refresh=0 / rc_lookahead=0 / rc=2pass / mbtree=0 / bitrate=16500 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=62500 / vbv_bufsize=78125 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=0
Color range                    : Limited
Matrix coefficients            : BT.709
Menus                          : 3
Codec configuration box        : avcC

Audio
ID                            : 2
Format                        : AAC LC
Format/Info                    : Advanced Audio Codec Low Complexity
Codec ID                      : mp4a-40-2
Duration                      : 1 h 48 min
Source duration                : 1 h 48 min
Bit rate mode                  : Constant
Bit rate                      : 775 kb/s
Channel(s)                    : 6 channels
Channel layout                : C L R Ls Rs LFE
Sampling rate                  : 48.0 kHz
Frame rate                    : 46.875 FPS (1024 SPF)
Compression mode              : Lossy
Stream size                    : 604 MiB (4%)
Source stream size            : 604 MiB (4%)
Default                        : Yes
Alternate group                : 1
Menus                          : 3
mdhd_Duration                  : 6532692

Menu #1
ID                            : 3
Codec ID                      : text
Duration                      : 1 h 48 min
Language                      : English
Bit rate mode                  : CBR
Menu For                      : 1,2
00:00:00.000                  : Chapter 01
00:04:50.750                  : Chapter 02
00:07:29.208                  : Chapter 03
00:11:52.791                  : Chapter 04
00:16:54.750                  : Chapter 05
00:22:24.333                  : Chapter 06
00:26:55.833                  : Chapter 07
00:32:12.333                  : Chapter 08
00:38:34.125                  : Chapter 09
00:45:03.333                  : Chapter 10
00:49:53.333                  : Chapter 11
00:55:34.500                  : Chapter 12
00:58:40.916                  : Chapter 13
01:03:04.333                  : Chapter 14
01:07:51.833                  : Chapter 15
01:12:43.750                  : Chapter 16
01:18:08.583                  : Chapter 17
01:24:20.125                  : Chapter 18
01:33:37.791                  : Chapter 19
01:39:07.041                  : Chapter 20
Bit rate mode                  : Constant

Menu #2
00:00:00.000                  : Chapter 01
00:04:50.750                  : Chapter 02
00:07:29.208                  : Chapter 03
00:11:52.791                  : Chapter 04
00:16:54.750                  : Chapter 05
00:22:24.333                  : Chapter 06
00:26:55.833                  : Chapter 07
00:32:12.333                  : Chapter 08
00:38:34.125                  : Chapter 09
00:45:03.333                  : Chapter 10
00:49:53.333                  : Chapter 11
00:55:34.500                  : Chapter 12
00:58:40.916                  : Chapter 13
01:03:04.333                  : Chapter 14
01:07:51.833                  : Chapter 15
01:12:43.750                  : Chapter 16
01:18:08.583                  : Chapter 17
01:24:20.125                  : Chapter 18
01:33:37.791                  : Chapter 19
01:39:07.041                  : Chapter 20
Quote:And why there are both 3 menus in Video and Audio?
No clue, what MediaInfo wants to indicate with that.

Mediainfo output for the laggy output I produced here:
Code:
General
Count                                    : 331
Count of stream of this kind             : 1
Kind of stream                           : General
Kind of stream                           : General
Stream identifier                        : 0
Count of video streams                   : 1
Count of audio streams                   : 1
Count of menu streams                    : 1
Video_Format_List                        : AVC
Video_Format_WithHint_List               : AVC
Codecs Video                             : AVC
Video_Language_List                      : English
Audio_Format_List                        : AAC LC
Audio_Format_WithHint_List               : AAC LC
Audio codecs                             : AAC LC
Audio_Language_List                      : English
Complete name                            : e:\Output\laggy.mp4
Folder name                              : e:\Output
File name extension                      : laggy.mp4
File name                                : laggy
File extension                           : mp4
Format                                   : MPEG-4
Format                                   : MPEG-4
Format/Extensions usually used           : braw mov mp4 m4v m4a m4b m4p m4r 3ga 3gpa 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma ismt f4a f4b f4v
Commercial name                          : MPEG-4
Format profile                           : JVT
Internet media type                      : video/mp4
Codec ID                                 : avc1
Codec ID                                 : avc1 (isom/avc1)
Codec ID/Url                             : http://www.apple.com/quicktime/download/standalone.html
CodecID_Compatible                       : isom/avc1
File size                                : 11892229038
File size                                : 11.1 GiB
File size                                : 11 GiB
File size                                : 11 GiB
File size                                : 11.1 GiB
File size                                : 11.08 GiB
Duration                                 : 5807828
Duration                                 : 1 h 36 min
Duration                                 : 1 h 36 min 47 s 828 ms
Duration                                 : 1 h 36 min
Duration                                 : 01:36:47.828
Duration                                 : 01:36:49;05
Duration                                 : 01:36:47.828 (01:36:49;05)
Overall bit rate mode                    : VBR
Overall bit rate mode                    : Variable
Overall bit rate                         : 16380966
Overall bit rate                         : 16.4 Mb/s
Frame rate                               : 23.976
Frame rate                               : 23.976 FPS
Frame count                              : 139247
Stream size                              : 3116223
Stream size                              : 2.97 MiB (0%)
Stream size                              : 3 MiB
Stream size                              : 3.0 MiB
Stream size                              : 2.97 MiB
Stream size                              : 2.972 MiB
Stream size                              : 2.97 MiB (0%)
Proportion of this stream                : 0.00026
HeaderSize                               : 3116129
DataSize                                 : 11889112831
FooterSize                               : 78
IsStreamable                             : Yes
Encoded date                             : UTC 2021-07-11 17:00:27
Tagged date                              : UTC 2021-07-11 17:00:27
File creation date                       : UTC 2021-07-11 17:02:50.446
File creation date (local)               : 2021-07-11 19:02:50.446
File last modification date              : UTC 2021-07-11 17:04:30.700
File last modification date (local)      : 2021-07-11 19:04:30.700
Writing application                      : Hybrid 2021.07.11.1
Writing application                      : Hybrid 2021.07.11.1

Video
Count                                    : 378
Count of stream of this kind             : 1
Kind of stream                           : Video
Kind of stream                           : Video
Stream identifier                        : 0
StreamOrder                              : 0
ID                                       : 1
ID                                       : 1
Format                                   : AVC
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format/Url                               : http://developers.videolan.org/x264.html
Commercial name                          : AVC
Format profile                           : Baseline@L4.1
Format settings                          : 1 Ref Frames
Format settings, CABAC                   : No
Format settings, CABAC                   : No
Format settings, Reference frames        : 1
Format settings, Reference frames        : 1 frame
Internet media type                      : video/H264
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 5807760
Duration                                 : 1 h 36 min
Duration                                 : 1 h 36 min 47 s 760 ms
Duration                                 : 1 h 36 min
Duration                                 : 01:36:47.760
Duration                                 : 01:36:49;05
Duration                                 : 01:36:47.760 (01:36:49;05)
Bit rate                                 : 16000000
Bit rate                                 : 16.0 Mb/s
Maximum bit rate                         : 68829688
Maximum bit rate                         : 68.8 Mb/s
Width                                    : 1920
Width                                    : 1 920 pixels
Height                                   : 1080
Height                                   : 1 080 pixels
Stored_Height                            : 1088
Sampled_Width                            : 1920
Sampled_Height                           : 1080
Pixel aspect ratio                       : 1.000
Display aspect ratio                     : 1.778
Display aspect ratio                     : 16:9
Rotation                                 : 0.000
Frame rate mode                          : CFR
Frame rate mode                          : Constant
Frame rate                               : 23.976
Frame rate                               : 23.976 (24000/1001) FPS
FrameRate_Num                            : 24000
FrameRate_Den                            : 1001
Frame count                              : 139247
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Chroma subsampling                       : 4:2:0
Bit depth                                : 8
Bit depth                                : 8 bits
Scan type                                : Progressive
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.322
Stream size                              : 11613341389
Stream size                              : 10.8 GiB (98%)
Stream size                              : 11 GiB
Stream size                              : 11 GiB
Stream size                              : 10.8 GiB
Stream size                              : 10.82 GiB
Stream size                              : 10.8 GiB (98%)
Proportion of this stream                : 0.97655
Writing library                          : x264 - core 161 r3048 b86ae3c
Writing library                          : x264 core 161 r3048 b86ae3c
Encoded_Library_Name                     : x264
Encoded_Library_Version                  : core 161 r3048 b86ae3c
Encoding settings                        : cabac=0 / ref=1 / deblock=0:0:0 / analyse=0:0 / me=dia / subme=0 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=34 / lookahead_threads=5 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=250 / keyint_min=23 / scenecut=0 / intra_refresh=0 / rc_lookahead=0 / rc=2pass / mbtree=0 / bitrate=16000 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=62500 / vbv_bufsize=78125 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=0
Language                                 : en
Language                                 : English
Language                                 : English
Language                                 : en
Language                                 : eng
Language                                 : en
Encoded date                             : UTC 2021-07-11 17:00:27
Tagged date                              : UTC 2021-07-11 17:02:50
colour_description_present               : Yes
colour_description_present_Source        : Container / Stream
Color range                              : Limited
colour_range_Source                      : Container / Stream
colour_primaries_Source                  : Container / Stream
transfer_characteristics_Source          : Container / Stream
Matrix coefficients                      : BT.709
matrix_coefficients_Source               : Container / Stream
Codec configuration box                  : avcC

Audio
Count                                    : 280
Count of stream of this kind             : 1
Kind of stream                           : Audio
Kind of stream                           : Audio
Stream identifier                        : 0
StreamOrder                              : 1
ID                                       : 2
ID                                       : 2
Format                                   : AAC
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Commercial name                          : AAC
Format_AdditionalFeatures                : LC
Codec ID                                 : mp4a-40-2
Duration                                 : 5807828
Duration                                 : 1 h 36 min
Duration                                 : 1 h 36 min 47 s 828 ms
Duration                                 : 1 h 36 min
Duration                                 : 01:36:47.828
Duration                                 : 01:36:32:18
Duration                                 : 01:36:47.828 (01:36:32:18)
Bit rate mode                            : VBR
Bit rate mode                            : Variable
Bit rate                                 : 384000
Bit rate                                 : 384 kb/s
Maximum bit rate                         : 450416
Maximum bit rate                         : 450 kb/s
Channel(s)                               : 6
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Channel positions                        : 3/2/0.1
Channel layout                           : C L R Ls Rs LFE
Samples per frame                        : 1024
Sampling rate                            : 48000
Sampling rate                            : 48.0 kHz
Samples count                            : 278775744
Frame rate                               : 46.875
Frame rate                               : 46.875 FPS (1024 SPF)
Frame count                              : 272242
Compression mode                         : Lossy
Compression mode                         : Lossy
Stream size                              : 275771426
Stream size                              : 263 MiB (2%)
Stream size                              : 263 MiB
Stream size                              : 263 MiB
Stream size                              : 263 MiB
Stream size                              : 263.0 MiB
Stream size                              : 263 MiB (2%)
Proportion of this stream                : 0.02319
Title                                    : Surround 5.1
Language                                 : en
Language                                 : English
Language                                 : English
Language                                 : en
Language                                 : eng
Language                                 : en
Encoded date                             : UTC 2021-07-11 16:26:25
Tagged date                              : UTC 2021-07-11 17:02:50

Menu
Count                                    : 104
Count of stream of this kind             : 1
Kind of stream                           : Menu
Kind of stream                           : Menu
Stream identifier                        : 0
Chapters_Pos_Begin                       : 94
Chapters_Pos_End                         : 104
00:00:00.000                             : Chapter 01
00:10:51.692                             : Chapter 02
00:20:10.375                             : Chapter 03
00:30:06.763                             : Chapter 04
00:40:01.148                             : Chapter 05
00:49:57.786                             : Chapter 06
01:00:33.921                             : Chapter 07
01:09:45.097                             : Chapter 08
01:18:58.108                             : Chapter 09
01:28:04.153                             : Chapter 10
only shows the menu once.

Cu Selur
Seems to be a bug in mp4box, see: https://github.com/gpac/gpac/issues/1853
-> once this is fixed, I'll create a dev build and send you a link

Cu Selur
OK, thank you very much!
Send, you a link via pm of to bed now, let me know whether this also fixes the issue for you.

Cu Selur
after installed this version, Hybrid_dev_2021.07.13-212637.exe,
hybrid crashes after launch screen, can't run.
send you a link to a hopefully fixed version.

Cu Selur
yes, it really fix, the export MP4 with chapter is no lag, thanks you. But don't you say it's a bug of MP4box, can you even fix MP4box bug?
Pages: 1 2 3 4 5 6 7 8 9