Page 1 of 1

Hello and a problem

PostPosted: Sun Sep 25, 2011 3:53 pm
by RedRat
Hi All,

since buying a Toshiba WL 40768 TV i came across many DLNA Servers. Serviio looks great to me but i cannot get HD-TS File working.

I tried to add the formats to the profile but i wasnt able to get it working. Serviio did not start, because of format not known (somthing like that).

i was looking for an Howto but i didnt found one.

Let me know if i can do something to get Serviio working with my toshi TV

Greetz from Schöneck, Germany


Alex

P.S.

Here is the copy from the UPNP Spy

http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_NTSC,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_NA_ISO,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA_T,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_NA,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_HD_NA_ISO,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_NA_T,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_EU_ISO,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU_T,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_HD_60_AC3_T,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_HD_24_AC3_T,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_MP_HD_1080i_AAC,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_HP_HD_AAC,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_L3_SD_AAC,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_L3L_SD_AAC,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_L32_HD_AAC,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_L31_HD_AAC,http-get:*:audio/L16;rate=44100;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_SM,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_MED

Re: Hello and a problem

PostPosted: Sun Sep 25, 2011 4:19 pm
by moltra
Can you post your serviio.log. Also see signature and post the ffmpeg -i of the file you are tryin got play.

Re: Hello and a problem

PostPosted: Sun Sep 25, 2011 7:45 pm
by RedRat
So,

did some more testing,
the file i tried to play looks like this

[mpegts @ 003da400] max_analyze_duration 5000000 reached at 5000000
Input #0, mpegts, from 'd:\shares\Videos\HD\Test\Mamma Mia!_fixed_fixed.ts':
Duration: 01:32:09.05, start: 349.726800, bitrate: 9658 kb/s
Program 3
Stream #0.0[0x1ff]: Video: h264 (Main), yuv420p, 1280x720 [PAR 1:1 DAR 16:9]
, 50 fps, 50 tbr, 90k tbn, 100 tbc
Stream #0.1[0x120](deu): Audio: mp2, 48000 Hz, stereo, s16, 256 kb/s
Stream #0.2[0x140](deu): Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s

the file plays from an usb-hdd

so i assume it should play through Serviio without transcoding

Strange thing is, that looking into the log, nothing is beeing found which looks like trying to play the file

I tried an SD-TS file. This one works and show up in the log.


When i use the Regza profile the HD-TS file is transcoded, and plays ! (But thats not what I am looking for)


Last thing i tried is to add a media profile format to the regza profile

but then serviio won't start



2011-09-25 21:34:13,461 DEBUG [ProfilesDefinitionParser] Parsing profile definition for profile 13
2011-09-25 21:34:13,555 ERROR [MediaServer] An unexpected error occured. Ending the application. Message: org.serviio.profile.ProfilesDefinitionException: Profile 13 has invalid media format profile MPEG_TS_HD_NA
java.lang.RuntimeException: org.serviio.profile.ProfilesDefinitionException: Profile 13 has invalid media format profile MPEG_TS_HD_NA
at org.serviio.profile.ProfileManager.loadProfiles(ProfileManager.java:156)
at org.serviio.MediaServer.main(MediaServer.java:105)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher$2.run(Unknown Source)


Greetz

Alex

Re: Hello and a problem

PostPosted: Sun Sep 25, 2011 8:27 pm
by Cerberus
RedRat wrote:the file plays from an usb-hdd

so i assume it should play through Serviio without transcoding


USB and DLNA are completely different systems and connot be compared

RedRat wrote:When i use the Regza profile the HD-TS file is transcoded, and plays ! (But thats not what I am looking for)


exactly so it does work if you use the correct profile, so there is no issue here select the correct profile (Regza) and away you go.

Re: Hello and a problem

PostPosted: Sun Sep 25, 2011 9:22 pm
by RedRat
Hm,

i checked the task manager ffmpeg cheews up 65 % of CPU transcoding the HD-TS file.

I just installed twonky. (Not liking it much) , but it streams the HD-TS to the Toshi using up 2% CPU.

So the Toshi seems to play the HD-TS file natively.

I'll keep on trying

Alex

Re: Hello and a problem

PostPosted: Sun Sep 25, 2011 10:07 pm
by Cerberus
There is no keep looking that how it has to be to serve the file from serviio, alot of time and effort goes into the profiles and the current ones are the best you will get for the devices.

the tosh doesnt support native playback of that file or it would play when u select the generic profile as that has no transcoding at all included in it.

Re: Hello and a problem

PostPosted: Sun Sep 25, 2011 11:14 pm
by zip
you might have to do something similar to the Bravia profiles, ie renaming the profiles. So if the file is served by Serviio natively as e.g. PRPOFILEX, you have to rename it to MPEG_TS_HD_NA.

Re: Hello and a problem

PostPosted: Mon Sep 26, 2011 7:43 am
by RedRat
Hi Petr,

that sounds like a possibilty, but i don't quite get it . Sorry .

Could you please show the exact syntax of the MediaProfileFormat

the line shown look different from that in the documentation

so I am wondering which is part is the file type and which is the format the tv accepts (extracted withh upnp spy)

(This is from the Bravia profile)

MediaFormatProfile name="AVC_TS_HD_24_AC3,AVC_TS_HD_50_AC3,AVC_TS_HD_60_AC3,AVC_TS_HD_EU" mime-type="video/vnd.dlna.mpeg-tts">AVC_TS_MP_HD_AC3</MediaFormatProfile>

Thanks

Alex

Re: Hello and a problem

PostPosted: Mon Sep 26, 2011 9:06 am
by zip
this example tells Serviio to use 3 resources with these profile names (AVC_TS_HD_24_AC3,AVC_TS_HD_50_AC3,AVC_TS_HD_60_AC3,AVC_TS_HD_EU) for files that Serviio detects as AVC_TS_MP_HD_AC3.

So you can go to AV Media Controller (Intel tools), assign your PC's IP address the Toshiba profile in the Serviio console, browse to a TS-HD file and check what resources it serves (Right click->properties) and what is the profile name of those resources. You can then add a line like this to change the files profile name from AVC_TS_MP_HD_AC3 (if that's the case) to MPEG_TS_HD_NA:

  Code:
<MediaFormatProfile name="MPEG_TS_HD_NA" mime-type="video/vnd.dlna.mpeg-tts">AVC_TS_MP_HD_AC3</MediaFormatProfile>


Then restart AV Media Controller and Serviio and check if the resource is now served with the new profile name. Then try to play it.

This way you can also compare the resources served by Serviio and other servers (which work for you) to try to match the behaviour.

Re: Hello and a problem

PostPosted: Tue Sep 27, 2011 8:40 am
by RedRat
Hi Petr,

thanks for the effort. and TaaTAAAAA !! It works perfectly

i remapped the type to MPEG_TS_HD_NA_ISO, and the Toshi plays, pauses, rewinds, forwards etc !

The server only uses 1 % of CPU. Thats what I'm looking for !!


Greetz

Alex

P.S. Maybe the remapping of Mediatype should be intgrated into the Support page !

Re: Hello and a problem

PostPosted: Tue Sep 27, 2011 9:37 am
by zip
can you share the profile?

Re: Hello and a problem

PostPosted: Thu Oct 06, 2011 7:48 pm
by RedRat
hi,

i toyed around for another week, getting quite fedup with DLNA.

The Toshi only works with 720p format, no 1080i

My Profile consists only of one line

<MediaFormatProfile name="MPEG_TS_HD_NA_ISO" mime-type="video/mpg">AVC_TS_HP_HD_MPEG1_L2_ISO</MediaFormatProfile>

This works for 720p material. If 1080i material is used the TV only displays 1280 by 720 pixel.

Transcoding the whole contetnt sucks bigtime, so I tend to use my AMD E350 HTPC as a mediaplayer (Which runs quite well)

The problems i have come all from the DLNA implenmantion of the Toshiba TV.

BTW. All files played perfectly from an USB drive ! So the Codecs inside the TV can do the job.

Thanks for your efforts , ZZip


Alex

Re: Hello and a problem

PostPosted: Fri Oct 07, 2011 10:42 am
by Illico
I proposed to add some extra-ffmpeg-option to deal with aspect ratio or screen-resolution compatibility problem.

https://bitbucket.org/xnejp03/serviio/i ... n-renderer

Re: Hello and a problem

PostPosted: Fri Oct 07, 2011 12:21 pm
by moltra
RedRat wrote:BTW. All files played perfectly from an USB drive ! So the Codecs inside the TV can do the job.

Thanks for your efforts , ZZip


Alex


Most TV's use different internal codecs for USB and dlna so everything that USB plays will not play via DLNA.