Page 1 of 1

Final Fantasy AC MKV - not being detected (V20)

PostPosted: Sun Jun 05, 2011 4:10 am
by pc5dczc_nz
Firstly, what a great piece of software. It's dramatically extended the limited capabilities of my Viera P42V20 television. I'm using it to play all manner of divx, avi and flv files which were previously not usable. I'm running 0.52 on arch linux.

However, I am having a problem with an MKV of Final Fantasy Advent Children. I've tried some of the profile mods in previous threads (see below for my current one), but the file is still not being shown in the TV's media browser, and hence I aren't able to even select it, let alone play it.

The filename is: "Final_Fantasy_AC_Complete_(2009).mkv"

ffmpeg -i shows:

  Code:
Input #0, matroska,webm, from 'Final_Fantasy_AC_Complete_(2009).mkv':
  Metadata:
    title           : Final Fantasy Advent Children Complete (2009)
  Duration: 02:06:26.53, start: 0.000000, bitrate: 1536 kb/s
    Stream #0.0(jpn): Video: h264 (High), yuv420p, 1280x720, PAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Stream #0.1(jpn): Audio: dca (DTS), 48000 Hz, 5.1, s16, 1536 kb/s (default)
    Stream #0.2(eng): Subtitle: ass (default)
    Stream #0.3: Attachment: [0][0][0][0] / 0x0000
    Metadata:
      filename        : LISTFCCE_.TTF
    Stream #0.4: Attachment: [0][0][0][0] / 0x0000
    Metadata:
      filename        : 12Sabon-07232-Bold.ttf
    Stream #0.5: Attachment: [0][0][0][0] / 0x0000
    Metadata:
      filename        : arial.ttf
    Stream #0.6: Attachment: [0][0][0][0] / 0x0000
    Metadata:
      filename        : LISTFCCE.TTF
At least one output file must be specified


Profile:
  Code:
<Profile id="14" name="Panasonic Viera Testing" extendsProfileId="1">
      <ContentDirectoryMessageBuilder>org.serviio.upnp.service.contentdirectory.PanasonicDLNAMessageBuilder</ContentDirectoryMessageBuilder>
      <SubtitlesMimeType>text/srt</SubtitlesMimeType>
      <MediaFormatProfiles>
         <MediaFormatProfile mime-type="video/divx">AVI</MediaFormatProfile>
      </MediaFormatProfiles>
      <Transcoding>
             <!-- First remux all h264 video on MPEG-TS stream with ac3 audio transcoding, expected profile AVC_TS_MP_HD_AC3_ISO or AVC_TS_MP_SD_AC3_ISO -->
             <Video targetContainer="mpegts" targetACodec="ac3">
                <Matches container="avi" vCodec="h264" />
                <Matches container="mp4" vCodec="h264" />
                <Matches container="matroska" vCodec="h264" />
                <!-- if audio different to ac3, must be transcoded -->
                <Matches container="mpegts" aCodec="aac" />
                <Matches container="mpegts" aCodec="mp3" />
                <Matches container="mpegts" aCodec="dca" />
             </Video>
             <!-- All Others video/audio codec will be transcoded into mpeg2ts, mpeg2video and ac3 audio (MPEG_TS_SD_EU). -->
             <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3">
                <Matches container="asf" />
                <Matches container="mp4" />
                <Matches container="matroska" />
      <Matches container="avi" vCodec="mpeg4" aCodec="lpcm" />
      <Matches container="flv" />
             </Video>
        <Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384">
            <Matches container="avi" vCodec="h264" />
            <Matches container="mp4" vCodec="h264" />
            <Matches container="matroska" vCodec="h264" />
        </Video>
            <Audio targetContainer="mp3"> 
            <Matches container="mp4" />
            <Matches container="flac" />
            <Matches container="ogg" />
         </Audio>
      </Transcoding>
   </Profile>


Your collective expert thoughts are much appreciated! :)

Re: Final Fantasy AC MKV - not being detected (V20)

PostPosted: Sun Jun 05, 2011 7:44 am
by Illico
Did you use the FFmpeg version included in serviio release: http://download.serviio.org/opensource/ ... 303.tar.gz

Re: Final Fantasy AC MKV - not being detected (V20)

PostPosted: Sun Jun 05, 2011 3:15 pm
by zip
yep, it's because of the new ffmpeg version.

Re: Final Fantasy AC MKV - not being detected (V20)

PostPosted: Mon Jun 06, 2011 5:48 am
by pc5dczc_nz
Illico wrote:Did you use the FFmpeg version included in serviio release: http://download.serviio.org/opensource/ ... 303.tar.gz


No, on Arch Linux, the current 'ffmpeg' package uses ffmpeg source version '20110330'. I'm not sure if this is newer or older than the version you've linked to above (I presume the Arch package is newer).

That said, I've just compiled and installed ffmpeg using the source you provided and shall report back.

EDIT: Yep - that solved it. What is the issue with the later version(s) of ffmpeg that results in this behaviour? As a bonus, the video ffwd and rewind functions are also now working in the TV's media server player - fantastic!

Final question (for now) - any way of enabling soft encoded subtitles to display? The Final Fantasy Movie is in Japanese, but does have English subs available.

Re: Final Fantasy AC MKV - not being detected (V20)

PostPosted: Mon Jun 06, 2011 11:35 am
by zip
What is the issue with the later version(s) of ffmpeg that results in this behaviour?

They added some text behind the codec names (High, DTS) that Serviio doesn't expect and therefore doesn't think the codec is valid.

Final question (for now) - any way of enabling soft encoded subtitles to display? The Final Fantasy Movie is in Japanese, but does have English subs available.

You would have to extract it into a separate srt file.