Log in

View Full Version : Subtitles not working in MPC but work in VLC


ZippyDSM
19th March 2017, 00:40
I've got an odd problem with this old video rip I found,Subtitles will work in VLC and win10 TV and movies but not MPC.

I updated my mkv toolnix and mkv clever and riped the subtitles but they don't work and are missing dialogue, Aegisub says they are malformed or something. I understand enough to rip,mux and demux most streams but this is an odd one since they work without issue in VLC.Now it could be just be that MPC is not setup correctly but that would not prevent me from ripping the subtitle file out would it?

I guess I need to go back to basic training, are there any programs that can scan a file and tell you the most suitable codec/filter for it to run correctly?
============

Subtitles info

Text
ID : 4
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Duration : 23 min 9 s
Bit rate : 91 b/s
Count of elements : 285
Compression mode : Lossless
Stream size : 15.5 KiB (0%)
Language : English
Default : No
Forced : No

=============


[Script Info]
ScriptType: v4.00+
PlayResX: 384
PlayResY: 288

[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, AlphaLevel, Encoding
Style: Default,Arial,16,&Hffffff,&Hffffff,&H0,&H0,0,0,0,1,1,0,2,10,10,10,0,0

[Events]
Format: Layer, Start, End, Style, Text
Dialogue: 0,0:00:20.81,0:00:28.32,Default,
Dialogue: 0,0:00:28.40,0:00:34.91,Default,
Dialogue: 0,0:00:34.99,0:00:42.42,Default,
Dialogue: 0,0:00:42.50,0:00:49.76,Default,
Dialogue: 0,0:00:50.80,0:00:54.47,Default,
Dialogue: 0,0:00:54.55,0:00:58.13,Default,
Dialogue: 0,0:00:58.22,0:01:05.68,Default,
Dialogue: 0,0:01:05.77,0:01:12.91,Default,
Dialogue: 0,0:01:12.99,0:01:20.54,Default,
Dialogue: 0,0:01:20.62,0:01:24.88,Default,
Dialogue: 0,0:02:09.00,0:02:11.51,Default,
Dialogue: 0,0:02:13.34,0:02:15.51,Default,
Dialogue: 0,0:02:27.14,0:02:32.60,Default,
Dialogue: 0,0:02:34.15,0:02:37.37,Default,
Dialogue: 0,0:02:49.25,0:02:52.84,Default,
Dialogue: 0,0:03:03.26,0:03:05.93,Default,
Dialogue: 0,0:03:08.89,0:03:12.47,Default,
Dialogue: 0,0:03:12.56,0:03:14.85,Default,
Dialogue: 0,0:03:17.23,0:03:19.48,Default,
Dialogue: 0,0:03:19.57,0:03:22.15,Default,
Dialogue: 0,0:03:22.24,0:03:26.16,Default,
Dialogue: 0,0:03:26.24,0:03:28.82,Default,
Dialogue: 0,0:03:28.91,0:03:32.03,Default,
Dialogue: 0,0:03:33.25,0:03:35.00,Default,
Dialogue: 0,0:03:45.93,0:03:51.86,Default,
Dialogue: 0,0:03:53.23,0:03:57.82,Default,
Dialogue: 0,0:03:57.90,0:04:02.65,Default,
Dialogue: 0,0:04:02.74,0:04:04.29,Default,
Dialogue: 0,0:04:09.91,0:04:11.49,Default,
Dialogue: 0,0:04:13.92,0:04:15.88,Default,
Dialogue: 0,0:04:19.25,0:04:21.92,Default,
Dialogue: 0,0:04:22.01,0:04:26.18,Default,
Dialogue: 0,0:04:26.26,0:04:27.51,Default,
Dialogue: 0,0:04:27.60,0:04:31.85,Default,
Dialogue: 0,0:04:31.93,0:04:34.31,Default,
Dialogue: 0,0:04:34.39,0:04:37.14,Default,
Dialogue: 0,0:04:37.23,0:04:39.14,Default,
Dialogue: 0,0:04:39.23,0:04:42.02,Default,
Dialogue: 0,0:04:42.11,0:04:43.94,Default,
Dialogue: 0,0:04:44.03,0:04:45.87,Default,
Dialogue: 0,0:04:47.57,0:04:49.53,Default,
Dialogue: 0,0:04:55.25,0:04:58.71,Default,
Dialogue: 0,0:05:02.26,0:05:06.51,Default,
Dialogue: 0,0:05:06.59,0:05:10.17,Default,
Dialogue: 0,0:05:10.26,0:05:11.51,Default,
Dialogue: 0,0:05:11.60,0:05:14.15,Default,
Dialogue: 0,0:05:14.23,0:05:17.53,Default,
Dialogue: 0,0:05:19.23,0:05:21.48,Default,
Dialogue: 0,0:05:21.57,0:05:23.11,Default,
Dialogue: 0,0:05:23.19,0:05:25.15,Default,
Dialogue: 0,0:05:25.24,0:05:26.83,Default,
Dialogue: 0,0:05:26.91,0:05:31.16,Default,
Dialogue: 0,0:05:31.24,0:05:33.82,Default,
Dialogue: 0,0:05:33.91,0:05:36.08,Default,
Dialogue: 0,0:05:36.16,0:05:40.50,Default,
Dialogue: 0,0:05:40.59,0:05:44.51,Default,
Dialogue: 0,0:05:44.59,0:05:48.76,Default,
Dialogue: 0,0:05:48.84,0:05:50.51,Default,
Dialogue: 0,0:05:50.60,0:05:53.98,Default,
Dialogue: 0,0:05:56.23,0:06:02.15,Default,
Dialogue: 0,0:06:02.23,0:06:04.48,Default,
Dialogue: 0,0:06:04.57,0:06:08.83,Default,
Dialogue: 0,0:06:08.91,0:06:11.91,Default,
Dialogue: 0,0:06:11.99,0:06:14.82,Default,
Dialogue: 0,0:06:14.91,0:06:19.49,Default,
Dialogue: 0,0:06:19.58,0:06:23.87,Default,
Dialogue: 0,0:06:26.26,0:06:27.80,Default,
Dialogue: 0,0:06:30.93,0:06:33.18,Default,
Dialogue: 0,0:06:33.26,0:06:34.80,Default,
Dialogue: 0,0:06:37.56,0:06:41.15,Default,
Dialogue: 0,0:06:41.23,0:06:44.49,Default,
Dialogue: 0,0:06:44.57,0:06:46.49,Default,
Dialogue: 0,0:06:46.57,0:06:49.87,Default,
Dialogue: 0,0:06:51.24,0:06:52.79,Default,
Dialogue: 0,0:06:56.24,0:07:02.16,Default,
Dialogue: 0,0:07:02.25,0:07:03.50,Default,
Dialogue: 0,0:07:03.59,0:07:08.51,Default,
Dialogue: 0,0:07:08.59,0:07:11.21,Default,
Dialogue: 0,0:07:22.56,0:07:25.52,Default,
Dialogue: 0,0:07:30.24,0:07:33.16,Default,
Dialogue: 0,0:07:33.24,0:07:36.82,Default,
Dialogue: 0,0:07:36.91,0:07:39.28,Default,
Dialogue: 0,0:07:39.37,0:07:43.83,Default,
Dialogue: 0,0:07:43.92,0:07:46.51,Default,
Dialogue: 0,0:07:46.59,0:07:49.51,Default,
Dialogue: 0,0:07:49.59,0:07:52.85,Default,
Dialogue: 0,0:07:52.93,0:07:55.06,Default,
Dialogue: 0,0:07:55.14,0:07:57.60,Default,
Dialogue: 0,0:08:00.89,0:08:02.47,Default,
Dialogue: 0,0:08:02.56,0:08:05.18,Default,
Dialogue: 0,0:08:07.23,0:08:09.40,Default,
Dialogue: 0,0:08:11.03,0:08:13.74,Default,
Dialogue: 0,0:08:13.82,0:08:16.49,Default,
Dialogue: 0,0:08:16.58,0:08:19.75,Default,
Dialogue: 0,0:08:23.92,0:08:26.17,Default,
Dialogue: 0,0:08:26.25,0:08:28.50,Default,
Dialogue: 0,0:08:28.59,0:08:32.18,Default,
Dialogue: 0,0:08:32.26,0:08:37.18,Default,
Dialogue: 0,0:08:37.26,0:08:42.18,Default,
Dialogue: 0,0:08:42.27,0:08:47.15,Default,
Dialogue: 0,0:08:47.23,0:08:48.98,Default,
Dialogue: 0,0:08:49.07,0:08:51.11,Default,
Dialogue: 0,0:08:56.57,0:09:00.57,Default,
Dialogue: 0,0:09:11.25,0:09:13.83,Default,
Dialogue: 0,0:09:13.92,0:09:17.84,Default,
Dialogue: 0,0:09:17.93,0:09:22.52,Default,
Dialogue: 0,0:09:22.60,0:09:26.57,Default,
Dialogue: 0,0:09:27.90,0:09:32.20,Default,
Dialogue: 0,0:09:41.58,0:09:43.50,Default,
Dialogue: 0,0:09:43.58,0:09:45.83,Default,
Dialogue: 0,0:09:45.91,0:09:48.29,Default,
Dialogue: 0,0:09:52.71,0:09:56.59,Default,
Dialogue: 0,0:09:56.68,0:10:00.18,Default,
Dialogue: 0,0:10:00.26,0:10:01.51,Default,
Dialogue: 0,0:10:01.60,0:10:04.35,Default,
Dialogue: 0,0:10:05.60,0:10:07.14,Default,
Dialogue: 0,0:10:09.90,0:10:13.57,Default,
Dialogue: 0,0:10:19.91,0:10:21.45,Default,
Dialogue: 0,0:10:23.24,0:10:28.53,Default,
Dialogue: 0,0:10:43.05,0:10:45.55,Default,
Dialogue: 0,0:10:48.89,0:10:52.27,Default,
Dialogue: 0,0:10:53.69,0:10:57.10,Default,
Dialogue: 0,0:10:57.19,0:10:59.57,Default,
Dialogue: 0,0:11:11.92,0:11:16.63,Default,
Dialogue: 0,0:11:25.26,0:11:28.18,Default,
Dialogue: 0,0:11:30.89,0:11:32.43,Default,
Dialogue: 0,0:11:35.57,0:11:37.11,Default,
Dialogue: 0,0:11:49.25,0:11:52.96,Default,
Dialogue: 0,0:11:53.04,0:11:55.16,Default,
Dialogue: 0,0:11:55.25,0:11:59.17,Default,
Dialogue: 0,0:11:59.26,0:12:01.85,Default,
Dialogue: 0,0:12:01.93,0:12:04.52,Default,
Dialogue: 0,0:12:09.93,0:12:12.43,Default,
Dialogue: 0,0:12:25.57,0:12:27.49,Default,
Dialogue: 0,0:12:27.58,0:12:30.08,Default,
Dialogue: 0,0:12:30.16,0:12:33.49,Default,
Dialogue: 0,0:12:33.58,0:12:35.16,Default,
Dialogue: 0,0:12:35.25,0:12:40.17,Default,
Dialogue: 0,0:12:40.26,0:12:44.85,Default,
Dialogue: 0,0:12:44.93,0:12:47.85,Default,
Dialogue: 0,0:12:47.93,0:12:52.52,Default,
Dialogue: 0,0:12:52.60,0:12:55.68,Default,
Dialogue: 0,0:12:55.77,0:12:58.14,Default,
Dialogue: 0,0:12:58.23,0:13:02.15,Default,
Dialogue: 0,0:13:02.24,0:13:06.54,Default,
Dialogue: 0,0:13:06.61,0:13:09.49,Default,
Dialogue: 0,0:13:09.58,0:13:11.67,Default,
Dialogue: 0,0:13:11.74,0:13:14.49,Default,
Dialogue: 0,0:13:14.58,0:13:20.16,Default,
Dialogue: 0,0:13:20.25,0:13:22.17,Default,
Dialogue: 0,0:13:22.26,0:13:24.43,Default,
Dialogue: 0,0:13:25.93,0:13:28.52,Default,
Dialogue: 0,0:13:28.60,0:13:32.69,Default,
Dialogue: 0,0:13:32.77,0:13:34.48,Default,
Dialogue: 0,0:13:34.56,0:13:36.65,Default,
Dialogue: 0,0:13:42.15,0:13:44.52,Default,
Dialogue: 0,0:13:44.61,0:13:48.15,Default,
Dialogue: 0,0:13:48.24,0:13:49.83,Default,
Dialogue: 0,0:13:52.24,0:13:55.16,Default,
Dialogue: 0,0:13:55.25,0:13:57.79,Default,
Dialogue: 0,0:13:57.87,0:14:00.70,Default,
Dialogue: 0,0:14:02.25,0:14:04.08,Default,
Dialogue: 0,0:14:04.17,0:14:08.84,Default,
Dialogue: 0,0:14:08.93,0:14:10.81,Default,
Dialogue: 0,0:14:10.89,0:14:12.85,Default,
Dialogue: 0,0:14:12.93,0:14:16.14,Default,
Dialogue: 0,0:14:16.23,0:14:19.48,Default,
Dialogue: 0,0:14:19.56,0:14:23.14,Default,
Dialogue: 0,0:14:23.23,0:14:25.27,Default,
Dialogue: 0,0:14:26.57,0:14:29.87,Default,
Dialogue: 0,0:14:29.95,0:14:32.50,Default,
Dialogue: 0,0:14:32.58,0:14:36.50,Default,
Dialogue: 0,0:14:36.58,0:14:42.09,Default,
Dialogue: 0,0:14:43.25,0:14:46.83,Default,
Dialogue: 0,0:14:46.92,0:14:49.17,Default,
Dialogue: 0,0:14:49.26,0:14:54.85,Default,
Dialogue: 0,0:14:54.93,0:14:56.97,Default,
Dialogue: 0,0:14:57.06,0:15:00.82,Default,
Dialogue: 0,0:15:00.90,0:15:04.40,Default,
Dialogue: 0,0:15:07.03,0:15:10.74,Default,
Dialogue: 0,0:15:11.91,0:15:13.08,Default,
Dialogue: 0,0:15:13.16,0:15:16.50,Default,
Dialogue: 0,0:15:16.58,0:15:20.79,Default,
Dialogue: 0,0:15:22.25,0:15:24.91,Default,
Dialogue: 0,0:15:25.00,0:15:27.17,Default,
Dialogue: 0,0:15:27.26,0:15:30.55,Default,
Dialogue: 0,0:15:33.60,0:15:36.02,Default,
Dialogue: 0,0:15:36.10,0:15:40.48,Default,
Dialogue: 0,0:15:40.56,0:15:43.10,Default,
Dialogue: 0,0:15:44.56,0:15:47.81,Default,
Dialogue: 0,0:15:47.90,0:15:53.15,Default,
Dialogue: 0,0:15:53.24,0:15:54.49,Default,
Dialogue: 0,0:15:54.57,0:15:57.74,Default,
Dialogue: 0,0:15:57.83,0:16:00.50,Default,
Dialogue: 0,0:16:00.58,0:16:04.91,Default,
Dialogue: 0,0:16:05.00,0:16:08.50,Default,
Dialogue: 0,0:16:08.59,0:16:13.18,Default,
Dialogue: 0,0:16:13.26,0:16:16.18,Default,
Dialogue: 0,0:16:16.26,0:16:19.22,Default,
Dialogue: 0,0:16:19.31,0:16:21.81,Default,
Dialogue: 0,0:16:23.23,0:16:26.19,Default,
Dialogue: 0,0:16:40.24,0:16:42.41,Default,
Dialogue: 0,0:16:43.92,0:16:48.84,Default,
Dialogue: 0,0:16:48.92,0:16:50.83,Default,
Dialogue: 0,0:16:50.92,0:16:53.38,Default,
Dialogue: 0,0:16:57.26,0:16:59.51,Default,
Dialogue: 0,0:16:59.60,0:17:02.52,Default,
Dialogue: 0,0:17:02.60,0:17:04.14,Default,
Dialogue: 0,0:17:04.23,0:17:09.11,Default,
Dialogue: 0,0:17:10.90,0:17:13.48,Default,
Dialogue: 0,0:17:13.57,0:17:17.24,Default,
Dialogue: 0,0:17:19.58,0:17:21.50,Default,
Dialogue: 0,0:17:21.58,0:17:26.84,Default,
Dialogue: 0,0:17:26.92,0:17:28.84,Default,
Dialogue: 0,0:17:28.92,0:17:33.84,Default,
Dialogue: 0,0:17:33.92,0:17:36.63,Default,
Dialogue: 0,0:17:36.72,0:17:41.52,Default,
Dialogue: 0,0:17:41.60,0:17:44.81,Default,
Dialogue: 0,0:17:44.89,0:17:49.56,Default,
Dialogue: 0,0:17:52.57,0:17:54.91,Default,
Dialogue: 0,0:17:59.24,0:18:00.69,Default,
Dialogue: 0,0:18:04.04,0:18:06.17,Default,
Dialogue: 0,0:18:06.25,0:18:10.84,Default,
Dialogue: 0,0:18:10.92,0:18:14.84,Default,
Dialogue: 0,0:18:14.92,0:18:17.75,Default,
Dialogue: 0,0:18:17.84,0:18:20.51,Default,
Dialogue: 0,0:18:20.60,0:18:23.56,Default,
Dialogue: 0,0:18:23.64,0:18:27.48,Default,
Dialogue: 0,0:18:27.56,0:18:30.47,Default,
Dialogue: 0,0:18:30.56,0:18:34.14,Default,
Dialogue: 0,0:18:34.23,0:18:35.77,Default,
Dialogue: 0,0:18:37.24,0:18:39.49,Default,
Dialogue: 0,0:18:39.57,0:18:41.99,Default,
Dialogue: 0,0:18:42.07,0:18:45.16,Default,
Dialogue: 0,0:18:45.24,0:18:47.82,Default,
Dialogue: 0,0:19:02.60,0:19:08.48,Default,
Dialogue: 0,0:19:08.56,0:19:10.36,Default,
Dialogue: 0,0:19:12.23,0:19:16.90,Default,
Dialogue: 0,0:19:18.57,0:19:22.58,Default,
Dialogue: 0,0:19:25.58,0:19:27.71,Default,
Dialogue: 0,0:19:36.25,0:19:38.88,Default,
Dialogue: 0,0:19:48.31,0:19:52.48,Default,
Dialogue: 0,0:19:52.56,0:19:55.89,Default,
Dialogue: 0,0:20:12.92,0:20:14.17,Default,
Dialogue: 0,0:20:14.25,0:20:17.50,Default,
Dialogue: 0,0:20:17.59,0:20:19.51,Default,
Dialogue: 0,0:20:19.59,0:20:22.51,Default,
Dialogue: 0,0:20:22.59,0:20:26.17,Default,
Dialogue: 0,0:20:26.26,0:20:29.18,Default,
Dialogue: 0,0:20:29.27,0:20:33.02,Default,
Dialogue: 0,0:20:38.23,0:20:40.56,Default,
Dialogue: 0,0:20:47.91,0:20:50.50,Default,
Dialogue: 0,0:20:50.58,0:20:53.50,Default,
Dialogue: 0,0:20:53.58,0:20:58.50,Default,
Dialogue: 0,0:20:58.59,0:21:02.18,Default,
Dialogue: 0,0:21:02.26,0:21:04.85,Default,
Dialogue: 0,0:21:04.93,0:21:06.85,Default,
Dialogue: 0,0:21:06.93,0:21:08.64,Default,
Dialogue: 0,0:21:15.23,0:21:18.15,Default,
Dialogue: 0,0:21:18.23,0:21:19.48,Default,
Dialogue: 0,0:21:19.57,0:21:20.82,Default,
Dialogue: 0,0:21:20.90,0:21:23.61,Default,
Dialogue: 0,0:21:23.69,0:21:26.90,Default,
Dialogue: 0,0:21:26.99,0:21:29.50,Default,
Dialogue: 0,0:21:29.58,0:21:33.17,Default,
Dialogue: 0,0:21:33.25,0:21:36.50,Default,
Dialogue: 0,0:21:36.58,0:21:40.12,Default,
Dialogue: 0,0:21:47.01,0:21:49.93,Default,
Dialogue: 0,0:21:50.01,0:21:53.26,Default,
Dialogue: 0,0:21:53.35,0:21:57.90,Default,
Dialogue: 0,0:21:57.98,0:22:02.57,Default,
Dialogue: 0,0:22:02.65,0:22:05.90,Default,
Dialogue: 0,0:22:05.99,0:22:10.25,Default,
Dialogue: 0,0:22:10.32,0:22:12.11,Default,
Dialogue: 0,0:22:24.21,0:22:29.09,Default,
Dialogue: 0,0:22:31.60,0:22:35.77,Default,
Dialogue: 0,0:22:35.85,0:22:37.64,Default,
Dialogue: 0,0:22:38.73,0:22:43.49,Default,
Dialogue: 0,0:22:46.11,0:22:50.48,Default,
Dialogue: 0,0:22:50.57,0:22:53.53,Default,
Dialogue: 0,0:22:54.79,0:23:02.30,Default,
Dialogue: 0,0:23:02.38,0:23:09.14,Default,
Dialogue: 0,0:23:09.22,0:23:16.90,Default,
Dialogue: 0,0:23:16.97,0:23:23.68,Default,
Dialogue: 0,0:23:23.77,0:23:30.69,Default,

sneaker_ger
19th March 2017, 01:28
Try to demux using eac3to. Or try to directly open the mkv in Subtitle Edit and Aegisub.

If nothing works upload a sample.

ZippyDSM
19th March 2017, 01:42
Tried opening in Aegisub. but could not see the load subtitle from file option, normally when I did subs in Aegisub you loaded them separately from the file or made them new.

I'll give Subtitle Edit a spin.

I did try extracting with mkvextract , should I try a raw command line on the subtitle track?

I'll give eac3to a go.

Could this be an issue of just being a raw track that gets poorly extracted?

I forgot to mention I use Klite codec mega pack, just for simplicity sake as an AIO, its never given me much trouble other than using nightly builds of MCP but I tend to replace that with the current stable build of MPC and MPCx64. Is there a better AIO pack for old and new codecs?

I do random encodes and subtitling and watch old and new rips, so I have a wide range things I do so from my EXP I rarely have issues with the codec pack I know they can be messy. I try and keep up with things but I am either mindlessly working on something or zombifing my brain binge watching anime or something so it makes me scattered brained and silly LOL.


Thanks for the help, I'll get to it soon.

clsid
19th March 2017, 18:25
I suggest uploading the file and posting it in the MkvToolNix topic. It is probably broken, but if it works with VLC, then a workaround can probably be added to MkvToolNix to fix it during a remux.

sneaker_ger
19th March 2017, 19:31
True. But interestingly, I can mux and demux the shown file just fine using mkvtoolnix (I added some text). MPC-HC's internal renderer and XySubFilter don't show any text while AssFilterMod does. So maybe bug in vsfilter as well. Though AssFilterMod also adds a bunch of commas and Aegisub complains about malformation. I don't know why, though. I thought it was ok to leave "Format" attributes out?

https://www.sendspace.com/file/mctvif

ZippyDSM
20th March 2017, 00:04
No luck so far.

Here is the file.

http://jmp.sh/RJZcnQk
edit

uhg long night, going to go post it in the MkvToolNix thread..if I can find it LOL

sneaker_ger
20th March 2017, 16:01
Mkvtoolnix author has fixed extraction in the latest pre-build. I recommend you extract them and alter them to look like "standard" ones as created by Aegisub.

What's left would be for MPC-HC/vsfilter to be fixed.

ZippyDSM
20th March 2017, 16:10
Mkvtoolnix author has fixed extraction in the latest pre-build. I recommend you extract them and alter them to look like "standard" ones as created by Aegisub.

What's left would be for MPC-HC/vsfilter to be fixed.
I have v9.9.0, should I try and command line flags? I been using the extract GUI LOL


Well the trouble is there is no dialogue text, I could convert or manually rebuild the whole thing but whats extract ed has no dialogue text. Generally when I have issues with subs I will just extract them then name them the same filename as the video file. That will auto load it in MPC every time but these have no dialogue text which has completely confused me.

sneaker_ger
20th March 2017, 16:38
MKVToolNix pre-builds (https://mkvtoolnix.download/windows/pre/)

ZippyDSM
20th March 2017, 20:23
Okay it extracts the text now but... well I am an easily distracted fool(over thinking so much shiny things can distract) so my ability to follow code and formats is limited, I am getting "bad lexical cast source type value could not be interpreted as target" error when I cut and past the dialogue test, same if I use the format and style of the ass file.

Subtitle edit either sees the file as blank or gives me format and styles mismatch.

This is from the original ass file, with the first line of text, the rest are the same as far as format goes.

[Script Info]
ScriptType: v4.00+
PlayResX: 384
PlayResY: 288

[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, AlphaLevel, Encoding
Style: Default,Arial,16,&Hffffff,&Hffffff,&H0,&H0,0,0,0,1,1,0,2,10,10,10,0,0

[Events]
Format: Layer, Start, End, Style, Text
Dialogue: 0,0:00:20.81,0:00:28.32,Default,In a crowded city, as I\Nbump shoulders, I'm all alone
Subtitle edit can not see it either but VLC can.

From looking at other ass files that work fine I think the formatting is bad, maybe commas out of place and what not. But it works with default large text in VLC player but Sub. So is an issue of odd an subtitle file MPC via its filters can not see or a bad subtitle file? I'm leaning to a bad format in the file since it can not figure it out. I wonder if there is a dumb way to get the dialogue timing and text without worrying abotu the format and then export it to a srt/ass file.

Your thoughts?

sneaker_ger
20th March 2017, 21:20
Well, first create a commonly used header. I just created a new script in Aegisub and saved it. Then I checked the differences (diffchecker.com (https://www.diffchecker.com/) is a nice tool for that) but in this case I think even that would be overkill because this is basically SRT + a single style = ASS. Totally simple. So you end up with the top like this:
[Script Info]
ScriptType: v4.00+
PlayResX: 384
PlayResY: 288

[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: Default,Arial,16,&H00FFFFFF,&H00FFFFFF,&H00000000,&H00000000,0,0,0,0,100,100,0,0,1,1,0,2,10,10,10,0

[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text

Then I changed the [Events] to match the new Format attributes. I used Sublime Text's find&replace function for that.
Find: Dialogue: (.*),(.*),(.*),Default,
and replace with: Dialogue: $1,$2,$3,Default,,0,0,0,,

Then save and replace the old track. If you want, edit the style in Aegisub or Subtitle Edit first. Or simply convert it to SRT so most players will use their default instead. This subtitle doesn't use any meaningful ASS features anyways.

ZippyDSM
20th March 2017, 22:17
Well, first create a commonly used header. I just created a new script in Aegisub and saved it. Then I checked the differences (diffchecker.com (https://www.diffchecker.com/) is a nice tool for that) but in this case I think even that would be overkill because this is basically SRT + a single style = ASS. Totally simple. So you end up with the top like this:
[Script Info]
ScriptType: v4.00+
PlayResX: 384
PlayResY: 288

[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: Default,Arial,16,&H00FFFFFF,&H00FFFFFF,&H00000000,&H00000000,0,0,0,0,100,100,0,0,1,1,0,2,10,10,10,0

[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text

Then I changed the [Events] to match the new Format attributes. I used Sublime Text's find&replace function for that.
Find: Dialogue: (.*),(.*),(.*),Default,
and replace with: Dialogue: $1,$2,$3,Default,,0,0,0,,

Then save and replace the old track. If you want, edit the style in Aegisub or Subtitle Edit first. Or simply convert it to SRT so most players will use their default instead. This subtitle doesn't use any meaningful ASS features anyways.

I got sublime text but it says not found,

Am I missing something I see no

(.*),(.*),(.*),Default,

are the events off? is there a comma missing by ,default,?

the dialogue section is like this


Dialogue: 0,0:00:20.81,0:00:28.32,Default,In a crowded city, as I\Nbump shoulders, I'm all alone
Dialogue: 0,0:00:28.40,0:00:34.91,Default,On an endless prairie, as the\Nwind whistles by, I'm all alone
Dialogue: 0,0:00:34.99,0:00:42.42,Default,Which one is it that makes me\Nwant to cry more, I wonder
Dialogue: 0,0:00:42.50,0:00:49.76,Default,Marking it with twin circles,\NI feel a bit more grown-up!
Dialogue: 0,0:00:50.80,0:00:54.47,Default,It must be, that when I run\Ninto these terribly difficult walls,
Dialogue: 0,0:00:54.55,0:00:58.13,Default,and unexpectedly, for whatever reason,
Dialogue: 0,0:00:58.22,0:01:05.68,Default,the courage and power to break\Nthrough rises up from within
Dialogue: 0,0:01:05.77,0:01:12.91,Default,All because of how, when I run\Ninto these terribly difficult people,
Dialogue: 0,0:01:12.99,0:01:20.54,Default,they show me kindness, I bet!
Dialogue: 0,0:01:20.62,0:01:24.88,Default,Thank you very much!

the odd thing is this online converter seems to work fine

https://lab.sorz.org/tools/asstosrt/?lang=en

but the show has 100 eps.

I also tried removing the 0, in the events (Dialogue: 0,0:) and subtitle editor start to see the dialogue lines with some overlapping errors. Uhg I getting confused trying to understand the event structure. ><

sneaker_ger
20th March 2017, 22:24
https://abload.de/img/find_replace_sublime_yiu9z.png

but the show has 100 eps.
Sublime Text can batch find&replace whole folders.
http://docs.sublimetext.info/en/latest/search_and_replace/search_and_replace_files.html

clsid
20th March 2017, 22:37
"Format" is missing these tags: Name, MarginL, MarginR, MarginV, Effect

"Dialogue" is missing the values that belong that those tags.

A simplified replace would be:
,Default, --> ,Default,,0,0,0,,

You should also tell whomever made these files that the subs have compatibility issues. That should hopefully prevent similar problems in the future.

ZippyDSM
21st March 2017, 01:03
"Format" is missing these tags: Name, MarginL, MarginR, MarginV, Effect

"Dialogue" is missing the values that belong that those tags.

A simplified replace would be:
,Default, --> ,Default,,0,0,0,,

You should also tell whomever made these files that the subs have compatibility issues. That should hopefully prevent similar problems in the future.
I can't find the source the sub group dose not have it listed it was either rushed and droped, someones side project that was rushed or someone doing a hack job on another sub groups release. Reason I came here it was not listed anywhere and could not google it, after trying to extract it I thought I'd ask here, where the gods of AV stuff live LOL

I could not get it to work in sumbline text but notepad plus replaced ,Default, with ,Default,,0,0,0,, did not need to change the time formats any! Aegisub also fixed the sample size of them as well. Now I have a working header and everything. I can use notepad plus to batch replace all the bad parts!

Sorry for missing things and thank you for taking the time! I tend to not do many long subs myself just dinky anime music videos with hardcoded subs for youtube(question can vdub/vdubmod do hardcode subs using mkv/mp4/avi or only avi, its been awhile since I last tried vdub? I use to convert the video to avi and use avimux to hardcode, it was a tedious task), I dabble just enough to drown when I mess with anything to deep. LOL

I'm worse on the nexus forums begging for script help LOL I need to get the rest of my mods back up....blah I need to do acouple lyric videos but...blah....

Thanks again!
:thanks: