Jump to content

Embedded tx3g subtitles in mp4 not getting detected...


Recommended Posts

Posted (edited)

Hi, I am experimenting with mp4 container as it appears to be the must well supported. I embedded the subtitles but Emby does'nt regognize them, it's like if they didn't exist, but they are there and playable with VLC:

 

My movie with ffprobe:

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Big Hero 6 (2014) (Dual Audio).mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    title           : Big Hero 6 (2014)
    encoder         : Lavf56.36.100
  Duration: 01:41:52.81, start: 0.000000, bitrate: 1115 kb/s
    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709/bt709/unknown), 1280x536 [SAR 1:1 DAR 160:67], 1013 kb/s, 23.98 fps, 23.98 tbr, 16k tbn, 47.95 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 93 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
    Stream #0:2(spa): Subtitle: mov_text (tx3g / 0x67337874), 0 kb/s (default)
    Metadata:
      handler_name    : SubtitleHandler
    Stream #0:3(eng): Subtitle: mov_text (tx3g / 0x67337874), 0 kb/s
    Metadata:
      handler_name    : SubtitleHandler

But Emby doesn't detect them:

 

5667d4dda3e85_borra.png

 

I am on Ubuntu 15.10... Could this be related to the libmediainfo0v5 thing? Any ideas, anyone with this problem?

 

Thank you

 

(By the way: No errors or clues in the logs)

Edited by supermau
Posted

Still no clue!!!

 

I don't know why Emby is not listing subtitles in my mp4 files... I found the part of the log where Emby scans the files in the library, but nothing seems to go wrong:
 

2015-12-15 15:27:01.1085 Debug App: Running FFProbeProvider for /media/mauricio/Ing1-1TB1/Movies/Animation/Big Hero 6 (2014) (mp4-embed)/Big Hero 6 (2014).m4v
2015-12-15 15:27:01.1085 Debug MediaEncoder: /usr/bin/ffprobe -i file:"/media/mauricio/Ing1-1TB1/Movies/Animation/Big Hero 6 (2014) (mp4-embed)/Big Hero 6 (2014).m4v" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format
2015-12-15 15:27:01.1727 Debug MediaEncoder: Running MediaInfo against /media/mauricio/Ing1-1TB1/Movies/Animation/Big Hero 6 (2014) (mp4-embed)/Big Hero 6 (2014).m4v
2015-12-15 15:27:02.1453 Debug App: Running MovieNfoProvider for /media/mauricio/Ing1-1TB1/Movies/Animation/Big Hero 6 (2014) (mp4-embed)/Big Hero 6 (2014).m4v
2015-12-15 15:27:03.1807 Debug App: Running MovieDbImageProvider for /media/mauricio/Ing1-1TB1/Movies/Animation/Big Hero 6 (2014) (mp4-embed)/Big Hero 6 (2014).m4v

Running the same ffprobe command as Emby, the subtitle streams are listed:

mauricio@Laptop:/media/mauricio/Ing1-1TB1/Movies/Animation/Big Hero 6 (2014) (Dual Audio) (mp4-embed)$ ffprobe -i Big\ Hero\ 6\ \(2014\)\ \(Dual\ Audio\).m4v -threads 0 -v info -print_format json -show_streams -show_chapters -show_format
ffprobe version 2.7.3-0ubuntu0.15.10.1 Copyright (c) 2007-2015 the FFmpeg developers
  built with gcc 5.2.1 (Ubuntu 5.2.1-22ubuntu2) 20151010
  configuration: --prefix=/usr --extra-version=0ubuntu0.15.10.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --enable-shared --disable-stripping --enable-avresample --enable-avisynth --enable-frei0r --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-openal --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libxvid --enable-libzvbi --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-libssh --enable-libsoxr --enable-libx264 --enable-libopencv --enable-libx265
  libavutil      54. 27.100 / 54. 27.100
  libavcodec     56. 41.100 / 56. 41.100
  libavformat    56. 36.100 / 56. 36.100
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 16.101 /  5. 16.101
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.100 /  1.  2.100
  libpostproc    53.  3.100 / 53.  3.100
{
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Big Hero 6 (2014) (Dual Audio).m4v':
  Metadata:
    major_brand     : mp42
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    creation_time   : 2015-12-15 20:27:55
    title           : Big Hero 6 (2014)
    encoder         : HandBrake 0.10.2 2015090200
  Duration: 01:41:15.47, start: 0.000000, bitrate: 44 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x528 [SAR 1:1 DAR 80:33], 805 kb/s, 23.98 fps, 23.98 tbr, 90k tbn, 180k tbc (default)
    Metadata:
      creation_time   : 2015-12-15 20:27:55
      handler_name    : VideoHandler
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 93 kb/s (default)
    Metadata:
      creation_time   : 2015-12-15 20:27:55
      handler_name    : Stereo
    Stream #0:2(und): Subtitle: mov_text (tx3g / 0x67337874), 1280x60, 0 kb/s (default)
    Metadata:
      creation_time   : 2015-12-15 20:27:55
      handler_name    : SubtitleHandler
    Stream #0:3(eng): Subtitle: mov_text (tx3g / 0x67337874), 1280x60, 0 kb/s
    Metadata:
      creation_time   : 2015-12-15 20:27:55
      handler_name    : SubtitleHandler
    "streams": [
        {
            "index": 0,
            "codec_name": "h264",
            "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
            "profile": "High",
            "codec_type": "video",
            "codec_time_base": "1/180000",
            "codec_tag_string": "avc1",
            "codec_tag": "0x31637661",
            "width": 1280,
            "height": 528,
            "coded_width": 1280,
            "coded_height": 528,
            "has_b_frames": 2,
            "sample_aspect_ratio": "1:1",
            "display_aspect_ratio": "80:33",
            "pix_fmt": "yuv420p",
            "level": 41,
            "color_range": "tv",
            "color_space": "bt709",
            "color_transfer": "bt709",
            "color_primaries": "bt709",
            "chroma_location": "left",
            "refs": 6,
            "is_avc": "1",
            "nal_length_size": "4",
            "r_frame_rate": "24000/1001",
            "avg_frame_rate": "215790000/9000241",
            "time_base": "1/90000",
            "start_pts": 0,
            "start_time": "0.000000",
            "duration_ts": 27000723,
            "duration": "300.008033",
            "bit_rate": "805296",
            "bits_per_raw_sample": "8",
            "nb_frames": "7193",
            "disposition": {
                "default": 1,
                "dub": 0,
                "original": 0,
                "comment": 0,
                "lyrics": 0,
                "karaoke": 0,
                "forced": 0,
                "hearing_impaired": 0,
                "visual_impaired": 0,
                "clean_effects": 0,
                "attached_pic": 0
            },
            "tags": {
                "creation_time": "2015-12-15 20:27:55",
                "language": "und",
                "handler_name": "VideoHandler"
            }
        },
        {
            "index": 1,
            "codec_name": "aac",
            "codec_long_name": "AAC (Advanced Audio Coding)",
            "profile": "LC",
            "codec_type": "audio",
            "codec_time_base": "1/48000",
            "codec_tag_string": "mp4a",
            "codec_tag": "0x6134706d",
            "sample_fmt": "fltp",
            "sample_rate": "48000",
            "channels": 2,
            "channel_layout": "stereo",
            "bits_per_sample": 0,
            "r_frame_rate": "0/0",
            "avg_frame_rate": "0/0",
            "time_base": "1/48000",
            "start_pts": 0,
            "start_time": "0.000000",
            "duration_ts": 14400512,
            "duration": "300.010667",
            "bit_rate": "93294",
            "nb_frames": "14063",
            "disposition": {
                "default": 1,
                "dub": 0,
                "original": 0,
                "comment": 0,
                "lyrics": 0,
                "karaoke": 0,
                "forced": 0,
                "hearing_impaired": 0,
                "visual_impaired": 0,
                "clean_effects": 0,
                "attached_pic": 0
            },
            "tags": {
                "creation_time": "2015-12-15 20:27:55",
                "language": "eng",
                "handler_name": "Stereo"
            }
        },
        {
            "index": 2,
            "codec_name": "mov_text",
            "codec_long_name": "3GPP Timed Text subtitle",
            "codec_type": "subtitle",
            "codec_time_base": "1/90000",
            "codec_tag_string": "tx3g",
            "codec_tag": "0x67337874",
            "width": 1280,
            "height": 60,
            "r_frame_rate": "0/0",
            "avg_frame_rate": "0/0",
            "time_base": "1/90000",
            "start_pts": 0,
            "start_time": "0.000000",
            "duration_ts": 546792390,
            "duration": "6075.471000",
            "bit_rate": "51",
            "nb_frames": "2406",
            "disposition": {
                "default": 1,
                "dub": 0,
                "original": 0,
                "comment": 0,
                "lyrics": 0,
                "karaoke": 0,
                "forced": 0,
                "hearing_impaired": 0,
                "visual_impaired": 0,
                "clean_effects": 0,
                "attached_pic": 0
            },
            "tags": {
                "creation_time": "2015-12-15 20:27:55",
                "language": "und",
                "handler_name": "SubtitleHandler"
            }
        },
        {
            "index": 3,
            "codec_name": "mov_text",
            "codec_long_name": "3GPP Timed Text subtitle",
            "codec_type": "subtitle",
            "codec_time_base": "1/90000",
            "codec_tag_string": "tx3g",
            "codec_tag": "0x67337874",
            "width": 1280,
            "height": 60,
            "r_frame_rate": "0/0",
            "avg_frame_rate": "0/0",
            "time_base": "1/90000",
            "start_pts": 0,
            "start_time": "0.000000",
            "duration_ts": 546792390,
            "duration": "6075.471000",
            "bit_rate": "82",
            "nb_frames": "207",
            "disposition": {
                "default": 0,
                "dub": 0,
                "original": 0,
                "comment": 0,
                "lyrics": 0,
                "karaoke": 0,
                "forced": 0,
                "hearing_impaired": 0,
                "visual_impaired": 0,
                "clean_effects": 0,
                "attached_pic": 0
            },
            "tags": {
                "creation_time": "2015-12-15 20:27:55",
                "language": "eng",
                "handler_name": "SubtitleHandler"
            }
        }
    ],
    "chapters": [

    ],
    "format": {
        "filename": "Big Hero 6 (2014) (Dual Audio).m4v",
        "nb_streams": 4,
        "nb_programs": 0,
        "format_name": "mov,mp4,m4a,3gp,3g2,mj2",
        "format_long_name": "QuickTime / MOV",
        "start_time": "0.000000",
        "duration": "6075.471000",
        "size": "34041838",
        "bit_rate": "44825",
        "probe_score": 100,
        "tags": {
            "major_brand": "mp42",
            "minor_version": "512",
            "compatible_brands": "isomiso2avc1mp41",
            "creation_time": "2015-12-15 20:27:55",
            "title": "Big Hero 6 (2014)",
            "encoder": "HandBrake 0.10.2 2015090200"
        }
    }
}

But they don't get listed in Emby's media info and of course, since Emby doesn't want to invite them to it's party, they can't get played.

 

Any ideas?

  • 3 months later...
Posted (edited)

Same issue here, can't access any mov_text embedded subs when playing in browser. If I'm direct playing the file in Kodi or otherwise, I can access the subtitles no problem.

 

EDIT: Just realized this is posted in Linux section, I'm on windows.

Edited by bfir3
Posted

can you please provide a sample file? thanks.

  • 3 months later...
Posted

I have the same issue too. Seems Emby server doesn't seem to recognize this subtitle type at all.

Posted

I have the same issue too. Seems Emby server doesn't seem to recognize this subtitle type at all.

 

Can you provide a sample file? thanks.

Posted

Thanks for that. I have this fixed for the next release.

Posted (edited)

Awesome. Will it be fixed on the beta or stable release, or both?

Edited by asnguy01

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...