Mailing List Archive

Re: bear of little brain (Greg Oliver)
On 27/5/17 8:00 pm, mythtv-users-request@mythtv.org wrote:
>> could a kind sole explain to me please:
>>
>> I have an indian film with english subtitles embedded in a mkv container.
>> Neither my samsung tv or myth or myth pnp will play the subtitles.
>> VLC*does* play them.
>>
>> I have a film in an avi container with embedded subtitles. Myth and upnp
>> as well as the samsung*do* play the subtitles.
>>
>> mythtranscode chokes. but ffmpeg (the ubuntu 14.04 sorry about that
>> (avconv) version) works without complaint when transcoding from mkv to avi
>> container.
>> The new avi file does not work.
>>
>> I am overwhelmed, but what I'm trying to do is play myth with subtitles
>>
>> Thanks
>> James
>>
>> <SNIP - too big for list>
> All of my Videos are in mkv containers. You definitely need the
> mkv*toolnix apps to manipulate them easily. For forced subs which I am
> sure you are referring to probably::
>
> mkvmerge --identify <file>
> File '<video>': container: Matroska
> Track ID 0: video (MPEG-4p10/AVC/h.264)
> Track ID 1: audio (DTS-HD Master Audio)
> Track ID 2: audio (DTS)
> Track ID 3: audio (AC-3/E-AC-3)
> Track ID 4: subtitles (HDMV PGS)
> Track ID 5: subtitles (HDMV PGS)
> Track ID 6: subtitles (HDMV PGS)
>
> mkvpropedit <video> --edit track:s1 --set flag-default=0 \
> --edit track:s2 --set flag-forced=1 --edit track:s2 --set flag-default=1
>
> s1 is the 1st subtitle track (Track ID 4 from above). This says make s2
> track default and forced and removes default from the s1 sub track.
Greg thanks. If you explain I promise to learn and not bug the list
more. What is s1?

[sandypit] /home/jam [997]% mkvmerge --identify /store/Movies/Myth/Lion\
2016\ 1080p\ WEB-DL\ x264\ AC3-JYK.mkv
File '/store/Movies/Myth/Lion 2016 1080p WEB-DL x264 AC3-JYK.mkv':
container: Matroska
Track ID 0: video (MPEG-4p10/AVC/h.264)
Track ID 1: audio (AC-3/E-AC-3)
Track ID 2: subtitles (SubRip/SRT)
Chapters: 11 entries

James



_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: bear of little brain (Greg Oliver) [ In reply to ]
On 27/5/17 8:00 pm, mythtv-users-request@mythtv.org wrote:
>> could a kind sole explain to me please:
>>
>> I have an indian film with english subtitles embedded in a mkv container.
>> Neither my samsung tv or myth or myth pnp will play the subtitles.
>> VLC*does* play them.
>>
>> I have a film in an avi container with embedded subtitles. Myth and upnp
>> as well as the samsung*do* play the subtitles.
>>
>> mythtranscode chokes. but ffmpeg (the ubuntu 14.04 sorry about that
>> (avconv) version) works without complaint when transcoding from mkv to avi
>> container.
>> The new avi file does not work.
>>
>> I am overwhelmed, but what I'm trying to do is play myth with subtitles
>>
>> Thanks
>> James
>>
>> <SNIP - too big for list>
> All of my Videos are in mkv containers. You definitely need the
> mkv*toolnix apps to manipulate them easily. For forced subs which I am
> sure you are referring to probably::
>
> mkvmerge --identify <file>
> File '<video>': container: Matroska
> Track ID 0: video (MPEG-4p10/AVC/h.264)
> Track ID 1: audio (DTS-HD Master Audio)
> Track ID 2: audio (DTS)
> Track ID 3: audio (AC-3/E-AC-3)
> Track ID 4: subtitles (HDMV PGS)
> Track ID 5: subtitles (HDMV PGS)
> Track ID 6: subtitles (HDMV PGS)
>
> mkvpropedit <video> --edit track:s1 --set flag-default=0 \
> --edit track:s2 --set flag-forced=1 --edit track:s2 --set flag-default=1
>
> s1 is the 1st subtitle track (Track ID 4 from above). This says make s2
> track default and forced and removes default from the s1 sub track.
Greg thanks. If you explain I promise to learn and not bug the list
more. What is s1?

[sandypit] /home/jam [997]% mkvmerge --identify /store/Movies/Myth/Lion\
2016\ 1080p\ WEB-DL\ x264\ AC3-JYK.mkv
File '/store/Movies/Myth/Lion 2016 1080p WEB-DL x264 AC3-JYK.mkv':
container: Matroska
Track ID 0: video (MPEG-4p10/AVC/h.264)
Track ID 1: audio (AC-3/E-AC-3)
Track ID 2: subtitles (SubRip/SRT)
Chapters: 11 entries


And just to compound my confusion:

[sandypit] /store [1006]% mythffprobe Movies/Myth/Lion\ 2016\ 1080p\
WEB-DL\ x264\ AC3-JYK.mkv
ffprobe version v0.28.1-3-gfc737ff Copyright (c) 2007-2016 the FFmpeg
developers
built with gcc 4.8 (SUSE Linux)
configuration: --enable-libmp3lame --enable-libx264 --enable-libxvid
^^^^^^^^^^^^^^
...
Stream #0:2(eng): Subtitle: subrip (default) (forced)
...

James
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: bear of little brain (Greg Oliver) [ In reply to ]
On Sun, 2017-05-28 at 13:04 +0800, James Linder wrote:
> > All of my Videos are in mkv containers.  You definitely need the
> > mkv*toolnix apps to manipulate them easily.  For forced subs which
> > I am
> > sure you are referring to probably::
> >
> > mkvmerge --identify <file>
> > File '<video>': container: Matroska
> > Track ID 0: video (MPEG-4p10/AVC/h.264)
> > Track ID 1: audio (DTS-HD Master Audio)
> > Track ID 2: audio (DTS)
> > Track ID 3: audio (AC-3/E-AC-3)
> > Track ID 4: subtitles (HDMV PGS)
> > Track ID 5: subtitles (HDMV PGS)
> > Track ID 6: subtitles (HDMV PGS)
> >
> > mkvpropedit <video> --edit track:s1 --set flag-default=0 \
> >    --edit track:s2 --set flag-forced=1 --edit track:s2 --set flag-
> > default=1
> >
> > s1 is the 1st subtitle track (Track ID 4 from above).  This says
> > make s2
> > track default and forced and removes default from the s1 sub track.
>
> Greg thanks. If you explain I promise to learn and not bug the list 
> more. What is s1?

The mkvpropedit tool has a alternate method of referring to tracks.
Instead of the liner track number you can specify the type of track
(v=video, a=audio, s=subtitle) and then the index within that type.
Therefore track 's1' is the first subtitle track, which is just an
alternate name for track id 4. The nice thing about the 'tn' numbering
it that it has context to it. Track 's1' always refers to a subtitle
track, where is track '4' could refer to any type track.

> [sandypit] /home/jam [997]% mkvmerge --identify
> /store/Movies/Myth/Lion\ 
> 2016\ 1080p\ WEB-DL\ x264\ AC3-JYK.mkv
> File '/store/Movies/Myth/Lion 2016 1080p WEB-DL x264 AC3-JYK.mkv': 
> container: Matroska
> Track ID 0: video (MPEG-4p10/AVC/h.264)
> Track ID 1: audio (AC-3/E-AC-3)
> Track ID 2: subtitles (SubRip/SRT)
> Chapters: 11 entries

For this file, track 's1' would be an alias for track 2.

David

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org