Page 1 of 1

profiles - subtitles not working anymore

PostPosted: Sun Mar 31, 2013 8:28 am
by sparx
I have a panasonic GT30, which worked perfect, after update to never version of Serviio, some avi files not supported and subtitles not working.

I used a profile I got from this forum earlier, however, if I try to put it into the profile file, it is not seen in the menu:

It was this one:
<Profile id="24" name="Panasonic Viera With AVI Support" extendsProfileId="1">
<ContentDirectoryMessageBuilder>org.serviio.upnp.service.contentdirectory.PacketVideoDLNAMessageBuilder</ContentDirectoryMessageBuilder>
<SubtitlesMimeType>text/srt</SubtitlesMimeType>
<MediaFormatProfiles>
<MediaFormatProfile mime-type="video/divx">AVI</MediaFormatProfile>
</MediaFormatProfiles>
<Transcoding>
<!-- Transcode h264 videos with profile level > 4.1 to mpegts with ac3 audio -->
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" maxVBitrate="20000">
<Matches container="avi" vCodec="h264" profile="high" levelGreaterThan="4.2" />
<Matches container="avi" vCodec="h264" profile="main" levelGreaterThan="4.2" />
<Matches container="mp4" vCodec="h264" profile="high" levelGreaterThan="4.2" />
<Matches container="mp4" vCodec="h264" profile="main" levelGreaterThan="4.2" />
<Matches container="matroska" vCodec="h264" profile="high" levelGreaterThan="4.2" />
<Matches container="matroska" vCodec="h264" profile="main" levelGreaterThan="4.2" />
</Video>
<!-- remux VORBIS/FLAC/LPCM in MKV/MP4 to AC3 -->
<Video targetContainer="mpegts" targetACodec="ac3" >
<Matches container="matroska" vCodec="h264" aCodec="flac" />
<Matches container="matroska" vCodec="h264" aCodec="vorbis" />
<Matches container="matroska" vCodec="h264" aCodec="truehd" />
<Matches container="mp4" vCodec="h264" aCodec="lpcm"/>
<Matches container="mp4" vCodec="h264" aCodec="aac"/>
<Matches container="3gp" vCodec="h264" />
</Video>
<!-- Remux MPEG-TS with no transcoding -->
<Video targetContainer="mpegts">
<Matches container="avi" vCodec="h264" />
<Matches container="mp4" vCodec="h264" />
<Matches container="matroska" vCodec="mpeg2video"/>
</Video>
<!-- Remux WTV files to MPEG-PS with no transcoding-->
<Video targetContainer="mpeg">
<Matches container="wtv" />
</Video>
<!-- unsupported codecs will be transcoded into mpeg-ts, mpeg2 video and ac3 audio -->
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3">
<Matches container="avi" vCodec="mjpeg" />
<Matches container="avi" vCodec="dvvideo" />
<Matches container="mp4" vCodec="mjpeg" />
<Matches container="mp4" vCodec="mpeg4" />
<Matches container="mpeg" vCodec="mpeg1video" />
<Matches container="matroska" vCodec="mpeg4" />
<Matches container="asf" />
<Matches container="flv" />
<Matches container="ogg" />
<Matches container="3gp" />
</Video>
<!-- unsupported audio will be transcoded into lpcm audio -->
<Audio targetContainer="lpcm">
<Matches container="flac" />
<Matches container="ogg" />
<Matches container="asf" />
<Matches container="adts" />
</Audio>
</Transcoding>
</Profile>

Has profile setup changed , so I need to rewrite it to be seen by serviio?

?

Re: profiles - subtitles not working anymore

PostPosted: Sun Mar 31, 2013 7:35 pm
by sparx
Just found out, if I add this to the default profile.xml, and stop and start serviio service - it will not start, so something must be wrong in it - in the syntax.

But it used to (in version 0.6.2) give me all videos + subtitles, and the default (1.2.1) profile does not.

Any help appreciated, running on Pana GT30

Re: profiles - subtitles not working anymore

PostPosted: Sun Mar 31, 2013 8:12 pm
by will
The SubtitlesMimeType element changed, look at the other profiles for the new syntax.

Re: profiles - subtitles not working anymore

PostPosted: Sun Mar 31, 2013 11:58 pm
by zip
This profile is very similar to "Panasonic Viera G/GT/DT/UT/VT (2011/2012)"

Can you chose that one and provide details (ffmpeg -i) of files that don't play (and that used to play with the other profile)?

Re: profiles - subtitles not working anymore

PostPosted: Mon Apr 01, 2013 6:51 am
by sparx
Here is ffmpeg output

C:\Program Files\Serviio\lib>ffmpeg.exe -i "2011.avi"
ffmpeg version 1.1.1 Copyright (c) 2000-2013 the FFmpeg developers
built on Feb 5 2013 21:59:54 with gcc 4.7.2 (GCC)
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-libass --enable-librtm
p --enable-fontconfig --enable-libfreetype --enable-zlib --extra-libs='-lrtmp -l
polarssl -lws2_32 -lwinmm -lexpat -lfreetype -lfribidi -lz' --arch=x86 --enable-
runtime-cpudetect --enable-pthreads --target-os=mingw32 --cross-prefix=i686-w64-
mingw32- --pkg-config=pkg-config
libavutil 52. 13.100 / 52. 13.100
libavcodec 54. 86.100 / 54. 86.100
libavformat 54. 59.106 / 54. 59.106
libavdevice 54. 3.102 / 54. 3.102
libavfilter 3. 32.100 / 3. 32.100
libswscale 2. 1.103 / 2. 1.103
libswresample 0. 17.102 / 0. 17.102
Input #0, avi, from ' (2011).avi':
Metadata:
encoder : VirtualDubMod 1.5.10.2 (build 2542/release)
Duration: 01:31:16.44, start: 0.000000, bitrate: 1068 kb/s
Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv
420p, 608x256 [SAR 1:1 DAR 19:8], 23.98 tbr, 23.98 tbn, 23.98 tbc
Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16p, 32 kb
/s

Re: profiles - subtitles not working anymore

PostPosted: Mon Apr 01, 2013 6:53 am
by sparx
will wrote:The SubtitlesMimeType element changed, look at the other profiles for the new syntax.


Thanks, will try to modify this... (no clue of what I am doing - but copy/paste might work...

Re: profiles - subtitles not working anymore

PostPosted: Mon Apr 01, 2013 2:44 pm
by sparx
Tried it now, and file still will not play, and no subtitles worked.

Was something fundamental changed from vers 0.6 rg subtitles since it used to work, but have not been able to get it to work afterwards with any of my movies?

pls. help

Re: profiles - subtitles not working anymore

PostPosted: Tue Apr 02, 2013 8:53 pm
by zip
post detailed log of playing the file

Re: profiles - subtitles not working anymore

PostPosted: Wed Nov 06, 2013 1:48 pm
by Leonmeijer
Hi,

I also have a Panasonic TV (actually, don't know the exact model).
Actually the TV is not playing almost all types so I discovered Serviio and since I'm using serviio almost everything is playing.
But now I've updated to the latest version and.... nothing is playing the TV says: "This file type is not supported" to files it certainly played before.
I'm not known to profiles (can't even find an option in the console) because it just worked fine untill the update.
Subtitles never worked though but I don't use that quite much.
Also online media is no longer playing.
Using serviio on a Synology NAS.

Any ideas?
Did not yet go trough the changelogs.