Opened 12 months ago

Closed 11 months ago

Last modified 11 months ago

#5815 closed Bug (fixed)

Forced subtite mp4

Reported by: AndreMuth Owned by: underground78
Priority: normal Milestone:
Component: Internal Filters Version: 1.7.10
Severity: normal Keywords:
Cc: Evaluation: diagnosed

Description

Hello,

I have created with mp4box a file with forced subtitles (:txtflags=0xC0000000). MPC-HD enabled this subtitle not by default, as in mkv files. Mediainfo shows "forced"...

Command:

mp4box.exe -add "d:\video.hevc#1" -add "d:\audio.m4a#1" -add "d:\sub_forced.srt#1:txtflags=0xC0000000:enable:hdlr=sbtl:tx3g:layer=-1:group=2:delay=0:lang=DEU:name=deutscher Untertitel (erzwungen)" -new "d:\muxed.mp4"

Attachments (2)

screenshot.jpg (53.5 KB) - added by AndreMuth 12 months ago.
example.mp4 (1.8 MB) - added by AndreMuth 12 months ago.

Download all attachments as: .zip

Change History (12)

Changed 12 months ago by AndreMuth

comment:1 Changed 12 months ago by AndreMuth

I want to upload an example, but it's bigger than 2mb.

comment:3 Changed 12 months ago by underground78

You can upload the sample to your preferred file hosting service (for example MediaFire).

Changed 12 months ago by AndreMuth

comment:4 Changed 12 months ago by underground78

  • Cc nevcairiel added
  • Evaluation set to need info
  • Status changed from new to evaluated

I think LAV Filters isn't really detecting the subtitle track as default and forced although it's apparently what MediaInfo detects. Maybe nevcairiel can shed some light on this?

comment:5 Changed 11 months ago by nevcairiel

LAV will now parse the forced flag from the tx3g atom, although I don't see any "Default" type of flag that matches the same semantic as LAV uses from eg. MKV.

Last edited 11 months ago by nevcairiel (previous) (diff)

comment:6 Changed 11 months ago by underground78

  • Cc nevcairiel removed
  • Component changed from General to Internal Filters
  • Evaluation changed from need info to diagnosed

Thanks nevcairiel.

comment:7 Changed 11 months ago by AndreMuth

ITunes detects the flag and forces the subtitle (tried with a h264 video, because Windows-ITunes will not work with h265).

comment:8 Changed 11 months ago by Underground78 <underground78@…

  • Owner set to Underground78 <underground78@…>
  • Resolution set to fixed
  • Status changed from evaluated to closed

In a2b71fd:

Updated LAV Filters to 0.68-28-27cf202 (custom build based on 0.68-32-cae3c93).

Important changes:

  • LAV Splitter: Improve the detection of the forced flag for some MP4 subtitle tracks (fixes #5815).
  • LAV Video Decoder: Improve decoding of some MPEG2 videos.

comment:9 Changed 11 months ago by underground78

Will be in the nightly builds as of version 1.7.10.187.

comment:10 Changed 11 months ago by underground78

  • Owner changed from Underground78 <underground78@… to underground78
Note: See TracTickets for help on using tickets.