Page 1 of 1

Corrupted video and sound on latest version of Serviio

PostPosted: Thu Apr 07, 2016 6:22 pm
by Combat Jack
I just upgraded to the latest version of Serviio 1.6.1 and now when I try to use the YouTube plugin all I get is corrupted video and audio. The video is all garbled when playing.

Considering the plugin worked perfectly for the previous version and the only thing to have changed is Serviio itself I suspect there is a bug in the new version.


Device Name: Samsung DTV DMR

Profile: Samsung TV / player (C/D series)

UPDATE: The youtube videos stream fine on my Android tablet. An .MKV video streamed fine to my Samsung TV but the Youtube videos are garbled on the same TV.

Re: Corrupted video and sound on latest version of Serviio

PostPosted: Fri Apr 08, 2016 6:57 am
by shrvs
Same here.
Since I installed 1.6.1, my media streams (Online RSS/Atom feed) are all garbled. Both on my Samsung TV and my iPad (Infuse Pro).
Similar to playing a media file that has multiple bit errors.

URL:
http://feeds.nos.nl/journaal
http://feeds.nos.nl/journaal20uur

Device name (profile):
Samsung DTV DMR (Samsung TV / player (C/D-series))
iPad2 with Infuse Pro (Generic DLNA profile)

Re: Corrupted video and sound on latest version of Serviio

PostPosted: Sun Apr 10, 2016 12:44 am
by Combat Jack
Looks like the common denominator is the Samsung series C/D profile and the new version 1.6.1 (it worked fine with 1.6.0)

I don't have an ipad to test it out but my Android Nexus 7 tablet works fine with the Generic DLNA profile.

UPDATE: I went into Serviio's settings and changed the profile to Generic DLNA profile instead of the Samsung series C/D profile and YouTube videos stream properly once again. When I switched it back to the Samsung series C/D profile they were corrupted again. Looks like the profile may be buggered for some reason with v 1.6.1

UPDATE2: woops, forgot that we need the Samsung series C/D profile selected to watch formats like .MKV (the Generic DLNA profile works with Youtube though).

Re: Corrupted video and sound on latest version of Serviio

PostPosted: Sun Apr 10, 2016 7:29 pm
by zip
Can you give an example YouTube URL to try it out? And what quality do you have set up in the console on the Online library tab.

Re: Corrupted video and sound on latest version of Serviio

PostPosted: Tue Apr 12, 2016 8:13 am
by Combat Jack
Example URL:
  Code:
https://www.googleapis.com/youtube/v3/channels?forUsername=Bayareabuggs


Preferred online quality: high

(as a test I switched it to medium and I still got the digitally garbled video and sound).

All of my youtube feeds work on 1.6.0 but no longer work on 1.6.1 with the Panasonic series C/D profile.

Re: Corrupted video and sound on latest version of Serviio

PostPosted: Sat Apr 16, 2016 10:22 pm
by Combat Jack
I deleted all of the Connected devices in case there was some strange configuration settings thing going on. I wanted to start Serviio off fresh in terms of the device profiles.

It didn't help. Video/sound corrupted while playing Youtube on V1.6.1 (I have another computer on v1.6.0 and that one still works great on same netork).

Re: Corrupted video and sound on latest version of Serviio

PostPosted: Tue Apr 19, 2016 9:27 am
by shrvs
Yesterday I re-installed 1.6.0 (without manually uninstall of 1.6.1). Now my streams are working properly again.

Note: with 1.6.1 I used a generic profile for streaming on my iPad, wich resulted in the same problems as on my Samsung TV.

Re: Corrupted video and sound on latest version of Serviio

PostPosted: Thu Apr 28, 2016 5:06 pm
by Combat Jack
A forum user named gnomo1984 posted a fix for the corrupted video.

You have to manually edit the tv's profile that can be found in "C: \ Program Files \ Serviio \ config \ Profiles.xml" (of course your path to the file may be different)

Copy and past the following code over the profile for the Samsung TV series C/D series:

  Code:
    <Profile id="7" name="Samsung TV / player (C/D-series)" extendsProfileId="sam_ef">
          <Detection>
             <UPnPSearch>
                <FriendlyName>(^TV-\d{2}C\d{3}.*)|(^\[TV\][A-Z]{2}\d{2}(D)[A-Z]?\d{3,4}.*)|^\[TV\] Samsung</FriendlyName>           
                <ModelNumber>(1\.0)|(AllShare1\.0)</ModelNumber>
             </UPnPSearch>   
             <HttpHeaders>
                <!-- for BD players -->
                <User-Agent>(.*SEC_HHP_BD-[CD].*)|(.*SEC_HHP_\[(HT|BD)\][CD].*)</User-Agent>
             </HttpHeaders>
          </Detection>
          <H264LevelCheck>ANY</H264LevelCheck>
          <Transcoding>
             <Image forceInheritance="true">
                <Matches container="raw"/>
             </Image>         
          </Transcoding>
          <OnlineTranscoding>
             <Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384">
                <Matches container="mp4"/>
                <Matches container="flv" vCodec="h264"/>         
                 <Matches container="applehttp" vCodec="h264"/>
             </Video>
             <Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384" forceInheritance="true">
                <Matches container="rtp"/>
                <Matches container="rtsp"/>
                <Matches container="applehttp"/>
                <Matches container="mjpeg"/>
             </Video>
             <Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384">
                <Matches container="asf"/> <!-- to support mms:// streams -->
                <Matches container="flv"/>
             </Video>
             <Audio targetContainer="mp3" aBitrate="320" forceInheritance="true">
                <Matches container="flv"/>
                <Matches container="asf"/>
                <Matches container="rtp"/>
                <Matches container="rtsp"/>
                <Matches container="mp3"/>   
                <Matches container="mp4"/>         
             </Audio>
          </OnlineTranscoding>
          <GenericTranscoding>
             <Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384" />
          </GenericTranscoding>
          <AutomaticImageRotation>false</AutomaticImageRotation>
          <AllowedImageResolutions large="4096x4096" medium="1024x768" small="640x480" />
          <LimitImageResolution>true</LimitImageResolution>
          <Subtitles>
             <SoftSubs mime-type="text/srt" />
             <HardSubs>
                <BitmapBased supported="true"/>
                <TextBased supported="true">
                   <RequiredFor container="*"/>
                </TextBased>
             </HardSubs>
          </Subtitles>   
          <ThumbnailsResolution>DLNA</ThumbnailsResolution>
          <AllowChunkedTransfer>true</AllowChunkedTransfer>
       </Profile>


Re: Corrupted video and sound on latest version of Serviio

PostPosted: Tue May 03, 2016 10:52 am
by zip
Could you try this solution?

viewtopic.php?f=10&t=21960#p108517

Re: Corrupted video and sound on latest version of Serviio

PostPosted: Wed May 04, 2016 7:28 am
by AndyBring
Hey there,
I tried:

zip wrote:Could you try this solution?

viewtopic.php?f=10&t=21960#p108517


and it worked just fine.
Could it be that the problems are on every File with 8-Audiotracks? (Tried ".mkv" and ".m2ts", both with "TrueHD" and "Atmos")

--

Furthermore I have on more Problem: the Timeline with the Files above.
https://www.instagram.com/p/BE-gGAbBSWt/
They are always broken...

Thanks,
AndyBring

Re: Corrupted video and sound on latest version of Serviio

PostPosted: Wed May 04, 2016 11:50 am
by zip
Thanks, what is your device name / number?

Re: Corrupted video and sound on latest version of Serviio

PostPosted: Thu May 05, 2016 6:31 am
by Combat Jack
zip wrote:Could you try this solution?

viewtopic.php?f=10&t=21960#p108517


Yup that seems to work on my Series D Samsung. I assume it is now using the new profile.xml and not using the other modified one (as discussed earlier in this thread).

* I shut down Serviio in the console by hitting the "Stop Server" button
* Just to be sure I hit the "Stop Serviio service" shortcut in Windows Start menu
* I edited the original backup I made of profile.xml file using Dreamweaver
* I hit "Start Serviio service" in Windows Start Menu

Does this mean when Serviio restarted it loaded the new profile.xml file or is it still using my old modified version? I guess the only way to properly check is for me to reboot and test it.

Re: Corrupted video and sound on latest version of Serviio

PostPosted: Thu May 05, 2016 12:15 pm
by atc98092
Combat Jack wrote:
zip wrote:Could you try this solution?

viewtopic.php?f=10&t=21960#p108517


Yup that seems to work on my Series D Samsung. I assume it is now using the new profile.xml and not using the other modified one (as discussed earlier in this thread).

* I shut down Serviio in the console by hitting the "Stop Server" button
* Just to be sure I hit the "Stop Serviio service" shortcut in Windows Start menu
* I edited the original backup I made of profile.xml file using Dreamweaver
* I hit "Start Serviio service" in Windows Start Menu

Does this mean when Serviio restarted it loaded the new profile.xml file or is it still using my old modified version? I guess the only way to properly check is for me to reboot and test it.


Yes, it does. Also, the Stop Server button in the Console does NOT stop the service itself. It only turns off the DLNA server portion. There must be some reason for it, but I can't think of anything. When editing the Profiles file, the service must be restarted. You can use the menu options like you did, use the Services app in the Control Panel, or reboot the computer. Any of the three reloads the profiles.

Re: Corrupted video and sound on latest version of Serviio

PostPosted: Thu May 05, 2016 5:14 pm
by Combat Jack
Thanks for the info. In the end I played it safe and also did a reboot to confirm that Serviio was reloading the profile.xml file.

By the way the fix still worked.