FAQ  •  Register  •  Login

Serviio Service wont start after changing profile [UPDATED]

<<

wkingham

Serviio newbie

Posts: 10

Joined: Sat Mar 24, 2012 2:37 am

Post Sun Mar 25, 2012 1:19 am

Serviio Service wont start after changing profile [UPDATED]

Hi there,

I am trying to get .WTV files to transcode and stream to my Samsung D5000 LED.

Revieing other posts I have ammended my profile for the Samsung C/D Series to this:

<Video targetContainer="mpegts" targetACodec="ac3" forceVTranscoding="true">
<Matches container="wtv" />
</Video>

When I do this the Windows Service when trying to start the service it just stops. I have also tried to use just mpeg with out the TS. No difference.

Running Windows 7 HP X64. Please Help as I cannot transcode .wtv files.

Thanks
Last edited by wkingham on Sun Mar 25, 2012 3:04 am, edited 1 time in total.
<<

wkingham

Serviio newbie

Posts: 10

Joined: Sat Mar 24, 2012 2:37 am

Post Sun Mar 25, 2012 1:35 am

Re: Serviio Service wont start after changing profile

Just an update,

When I remove the extra code and put it back to the standard profile windows service restarts and works no problems.

The problem with using the standard is that It will not transcode .wtv files as my samsung still comes up saying file format not supported.
<<

wkingham

Serviio newbie

Posts: 10

Joined: Sat Mar 24, 2012 2:37 am

Post Sun Mar 25, 2012 3:06 am

Re: Serviio Service wont start after changing profile [UPDAT

[UPDATED]

I looked in the log file and had a problem with the edited line. I was using notepad so swapped to PSPAD and the problem has dissapeared. I assume character were being added by notepad.

Anyway tried various transcode configuration to transcode .wtv files from Windows media Centre recordings to my samsung but I have had no luck. Can someone suggest a render profile code to use to achieve this. Thanks
<<

serviio-buddy

User avatar

DLNA master

Posts: 132

Joined: Fri Jan 20, 2012 5:24 pm

Location: United States

Post Sun Mar 25, 2012 3:13 am

Re: Serviio Service wont start after changing profile [UPDAT

I've been researching this thru the forums here, but found very little so far.
Your code change was:
  Code:
<Video targetContainer="mpegts" targetACodec="ac3" forceVTranscoding="true">
<Matches container="wtv" />
</Video>
I did find a Samsung D6000 user using the Profile id="7" name="Samsung TV / player (C/D-series) as follows:
  Code:
<Profile id="7" name="Samsung TV / player (C/D-series)" extendsProfileId="2">
      <Detection>
         <UPnPSearch>
            <FriendlyName>(^TV-\d{2}C\d{3}.*)|(^\[TV\][A-Z]{2}\d{2}D\d{3}.*)</FriendlyName>           
            <ModelNumber>(1\.0)|(AllShare1\.0)</ModelNumber>
         </UPnPSearch>   
         <HttpHeaders>
            <!-- for BD players -->
            <User-Agent>.*SEC_HHP_BD-[CD].*</User-Agent>
         </HttpHeaders>
      </Detection>
      <DeviceDescription>
         <ExtraElements>
              &lt;sec:ProductCap&gt;smi,DCM10,getMediaInfo.sec,getCaptionInfo.sec&lt;/sec:ProductCap&gt;
            &lt;sec:X_ProductCap&gt;smi,DCM10,getMediaInfo.sec,getCaptionInfo.sec&lt;/sec:X_ProductCap&gt;
           </ExtraElements>
      </DeviceDescription>   
      <ContentDirectoryDefinitionFilter>org.serviio.upnp.service.contentdirectory.definition.SamsungContentDirectoryDefinitionFilter</ContentDirectoryDefinitionFilter>   
      <Transcoding>
         <!-- transcode H264 MP4 files with LPCM audio -->
         <Video targetContainer="mpegts" targetACodec="ac3">
            <Matches container="mp4" aCodec="lpcm" />
            <Matches container="flv" vCodec="h264" />
         </Video>
   
         <!-- transcode MKV with MPEG2 video, remux into mpeg2ts -->
         <!-- transcode AVI with AVC video -->
         <Video targetContainer="mpegts" targetACodec="ac3" targetVCodec="mpeg2video">
            <Matches container="matroska" vCodec="mpeg2video" />
            <Matches container="avi" vCodec="h264" />
            <Matches container="avi" vCodec="mjpeg" />
            <Matches container="flv" />
         </Video>
         <!-- For dvr-ms files force mpeg2video transcoding to fix monotone timestamps problems-->
         <Video targetContainer="mpegts" targetACodec="ac3" forceVTranscoding="true">
            <Matches container="asf" vCodec="mpeg2video" />
         </Video>
         <Video targetContainer="mpegts">
            <Matches container="wtv" />
         </Video>
         <!-- transcode audio only for wmv with wmapro -->
         <Video targetContainer="asf" targetACodec="ac3" aBitrate="256">
            <Matches container="asf" aCodec="wmapro" />
         </Video>
         <Audio targetContainer="lpcm">
            <Matches container="asf" />
            <Matches container="mp4" />
            <Matches container="flac" />
            <Matches container="ogg" />
         </Audio>
      </Transcoding>
   </Profile>
As a temporary fix, and hopefully not permanent, you could try to do video transcoding (quite slow on a slow PC) instead of the code you posted, which will just transcode the audio only (quite fast).

To transcode the video also, try replacing your code in the profiles.xml file with:
  Code:
<Video targetContainer="mpegts" targetACodec="ac3" targetVCodec="mpeg2video" forceVTranscoding="true">
            <Matches container="wtv" />
         </Video>
Last edited by serviio-buddy on Sun Mar 25, 2012 3:52 am, edited 1 time in total.
serviio-buddy
Beta Tester Group

SONY SMP-N100 Media Player, HP PC: Vista 32/Ubuntu 11.10, Serviio 0.6.2, XBMC, VLC, ASUS eeePC Netbook: Vista 32, XBMC, SHARP Aquos BD-HP25U DLNA Blu-Ray Player

HowTo: Provide supported formats of a device | Record a new ticket on Bitbucket | Provide details of a video file that doesn't play | Turn on detailed logging
<<

wkingham

Serviio newbie

Posts: 10

Joined: Sat Mar 24, 2012 2:37 am

Post Sun Mar 25, 2012 3:49 am

Re: Serviio Service wont start after changing profile [UPDAT

Thanks for that profile.

Copied and pasted and it worked. Went to try and play the .wtv file on TV and keeps coming up with Unsupported File Format.

Tried this code from another forum to transcode:
Video targetContainer="mpegts" targetVCodec="mpeg2video" forceVTranscoding="true">
<Matches container="wtv" />
</Video>

Tried another but TV then said unsupport Video Codec.

Any ideas on correct transcoding for WTV files to work?

Thanks :D
<<

serviio-buddy

User avatar

DLNA master

Posts: 132

Joined: Fri Jan 20, 2012 5:24 pm

Location: United States

Post Sun Mar 25, 2012 3:57 am

Re: Serviio Service wont start after changing profile [UPDAT

OK. maybe try this if it said unsupported video codec:
  Code:
<Video targetContainer="mpeg" targetACodec="ac3" targetVCodec="mpeg2video" forceVTranscoding="true">
            <Matches container="wtv" />
         </Video>
serviio-buddy
Beta Tester Group

SONY SMP-N100 Media Player, HP PC: Vista 32/Ubuntu 11.10, Serviio 0.6.2, XBMC, VLC, ASUS eeePC Netbook: Vista 32, XBMC, SHARP Aquos BD-HP25U DLNA Blu-Ray Player

HowTo: Provide supported formats of a device | Record a new ticket on Bitbucket | Provide details of a video file that doesn't play | Turn on detailed logging
<<

wkingham

Serviio newbie

Posts: 10

Joined: Sat Mar 24, 2012 2:37 am

Post Sun Mar 25, 2012 5:52 am

Re: Serviio Service wont start after changing profile [UPDAT

Tried the code but TV coming up saying Video Codec not supported? Is there a way to transcode into different Video Codec?
<<

serviio-buddy

User avatar

DLNA master

Posts: 132

Joined: Fri Jan 20, 2012 5:24 pm

Location: United States

Post Sun Mar 25, 2012 6:13 am

Re: Serviio Service wont start after changing profile [UPDAT

Transcoding Configuration for Serviio is here: http://www.serviio.org/index.php?option ... icle&id=24

Only 2 target video codecs are allowed:
  Code:
targetVCodec - optional; name of video codec to transcode into or omit this attribute to keep the video stream as it is; possible values: mpeg2video (MPEG2), wmv2 (WMV9)
Based on that, maybe you can try:
  Code:
<Video targetContainer="mpegts" targetACodec="ac3" targetVCodec="wmv2" forceVTranscoding="true">
            <Matches container="wtv" />
         </Video>
serviio-buddy
Beta Tester Group

SONY SMP-N100 Media Player, HP PC: Vista 32/Ubuntu 11.10, Serviio 0.6.2, XBMC, VLC, ASUS eeePC Netbook: Vista 32, XBMC, SHARP Aquos BD-HP25U DLNA Blu-Ray Player

HowTo: Provide supported formats of a device | Record a new ticket on Bitbucket | Provide details of a video file that doesn't play | Turn on detailed logging
<<

wkingham

Serviio newbie

Posts: 10

Joined: Sat Mar 24, 2012 2:37 am

Post Sun Mar 25, 2012 6:34 am

Re: Serviio Service wont start after changing profile [UPDAT

Thanks for that, Tried the WMV2 but still the same with the TV saying Video Codec not supported.

I wonder if its the WTV files as they are from Free to Air TV most HD?

Does the FFMpeg info below give any clues?
Last edited by wkingham on Sun Mar 25, 2012 6:48 am, edited 1 time in total.
<<

wkingham

Serviio newbie

Posts: 10

Joined: Sat Mar 24, 2012 2:37 am

Post Sun Mar 25, 2012 6:46 am

Re: Serviio Service wont start after changing profile [UPDAT

  Code:
C:\Program Files (x86)\serviio\lib>ffmpeg.exe -i c:\users\htpc\downloads\xfactor
trial.wtv
ffmpeg version 0.9, Copyright (c) 2000-2011 the FFmpeg developers
  built on Dec 13 2011 20:46:11 with gcc 4.4.2
  configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-librtmp --extra-libs='
-lrtmp -lpolarssl -lws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enab
le-pthreads --target-os=mingw32 --cross-prefix=i686-mingw32- --pkg-config=pkg-co
nfig
  libavutil    51. 32. 0 / 51. 32. 0
  libavcodec   53. 42. 0 / 53. 42. 0
  libavformat  53. 24. 0 / 53. 24. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 53. 0 /  2. 53. 0
  libswscale    2.  1. 0 /  2.  1. 0
[h264 @ 01829280] non-existing SPS 0 referenced in buffering period
[h264 @ 01829280] non-existing PPS referenced
[h264 @ 01829280] non-existing SPS 0 referenced in buffering period
[h264 @ 01829280] non-existing PPS 0 referenced
[h264 @ 01829280] decode_slice_header error
[h264 @ 01829280] no frame!
[h264 @ 01829280] non-existing SPS 0 referenced in buffering period
[h264 @ 01829280] non-existing PPS referenced
[h264 @ 01829280] non-existing SPS 0 referenced in buffering period
[h264 @ 01829280] non-existing PPS 0 referenced
[h264 @ 01829280] decode_slice_header error
[h264 @ 01829280] no frame!
[h264 @ 01829280] mmco: unref short failure
    Last message repeated 3 times
[h264 @ 01829280] Increasing reorder buffer to 1
[h264 @ 01829280] Increasing reorder buffer to 2
[h264 @ 01829280] mmco: unref short failure
    Last message repeated 1 times
[aac_latm @ 01828b80] audio config changed

Seems stream 1 codec frame rate differs from container frame rate: 50.00 (50/1)
-> 50.00 (50/1)
Input #0, wtv, from 'c:\users\htpc\downloads\xfactortrial.wtv':
  Metadata:
    WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
    WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
    Title           : The X Factor Australia
    WM/SubTitleDescription: Hosted by Luke Jacobz, The X Factor Australia sees f
our judges and mentors on the search for a contestant, or contestants, with the
'X Factor' who will win a recording contract.
    WM/OriginalReleaseTime: 0
    WM/MediaCredits : ;;;
    service_provider: TV3 PLUS1
    service_name    : TV3 PLUS1
    WM/MediaOriginalChannel: 8
    WM/MediaOriginalChannelSubNumber: 0
    WM/MediaOriginalBroadcastDateTime: 2012-02-03T11:00:00Z
    WM/MediaOriginalRunTime: 41959188367
    WM/MediaIsStereo: false
    WM/MediaIsRepeat: false
    WM/MediaIsLive  : false
    WM/MediaIsTape  : false
    WM/MediaIsDelay : false
    WM/MediaIsSubtitled: false
    WM/MediaIsMovie : false
    WM/MediaIsPremiere: false
    WM/MediaIsFinale: false
    WM/MediaIsSAP   : false
    WM/MediaIsSport : false
    WM/Provider     : MediaCenterDefault
    WM/VideoClosedCaptioning: false
    WM/WMRVEncodeTime: 2012-02-04 07:28:04
    WM/WMRVSeriesUID: !Series!T_1775834898
    WM/WMRVServiceID: !Generated!fd15a5c5ca5e4bc089d7ce57998882e4
    WM/WMRVProgramID: !Program!n649898359_n1937780568_20120204073000_1775834898
    WM/WMRVRequestID: 0
    WM/WMRVScheduleItemID: 0
    WM/WMRVQuality  : 3
    WM/WMRVOriginalSoftPrePadding: 420
    WM/WMRVOriginalSoftPostPadding: 180
    WM/WMRVHardPrePadding: -300
    WM/WMRVHardPostPadding: 0
    WM/WMRVATSCContent: false
    WM/WMRVDTVContent: true
    WM/WMRVHDContent: false
    Duration        : 6817789955
    WM/WMRVEndTime  : 2012-02-04 07:39:25
    WM/WMRVBitrate  : 5.589091
    WM/WMRVKeepUntil: -1
    WM/WMRVActualSoftPrePadding: 620
    WM/WMRVActualSoftPostPadding: -3334
    WM/WMRVContentProtected: false
    WM/WMRVContentProtectedPercent: 0
    WM/WMRVExpirationSpan: 9223372036854775807
    WM/WMRVInBandRatingSystem: 255
    WM/WMRVInBandRatingLevel: 255
    WM/WMRVInBandRatingAttributes: 0
    WM/WMRVWatched  : false
    WM/MediaThumbWidth: 352
    WM/MediaThumbHeight: 281
    WM/MediaThumbStride: 1056
    WM/MediaThumbRet: 0
    WM/MediaThumbRatingSystem: 9
    WM/MediaThumbRatingLevel: 11
    WM/MediaThumbRatingAttributes: 0
    WM/MediaThumbAspectRatioX: 11520
    WM/MediaThumbAspectRatioY: 6336
    WM/MediaThumbTimeStamp: 4647504571264360210
    WM/MediaThumbType: 3
  Duration: 00:11:17.92, start: 3.662328, bitrate: 5620 kb/s
    Stream #0:0[0x35](eng): Audio: aac_latm ([2][22][0][0] / 0x1602), 48000 Hz,
stereo, s16
    Stream #0:1[0x36]: Video: h264 (Main), yuv420p, 720x576 [SAR 16:11 DAR 20:11
], 52.50 fps, 50 tbr, 10000k tbn, 50 tbc
    Stream #0:2[0x0]: Attachment: mjpeg
    Metadata:
      title           : TV Thumbnail
At least one output file must be specified

C:\Program Files (x86)\serviio\lib>
Attachments
ffmpeg.txt
(4.7 KiB) Downloaded 191 times
Last edited by wkingham on Sun Mar 25, 2012 7:43 am, edited 1 time in total.
<<

serviio-buddy

User avatar

DLNA master

Posts: 132

Joined: Fri Jan 20, 2012 5:24 pm

Location: United States

Post Sun Mar 25, 2012 7:10 am

Re: Serviio Service wont start after changing profile [UPDAT

I will look at the ffmpeg listing, but you can click on the "Code" word at the top of your editing window to put your code or results that are lengthy in between the "Code" formatting, then choose preview before you post the edit. You can go back and edit it now if you want to make it look like the previous posts I did with the code inside the code blocks. :)

Also, did you try to play the .wtv file locally from a USB port on your TV to see if it works that way?
serviio-buddy
Beta Tester Group

SONY SMP-N100 Media Player, HP PC: Vista 32/Ubuntu 11.10, Serviio 0.6.2, XBMC, VLC, ASUS eeePC Netbook: Vista 32, XBMC, SHARP Aquos BD-HP25U DLNA Blu-Ray Player

HowTo: Provide supported formats of a device | Record a new ticket on Bitbucket | Provide details of a video file that doesn't play | Turn on detailed logging
<<

wkingham

Serviio newbie

Posts: 10

Joined: Sat Mar 24, 2012 2:37 am

Post Sun Mar 25, 2012 7:44 am

Re: Serviio Service wont start after changing profile [UPDAT

Cheers for the tip about code. Thats better.

Yes I did put the .wtv file on usb and the tv just said file format not supported.

Thanks
<<

serviio-buddy

User avatar

DLNA master

Posts: 132

Joined: Fri Jan 20, 2012 5:24 pm

Location: United States

Post Sun Mar 25, 2012 2:58 pm

Re: Serviio Service wont start after changing profile [UPDAT

Hopefully, someone will chime in with a suggestion on how to fix this.

We know that .wtv files don't play natively or locally from your TV's USB port.
serviio-buddy
Beta Tester Group

SONY SMP-N100 Media Player, HP PC: Vista 32/Ubuntu 11.10, Serviio 0.6.2, XBMC, VLC, ASUS eeePC Netbook: Vista 32, XBMC, SHARP Aquos BD-HP25U DLNA Blu-Ray Player

HowTo: Provide supported formats of a device | Record a new ticket on Bitbucket | Provide details of a video file that doesn't play | Turn on detailed logging
<<

PMI

User avatar

DLNA master

Posts: 156

Joined: Tue Jan 03, 2012 3:32 am

Location: Milwaukee, Wisconsin

Post Sun Mar 25, 2012 3:20 pm

Re: Serviio Service wont start after changing profile [UPDAT

@serviio-buddy: If the wtv file transcodes, but does not play, I would look at the transcoded file (before it is deleted, in the temp directory) with MediaInfo/text or something similar. Basically, all you have to do is find the file, change the extension to .ts, or whatever you are transcoding into, and then run MediaInfo.

I had to tweak my profile a bit, to transcode .wtv files from WMC to play consistently, good chance you can do that here too.
Peter
Beta Tester Group
Wiki | FAQ

Panasonic Viera TC-L32E3 LCD | Panasonic DMP-BDT210 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

serviio-buddy

User avatar

DLNA master

Posts: 132

Joined: Fri Jan 20, 2012 5:24 pm

Location: United States

Post Sun Mar 25, 2012 3:45 pm

Re: Serviio Service wont start after changing profile [UPDAT

Thanks. That is a good suggestion. :D
serviio-buddy
Beta Tester Group

SONY SMP-N100 Media Player, HP PC: Vista 32/Ubuntu 11.10, Serviio 0.6.2, XBMC, VLC, ASUS eeePC Netbook: Vista 32, XBMC, SHARP Aquos BD-HP25U DLNA Blu-Ray Player

HowTo: Provide supported formats of a device | Record a new ticket on Bitbucket | Provide details of a video file that doesn't play | Turn on detailed logging
<<

PMI

User avatar

DLNA master

Posts: 156

Joined: Tue Jan 03, 2012 3:32 am

Location: Milwaukee, Wisconsin

Post Sun Mar 25, 2012 4:05 pm

Re: Serviio Service wont start after changing profile [UPDAT

I had some information from direct from Panasonic, and also help from Cerberus b/f I found the right way for the Viera. FYI, Panasonic said that when using ffmpeg on files recorded from WMC, for best results transcode to Mpeg 2 PS and not TS. (this fixed the problem of some files working and some not). I have no idea if this applies here tho. Also have to include asf files if converting .wtv files to dvr-ms in Windows 7...

So, with some hand-holding by Cerberus, for files from Win 7/WMC I ended up with this:

<!-- Remux WMC, WTV and dvr-ms files to MPEG-PS with no transcoding-->
<Video targetContainer="mpeg">
<Matches container="wtv" />
<Matches container="asf" vCodec="mpeg2video" />
</Video>

(2nd line is compromise solution for dvr-ms files, leaving files asf files with other codecs to be handled in other ways).

Panasonic tech support seems quite familiar with the WMC-to-ffmpeg questions, so good chance someone at Samsung is also, ;)

Good luck.
Peter
Beta Tester Group
Wiki | FAQ

Panasonic Viera TC-L32E3 LCD | Panasonic DMP-BDT210 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

wkingham

Serviio newbie

Posts: 10

Joined: Sat Mar 24, 2012 2:37 am

Post Sun Mar 25, 2012 8:10 pm

Re: Serviio Service wont start after changing profile [UPDAT

Thanks for the info. I am based in New Zealand and Reviewing my WTV files I see that these are MPEG4 and Not MPEG2 like in other parts of the world. Would this make a difference?
<<

PMI

User avatar

DLNA master

Posts: 156

Joined: Tue Jan 03, 2012 3:32 am

Location: Milwaukee, Wisconsin

Post Sun Mar 25, 2012 11:15 pm

Re: Serviio Service wont start after changing profile [UPDAT

Yes, that will make a difference, definitely, I did not realize that was the case in NZ.
Peter
Beta Tester Group
Wiki | FAQ

Panasonic Viera TC-L32E3 LCD | Panasonic DMP-BDT210 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging

Return to Samsung

Who is online

Users browsing this forum: No registered users and 4 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.