FAQ  •  Register  •  Login

problem with streams with mpegts

<<

siriusblack

DLNA master

Posts: 191

Joined: Sun Apr 29, 2012 8:31 am

Location: UK

Post Sat Aug 31, 2013 5:10 pm

problem with streams with mpegts

Can you please help me for some reason

im playing live streams from wiziwig through serviio

when I use to play them through my tv (Samsung ue46c8000) it worked flawlessly + my BDP (Samsung c5900)

However when I play them now they play and keep freezing then loading, except from my ps3

that works perfect like my devices use to

What do you recommended please



This is my profile for BDP

  Code:
  Profile id="sb" name="siriusblack" extendsProfileId="1">
     <MediaFormatProfiles>
         <MediaFormatProfile mime-type="video/x-mkv">MATROSKA</MediaFormatProfile>
     </MediaFormatProfiles>
      <OnlineTranscoding>
         <Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384">
            <Matches container="*"/>
         </Video>
      </OnlineTranscoding>
   
   </Profile>


Here is my tv profile

  Code:
 Profile id="7" name="Samsung TV / player (C/D/E/F-series)" extendsProfileId="1">
      <ContentDirectoryMessageBuilder>org.serviio.upnp.service.contentdirectory.SamsungDLNAMessageBuilder</ContentDirectoryMessageBuilder>
        <ResourceTransportProtocolHandler>org.serviio.upnp.protocol.http.transport.SamsungWiseLinkProtocolHandler</ResourceTransportProtocolHandler>
        <Detection>
         <UPnPSearch>
            <FriendlyName>(^TV-\d{2}C\d{3}.*)|(^\[TV\][A-Z]{2}\d{2}(D|E|F)[A-Z]?\d{3,4}.*)|^\[TV\] Samsung</FriendlyName>           
            <ModelNumber>(1\.0)|(AllShare1\.0)</ModelNumber>
         </UPnPSearch>   
         <HttpHeaders>
            <!-- for BD players -->
            <User-Agent>(.*SEC_HHP_BD-[CDEF].*)|(.*SEC_HHP_\[(HT|BD)\][CDEF].*)</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>
        <MediaFormatProfiles>
            <MediaFormatProfile mime-type="video/x-mkv">MATROSKA</MediaFormatProfile>
            <MediaFormatProfile mime-type="video/x-msvideo" name="">AVI</MediaFormatProfile>
            <MediaFormatProfile mime-type="audio/x-flac">FLAC</MediaFormatProfile>
        </MediaFormatProfiles>
      <ContentDirectoryDefinitionFilter>org.serviio.upnp.service.contentdirectory.definition.SamsungContentDirectoryDefinitionFilter</ContentDirectoryDefinitionFilter>   
      <H264LevelCheck>FILE_ATTRIBUTES</H264LevelCheck>
      <Transcoding>
         <!-- Transcode all h264 video with HIGH/MAIN > Level 4.1 on MPEG-TS stream with MPEG2VIDEO and ac3 audio transcoding -->
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="192">
            <Matches container="*" vCodec="h264" profile="high_10" />
            <Matches container="*" vCodec="h264" profile="high" levelGreaterThan="4.2" />
            <Matches container="*" vCodec="h264" profile="main" levelGreaterThan="4.2" />
                <Matches container="mp4" vCodec="mpeg4" aCodec="lpcm" />
            <Matches container="mpegts" vCodec="h264" /> <!-- jhb50 fixes serviio h264.ts to h264.ts transcode bug -->
            <Matches container="mpeg" vCodec="h264" /> <!-- optional --> <!-- h264 mpegps as well as h264 mpegts and wmv.asf streams will transcode to MPEG2VIDEO -->
                <Matches container="mp4" vCodec="dvvideo" />
                <Matches container="mp4" vCodec="mjpeg" />
         </Video>
         <!-- transcode H264 MP4 files with LPCM audio -->
         <Video targetContainer="mpegts" targetACodec="ac3">
            <!-- Matches container="mpegts" aCodec="mp2" /-->
            <Matches container="mp4" aCodec="lpcm" />
            <!-- <Matches container="flv" vCodec="h264" /> -->
            <Matches container="matroska" vCodec="h264" aCodec="flac" />
            <Matches container="matroska" vCodec="h264" aCodec="vorbis" />
            <Matches container="matroska" vCodec="h264" aCodec="truehd" />
            <Matches container="mpegts" vCodec="h264" aCodec="truehd" />
            <Matches container="ogg" vCodec="mpeg4" />
            <Matches container="3gp" aCodec="amrnb" />
            <Matches container="wtv" vCodec="h264"/> 
         </Video>   
         <Video targetContainer="mpegts" targetACodec="ac3" targetVCodec="mpeg2video">
            <Matches container="matroska" vCodec="mpeg2video" />
            <Matches container="matroska" vCodec="vp8" />
            <Matches container="matroska" vCodec="vc1" aCodec="truehd" />
            <Matches container="avi" vCodec="h264" />
            <Matches container="avi" vCodec="mjpeg" />
            <Matches container="avi" vCodec="dvvideo" />
            <Matches container="flv" vCodec="flv"/> <!-- some models support playing flv natively, in that case remove this line -->
            <Matches container="flv" vCodec="h263"/>
            <Matches container="flv" vCodec="vp6"/>
            <Matches container="ogg" />
            <Matches container="rm" /> <!-- some models might support RealVideo natively, in that case remove this line -->
         </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" />
            <Matches container="asf" vCodec="mpeg1video" />
         </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="mp4" />
            <Matches container="flac" /> <!-- E series plays FLAC natively so this line can be removed-->
            <Matches container="ogg" />
            <Matches container="adts" />
            <Matches container="mp2" />
            <Matches container="wavpack" />
            <Matches container="mpc" />
                <Matches container="ape" />
         </Audio>
      </Transcoding>
      <OnlineTranscoding>
         <Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384">
            <Matches container="mp4" vCodec="h264" />     
             <Matches container="applehttp" vCodec="h264"/>
             <Matches container="flv" vCodec="h264"/>
         </Video>     
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384">
            <Matches container="mp4" />
            <Matches container="asf" /> <!-- mms -->
         </Video>
      </OnlineTranscoding>
      <AutomaticImageRotation>true</AutomaticImageRotation>
        <LimitImageResolution>false</LimitImageResolution>
        <Subtitles>
         <SoftSubs mime-type="smi/caption" />
      </Subtitles>   
   </Profile>



Here is my mediainfo

  Code:
General
ID                                       : 18348 (0x47AC)
Complete name                            : C:\Users\mark\Documents\vlc-record-2013-08-31-17h37m34s-Bloodzeed-.ts
Format                                   : MPEG-TS
File size                                : 1.49 MiB
Duration                                 : 6s 352ms
Overall bit rate mode                    : Variable
Overall bit rate                         : 1 945 Kbps

Video
ID                                       : 69 (0x45)
Menu ID                                  : 1 (0x1)
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L3.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 5 frames
Codec ID                                 : 27
Duration                                 : 6s 320ms
Bit rate                                 : 1 768 Kbps
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 25.000 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.077
Stream size                              : 1.33 MiB (89%)

Audio
ID                                       : 68 (0x44)
Menu ID                                  : 1 (0x1)
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : 129
Duration                                 : 6s 336ms
Bit rate mode                            : Constant
Bit rate                                 : 80.0 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Delay relative to video                  : -130ms
Stream size                              : 61.9 KiB (4%)



Here is my ffmpeg -I

  Code:
Microsoft Windows [Version 6.2.9200]
(c) 2012 Microsoft Corporation. All rights reserved.

C:\Users\mark>"C:\Program Files\Serviio\lib\ffmpeg.exe" -i "C:\Users\mark\Docume
nts\vlc-record-2013-08-31-17h37m34s-Bloodzeed-.ts"
ffmpeg version N-54096-ge41bf19 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jun 18 2013 10:49:28 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 --enable-libx264 --extr
a-libs='-lrtmp -lpolarssl -lws2_32 -lwinmm -lexpat -lfreetype -lfribidi -lz' --a
rch=x86 --enable-runtime-cpudetect --enable-pthreads --target-os=mingw32 --cross
-prefix=i686-w64-mingw32- --enable-gpl --pkg-config=pkg-config
  libavutil      52. 37.101 / 52. 37.101
  libavcodec     55. 16.100 / 55. 16.100
  libavformat    55.  9.100 / 55.  9.100
  libavdevice    55.  2.100 / 55.  2.100
  libavfilter     3. 77.101 /  3. 77.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[h264 @ 033D08C0] non-existing PPS referenced
[h264 @ 033D08C0] non-existing PPS 0 referenced
[h264 @ 033D08C0] decode_slice_header error
[h264 @ 033D08C0] no frame!
[h264 @ 033D08C0] non-existing PPS referenced
[h264 @ 033D08C0] non-existing PPS 0 referenced
[h264 @ 033D08C0] decode_slice_header error
[h264 @ 033D08C0] no frame!
[h264 @ 033D08C0] non-existing PPS referenced
[h264 @ 033D08C0] non-existing PPS 0 referenced
[h264 @ 033D08C0] decode_slice_header error
[h264 @ 033D08C0] no frame!
[h264 @ 033D08C0] non-existing PPS referenced
[h264 @ 033D08C0] non-existing PPS 0 referenced
[h264 @ 033D08C0] decode_slice_header error
[h264 @ 033D08C0] no frame!
[h264 @ 033D08C0] non-existing PPS referenced
[h264 @ 033D08C0] non-existing PPS 0 referenced
[h264 @ 033D08C0] decode_slice_header error
[h264 @ 033D08C0] no frame!
[h264 @ 033D08C0] non-existing PPS referenced
[h264 @ 033D08C0] non-existing PPS 0 referenced
[h264 @ 033D08C0] decode_slice_header error
[h264 @ 033D08C0] no frame!
[mpegts @ 01E3E780] max_analyze_duration 5000000 reached at 5024000 microseconds

[mpegts @ 01E3E780] PES packet size mismatch
Input #0, mpegts, from 'C:\Users\mark\Documents\vlc-record-2013-08-31-17h37m34s-
Bloodzeed-.ts':
  Duration: 00:00:06.58, start: 14801.291033, bitrate: 1904 kb/s
  Program 1
    Stream #0:0[0x44]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 8
0 kb/s
    Stream #0:1[0x45]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 128
0x720 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
At least one output file must be specified

C:\Users\mark>


Thanks

Really appreciate it
Samsung ue46c8000 - Samsung C5900 BDP - Sony PS3 - Windows 8 - I5 Duel Core 16GB - 3.2 GHZ - Serviio 1.3.1 Pro

Beta Tester
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Sun Sep 01, 2013 7:00 am

Re: problem with streams with mpegts

Its a very low audio bitrate !!! 80kbos.

Could try this profile ?


  Code:
  <Profile id="sb" name="siriusblack" extendsProfileId="1">
     <MediaFormatProfiles>
         <MediaFormatProfile mime-type="video/x-mkv">MATROSKA</MediaFormatProfile>
     </MediaFormatProfiles>
      <OnlineTranscoding>
         <!-- Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384" -->
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="192">
            <Matches container="*"/>
         </Video>
      </OnlineTranscoding>
   </Profile>
<<

siriusblack

DLNA master

Posts: 191

Joined: Sun Apr 29, 2012 8:31 am

Location: UK

Post Sun Sep 01, 2013 7:08 am

Re: problem with streams with mpegts

Thanks Illico

Will give it a go later when I get home

What do I change for the tv profile ?
Samsung ue46c8000 - Samsung C5900 BDP - Sony PS3 - Windows 8 - I5 Duel Core 16GB - 3.2 GHZ - Serviio 1.3.1 Pro

Beta Tester
<<

siriusblack

DLNA master

Posts: 191

Joined: Sun Apr 29, 2012 8:31 am

Location: UK

Post Sun Sep 01, 2013 10:26 am

Re: problem with streams with mpegts

HI illico

Tried removing one of the profiles

  Code:
On your screenshot, there were two </Profile> element, delete one. (line 1824,1830...)


still coming up with this message

cannot connect to serviio server, it does not seem to be running .Exiting....

Here is my screenshot

Screenshot (46).png
Screenshot (46).png (190.71 KiB) Viewed 6721 times
Samsung ue46c8000 - Samsung C5900 BDP - Sony PS3 - Windows 8 - I5 Duel Core 16GB - 3.2 GHZ - Serviio 1.3.1 Pro

Beta Tester
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Sun Sep 01, 2013 5:48 pm

Re: problem with streams with mpegts

But you have to finish the file with
</Profiles>
Are you aware with xml editing ? Do you read that ? http://www.serviio.org/index.php?option ... icle&id=16
<<

siriusblack

DLNA master

Posts: 191

Joined: Sun Apr 29, 2012 8:31 am

Location: UK

Post Sun Sep 01, 2013 6:02 pm

Re: problem with streams with mpegts

Illico

Sorry I miss understood you

I thought you said delete one of the profiles

  Code:
On your screenshot, there were two </Profile> element, delete one. (line 1824,1830...)


However serviio is loading up now

Thanks for all your help

Really Appreciate it
Samsung ue46c8000 - Samsung C5900 BDP - Sony PS3 - Windows 8 - I5 Duel Core 16GB - 3.2 GHZ - Serviio 1.3.1 Pro

Beta Tester
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Mon Sep 02, 2013 5:51 am

Re: problem with streams with mpegts

siriusblack wrote:I thought you said delete one of the profiles


</Profile> is not the same than </Profiles>

If you are not comfortable with the xml, do not play with it...

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 8 guests

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