[mythtv] BluRay Subtitles...

Robert McNamara robert.mcnamara at gmail.com
Thu Jul 23 14:23:13 UTC 2009


On Thu, Jul 23, 2009 at 12:29 AM, stev391 at exemail.com.au <
stev391 at exemail.com.au> wrote:

>
>
> Rob,
>
> Sorry I didn't reply earlier, my mail client must have mangled your
> email stating that this was supposed to be for me.
>
> Anyway the mpegts parser handled the language codes, so have a look in
> libavformat/mpegts.c to see how it handles it.  To get the subtitles
> going I didn't have to change anything relating to languages.
>
> (My patch does not work in MythTV atm, so I will progress it through
> FFmpeg then once it is in work on MythTV)
>
> Stephen.
>

Hi Stephen,

Actually, the ffmepg mpeg TS demuxer doesn't currently successfully parse
the audio language tags (they all show as unknown here) so I hope you might
have some insight on where they might be found.  Myth does some auto-track
detection by language so properly parsing the ISO language names would be
really helpful.  No worries, thanks!

Robert

Input #0, mpegts, from '/MythMedia/movies/Old Boy.m2ts':
  Duration: 01:59:56.13, start: 11.608978, bitrate: 36440 kb/s
  Program 1
    Stream #0.0[0x1011]: Video: h264, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9],
23.98 tbr, 90k tbn, 47.95 tbc
    Stream #0.1[0x1100]: Audio: ac3, 48000 Hz, stereo, s16, 224 kb/s
    Stream #0.2[0x1101]: Audio: ac3, 48000 Hz, 5.1, s16, 640 kb/s
    Stream #0.3[0x1102]: Audio: dca, 48000 Hz, 5.1, s16, 768 kb/s
    Stream #0.4[0x1103]: Audio: ac3, 48000 Hz, stereo, s16, 224 kb/s
    Stream #0.5[0x1104]: Audio: ac3, 48000 Hz, 5.1, s16, 640 kb/s
    Stream #0.6[0x1105]: Audio: ac3, 48000 Hz, stereo, s16, 224 kb/s
    Stream #0.7[0x1106]: Audio: ac3, 48000 Hz, stereo, s16, 224 kb/s
    Stream #0.8[0x1107]: Audio: ac3, 48000 Hz, stereo, s16, 224 kb/s
    Stream #0.9[0x1200]: Data: 0x0090
    Stream #0.10[0x1201]: Data: 0x0090
    Stream #0.11[0x1202]: Data: 0x0090
    Stream #0.12[0x1203]: Data: 0x0090
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-dev/attachments/20090723/45644360/attachment.htm>


More information about the mythtv-dev mailing list