Some files don't save internal subtitles.

macOS specific usage questions
ereszet
New Cone
New Cone
Posts: 3
Joined: 28 Apr 2012 00:02

Some files don't save internal subtitles.

Postby ereszet » 28 Apr 2012 00:35

I save files that properly display external SRT subtitles to new files in order to embed the subtitles in them.
Despite the fact that all original files come from the same internet source and play SRT perfectly, some saved files don't display internal subtitles and some do.
The problem is not specific to VLC since the same occurs when I convert the original files with QTplayer.
I tried to convert original files to various formats but the problems persist.
Why some files cannot be saved with internal subtitles and what is the solution?

nkoriyama
Cone that earned his stripes
Cone that earned his stripes
Posts: 338
Joined: 01 Sep 2011 20:50
VLC version: git
Operating System: Windows / Mac OS X
Location: Japan

Re: Some files don't save internal subtitles.

Postby nkoriyama » 28 Apr 2012 06:13

Did you check the files with MediaInfo?
It tells you if the media file has internal subtitles or not.
How To Ask Questions The Smart Way http://www.catb.org/~esr/faqs/smart-questions.html
My hack for ISDB-T http://sdrv.ms/126weue

ereszet
New Cone
New Cone
Posts: 3
Joined: 28 Apr 2012 00:02

Re: Some files don't save internal subtitles.

Postby ereszet » 29 Apr 2012 01:14

I can't see any info about subtitles. Where in Mediainfo should I expect it?

nkoriyama
Cone that earned his stripes
Cone that earned his stripes
Posts: 338
Joined: 01 Sep 2011 20:50
VLC version: git
Operating System: Windows / Mac OS X
Location: Japan

Re: Some files don't save internal subtitles.

Postby nkoriyama » 29 Apr 2012 02:33

"Text #" is subtitles information.

The followings are output of MediaInfo CLI (built with homebrew).

mp4 with subtitles sample:

Code: Select all

General Complete name : /Users/nkoriyama/Movies/chicken_srt.mp4 Format : MPEG-4 Format profile : Base Media Codec ID : isom File size : 5.07 MiB Duration : 1mn 0s Overall bit rate mode : Variable Overall bit rate : 703 Kbps Encoded date : UTC 2011-01-12 05:59:46 Tagged date : UTC 2011-01-12 05:59:46 Writing application : My MP4Box GUI 0.5.5.4 <http://my-mp4box-gui.zymichost.com> Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : Main@L4.1 Format settings, CABAC : No Format settings, ReFrames : 1 frame Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 1mn 0s Bit rate mode : Variable Bit rate : 605 Kbps Maximum bit rate : 700 Kbps Width : 640 pixels Height : 360 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 29.970 fps Standard : NTSC Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.088 Stream size : 4.36 MiB (86%) Language : English Encoded date : UTC 2010-07-01 05:43:00 Tagged date : UTC 2011-01-12 05:59:46 Audio ID : 2 Format : AAC Format/Info : Advanced Audio Codec Format profile : LC Codec ID : 40 Duration : 1mn 0s Bit rate mode : Variable Bit rate : 96.0 Kbps Maximum bit rate : 98.9 Kbps Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 44.1 KHz Compression mode : Lossy Stream size : 708 KiB (14%) Language : English Encoded date : UTC 2011-01-12 05:59:46 Tagged date : UTC 2011-01-12 05:59:46 Text #1 ID : 3 Format : Timed text Codec ID : tx3g Duration : 58s 380ms Bit rate mode : Variable Bit rate : 42 bps Stream size : 310 Bytes (0%) Title : UTF8 Language : Japanese Encoded date : UTC 2011-01-12 05:59:46 Tagged date : UTC 2011-01-12 05:59:46 Text #2 ID : 4 Format : Timed text Codec ID : tx3g Duration : 58s 380ms Bit rate mode : Variable Bit rate : 42 bps Stream size : 310 Bytes (0%) Title : UTF-16LE Language : Japanese Encoded date : UTC 2011-01-12 05:59:46 Tagged date : UTC 2011-01-12 05:59:46
MKV with subtitles sample:

Code: Select all

General Unique ID : 190637556309595561902539733195094946024 (0x8F6B7533D5079018A5BC746E1916F0E8) Complete name : /Users/nkoriyama/Movies/chicken_ssax5_utf.mkv Format : Matroska Format version : Version 2 File size : 6.02 MiB Duration : 1mn 0s Overall bit rate : 837 Kbps Encoded date : UTC 2010-09-07 10:22:21 Writing application : mkvmerge v4.1.0 ('Boiling Point') ビルド日時 Jul 1 2010 14:37:28 Writing library : libebml v1.0.0 + libmatroska v1.0.0 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L4.0 Format settings, CABAC : Yes Format settings, ReFrames : 4 frames Codec ID : V_MPEG4/ISO/AVC Duration : 1mn 0s Width : 640 pixels Height : 360 pixels Display aspect ratio : 16:9 Frame rate : 23.976 fps Standard : NTSC Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Language : English Default : Yes Forced : No Color primaries : BT.601-6 525, BT.1358 525, BT.1700 NTSC, SMPTE 170M Transfer characteristics : BT.601-6 525, BT.601-6 625, BT.1358 525, BT.1358 625, BT.1700 NTSC, SMPTE 170M Matrix coefficients : BT.601-6 525, BT.1358 525, BT.1700 NTSC, SMPTE 170M Audio ID : 2 Format : AAC Format/Info : Advanced Audio Codec Format profile : LC Codec ID : A_AAC Duration : 1mn 0s Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 48.0 KHz Compression mode : Lossy Language : English Default : Yes Forced : No Text #1 ID : 3 Format : SSA Codec ID : S_TEXT/SSA Codec ID/Info : Sub Station Alpha Compression mode : Lossless Title : Tahoma Language : English Default : Yes Forced : No Text #2 ID : 4 Format : SSA Codec ID : S_TEXT/SSA Codec ID/Info : Sub Station Alpha Compression mode : Lossless Title : MS Gothic Language : Japanese Default : No Forced : No Text #3 ID : 5 Format : SSA Codec ID : S_TEXT/SSA Codec ID/Info : Sub Station Alpha Compression mode : Lossless Title : MS PGothic Language : Japanese Default : No Forced : No Text #4 ID : 6 Format : SSA Codec ID : S_TEXT/SSA Codec ID/Info : Sub Station Alpha Compression mode : Lossless Title : MS UI Gothic Language : Japanese Default : No Forced : No Text #5 ID : 7 Format : SSA Codec ID : S_TEXT/SSA Codec ID/Info : Sub Station Alpha Compression mode : Lossless Title : Osaka Language : Japanese Default : No Forced : No
How To Ask Questions The Smart Way http://www.catb.org/~esr/faqs/smart-questions.html
My hack for ISDB-T http://sdrv.ms/126weue

ereszet
New Cone
New Cone
Posts: 3
Joined: 28 Apr 2012 00:02

Re: Some files don't save internal subtitles.

Postby ereszet » 30 Apr 2012 02:50

Thanks for your help.
Neither Mac or Windows versions of Mediainfo show any info about textstreams in the files in question, regardless of the fact that some files play embedded subtitles and some don't.
I tried to get the subtitles into the files also with Handbrake - to no avail. But not all is lost. Finally, I got the expected result with Submerge.
So my problem is solved but I still wonder why VLC/QTplayer/Handbrake can't mux SRT subtitles in some cases.


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 11 guests