FAQ  •  Register  •  Login

No MPEG-2 Skipping

<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Tue Jul 05, 2011 8:19 pm

Re: No MPEG-2 Skipping

tvkdlna: Run your files thru videoredo to fix the probable timecode discontinuities that plague tv recordings.

If the files then work and skip, your problem is pure bad files and as the Samsung manual says "If the index table is corrupt, the seek(jump) function will not be supported".

If they still don't work, report your Samsung Device and model Series here as another example of "no MPEG-2 skipping".
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Tue Jul 05, 2011 8:43 pm

Re: No MPEG-2 Skipping

As I assumed and have now tested, the MPEG files do skip on the series D if played as native files from the USB, so this is a pure Series D DLNA issue

What needs to be done to transcode to something other than video/mpeg?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Jul 06, 2011 1:15 pm

Re: No MPEG-2 Skipping

We can only transcode into mpeg2ps or mpeg2ts or asf. Other formats are not live-stream friendly. When transcoding to mpeg2ts, we can usually keep the original video/audio streams and just remux in into the new container (so we keep original quality and it's faster and less cpu intensive). To transcode into mpeg2ps we have to transcode the video stream to mpeg2video, thus losing some quality and using a lot of cpu. ASF is Microsoft format only supporting WMV or VC1 video codecs so again, video stream has to be transcoded in most cases.
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Wed Jul 06, 2011 2:46 pm

Re: No MPEG-2 Skipping

I've posted this in the CNET/Samsung forum:

Samsung D Series Products - DLNA Regression - New!

Samsung D Series Products - DLNA Regression
by jhb50 - 7/6/11 7:43 AM

B and C series Products that support All-Share, support the skipping function (left/right buttons jump 10 seconds) when playing mime type = video/mpeg .mpg files over DLNA. However the new 2011 D series products do NOT allow mime type = video/mpeg .mpg files to be skipped, although they do allow every other mime type to skip over DLNA.

This is an unacceptable regression of function because the video/mpeg format is the only one that can be used to transcode videos in real time from DLNA servers, hence any transcoded video to a D series device can no longer be skipped. They may only be played from start to end, and if play is stopped at midpoint, there is no way to resume from that point on. (the D button for continuous play is also disabled for these streamed .mpgs on the devices that support that function)

I can only assume that this is an error in the D Series design, and that it can be fixed with firmware updates for each D product.

Since this forum appears to be the only way to identify major issues to Samsung, I'd appreciate if the Samsung Rep could determine if this is a known issue, or something that is intentionally in the DLNA design.

The .mpg files do skip correctlly if played from a local USB HDD so the problem is unique to D Series DLNA. Tested on both my PN64D550 TV and HT-D5130 BR/RCR.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Jul 06, 2011 2:49 pm

Re: No MPEG-2 Skipping

BTW, did you try it with Samsung's PC Share manager?
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Wed Jul 06, 2011 2:56 pm

Re: No MPEG-2 Skipping

No. I thought about that, but haven't done it yet. When I did try their server earlier it just seemed to hang up on building the library so i threw it out!
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Wed Jul 06, 2011 5:09 pm

Re: No MPEG-2 Skipping

zip wrote:We can only transcode into mpeg2ps or mpeg2ts or asf. ASF is Microsoft format only supporting WMV or VC1 video codecs


Thanks for your help zip. OK so I tried to transcode the .mpg to asf.

Here is the profile ( I don't know which is the correct container for the .mpg file)
  Code:
<Video targetContainer="asf" targetVCodec="wmv2" forceVTranscoding="true" targetACodec="wmav2" maxVBitrate="15360">
          <Matches container="vob"/>
          <Matches container="mpeg"/>
          <Matches container="mpegps"/>
          <Matches container="mpeg_ps"/>
          <Matches container="MPEG_PS_NTSC"/>
          <Matches container="MPEG_PS_NTSC$0"/>
          <Matches container="mpg"/>
          </Video>


The log is posted below. It looks like the client is saying send me MPEG_PS_NTSC because I can play it OK, so you ignore the transcoding rules and even the force parameter. I see no reference to reading the rules in the log. I do not know the significance of the "Software caused connection abort: socket write error" which then continues to repeat down the log, but the file does play natively on the client as video/mpeg.

How do I get this to transcode?

  Code:
2011-07-06 12:48:00,138 DEBUG [WebServer] Incoming connection from /192.168.1.65:53801
2011-07-06 12:48:00,139 DEBUG [ResourceTransportRequestHandler] HEAD /resource/4892/MEDIA_ITEM/MPEG_PS_NTSC$0 HTTP/1.0, headers = [getcontentFeatures.dlna.org: 1,Host: 192.168.1.10:8895]]
2011-07-06 12:48:00,139 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.65
2011-07-06 12:48:00,140 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.1.65, Profile=Samsung TV / player (C/D-series)'
2011-07-06 12:48:00,140 DEBUG [ResourceTransportRequestHandler] Request for resource 4892 and type 'MEDIA_ITEM' received
2011-07-06 12:48:00,142 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 4892, format MPEG_PS_NTSC and profile Samsung TV / player (C/D-series)
2011-07-06 12:48:00,142 DEBUG [ResourceTransportRequestHandler] Sending HEAD response back
2011-07-06 12:48:00,142 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Content-Length: 95318016,Date: Wed, 06 Jul 2011 16:48:00 GMT,Server: Windows 7, UPnP/1.0 DLNADOC/1.50, Serviio/0.5.2,Cache-control: no-cache,contentFeatures.dlna.org: DLNA.ORG_PN=MPEG_PS_NTSC;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01500000000000000000000000000000,transferMode.dlna.org: Streaming]]
2011-07-06 12:48:00,153 DEBUG [WebServer] Incoming connection from /192.168.1.65:53921
2011-07-06 12:48:00,153 DEBUG [ResourceTransportRequestHandler] GET /resource/4892/MEDIA_ITEM/MPEG_PS_NTSC$0 HTTP/1.0, headers = [Range: bytes=0-,getcontentFeatures.dlna.org: 1,transferMode.dlna.org: Streaming,getMediaInfo.sec: 1,Host: 192.168.1.10:8895]]
2011-07-06 12:48:00,153 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.65
2011-07-06 12:48:00,154 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.1.65, Profile=Samsung TV / player (C/D-series)'
2011-07-06 12:48:00,154 DEBUG [ResourceTransportRequestHandler] Request for resource 4892 and type 'MEDIA_ITEM' received
2011-07-06 12:48:00,156 DEBUG [VideoDeliveryEngine] Delivering item '4892' for client 'IPAddress=/192.168.1.65, Profile=Samsung TV / player (C/D-series)'
2011-07-06 12:48:00,157 DEBUG [VideoDeliveryEngine] Delivering file 'Austin City Limits - Willie Nelson-8 partcopy.MP2.mpg' in native format
2011-07-06 12:48:00,163 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2011-07-06 12:48:00,163 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 95318016
2011-07-06 12:48:00,163 DEBUG [ResourceTransportRequestHandler] Sending file back
2011-07-06 12:48:00,163 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 206 Partial Content, headers = [[Content-Type: video/mpeg,Content-Range: bytes 0-95318015/95318016,Content-Length: 95318016,Date: Wed, 06 Jul 2011 16:48:00 GMT,Server: Windows 7, UPnP/1.0 DLNADOC/1.50, Serviio/0.5.2,Cache-control: no-cache,contentFeatures.dlna.org: DLNA.ORG_PN=MPEG_PS_NTSC;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01500000000000000000000000000000,transferMode.dlna.org: Streaming,MediaInfo.sec: SEC_Duration=350000;]]
2011-07-06 12:48:00,251 DEBUG [WebServer] I/O error: Connection reset by peer: socket write error
2011-07-06 12:48:00,258 DEBUG [WebServer] Incoming connection from /192.168.1.65:35049
2011-07-06 12:48:00,258 DEBUG [ResourceTransportRequestHandler] GET /resource/4892/MEDIA_ITEM/MPEG_PS_NTSC$0 HTTP/1.0, headers = [Range: bytes=0-,getcontentFeatures.dlna.org: 1,transferMode.dlna.org: Streaming,Host: 192.168.1.10:8895]]
2011-07-06 12:48:00,259 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.65
2011-07-06 12:48:00,259 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.1.65, Profile=Samsung TV / player (C/D-series)'
2011-07-06 12:48:00,259 DEBUG [ResourceTransportRequestHandler] Request for resource 4892 and type 'MEDIA_ITEM' received
2011-07-06 12:48:00,261 DEBUG [VideoDeliveryEngine] Delivering item '4892' for client 'IPAddress=/192.168.1.65, Profile=Samsung TV / player (C/D-series)'
2011-07-06 12:48:00,261 DEBUG [VideoDeliveryEngine] Delivering file 'Austin City Limits - Willie Nelson-8 partcopy.MP2.mpg' in native format
2011-07-06 12:48:00,264 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2011-07-06 12:48:00,265 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 95318016
2011-07-06 12:48:00,265 DEBUG [ResourceTransportRequestHandler] Sending file back
2011-07-06 12:48:00,265 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 206 Partial Content, headers = [[Content-Type: video/mpeg,Content-Range: bytes 0-95318015/95318016,Content-Length: 95318016,Date: Wed, 06 Jul 2011 16:48:00 GMT,Server: Windows 7, UPnP/1.0 DLNADOC/1.50, Serviio/0.5.2,Cache-control: no-cache,contentFeatures.dlna.org: DLNA.ORG_PN=MPEG_PS_NTSC;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01500000000000000000000000000000,transferMode.dlna.org: Streaming]]
2011-07-06 12:48:00,357 DEBUG [WebServer] I/O error: Software caused connection abort: socket write error
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Jul 06, 2011 9:14 pm

Re: No MPEG-2 Skipping

I don't think you applied the transcoding config properly (maybe didn't restart the service?) as the value you are using are invalid. For list of valid containers etc, see http://www.serviio.org/index.php?option ... icle&id=24
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Wed Jul 06, 2011 10:03 pm

Re: No MPEG-2 Skipping

OK thank you.. I removed all the containers but mpeg and it now transcodes but I am getting "Unsupported video codec for the wmv2" like another thread reported. I'm working on that now.
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Wed Jul 06, 2011 10:27 pm

Re: No MPEG-2 Skipping

OK here is the log. Do you see anything wrong? Neither client will play it . Both say invalid Video codec.
  Code:
2011-07-06 17:31:26,799 DEBUG [WebServer] Incoming connection from /192.168.1.65:45020
2011-07-06 17:31:26,800 DEBUG [ResourceTransportRequestHandler] HEAD /resource/4890/MEDIA_ITEM/WMVMED_FULL$0 HTTP/1.0, headers = [getcontentFeatures.dlna.org: 1,Host: 192.168.1.10:8895]]
2011-07-06 17:31:26,800 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.65
2011-07-06 17:31:26,802 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.1.65, Profile=Samsung TV / player (C/D-series)'
2011-07-06 17:31:26,802 DEBUG [ResourceTransportRequestHandler] Request for resource 4890 and type 'MEDIA_ITEM' received
2011-07-06 17:31:26,805 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 4890, format WMVMED_FULL and profile Samsung TV / player (C/D-series)
2011-07-06 17:31:26,805 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file Austin City Limits - Willie Nelson-6 partcopy.AC3.mpg
2011-07-06 17:31:26,805 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file Austin City Limits - Willie Nelson-6 partcopy.AC3.mpg: WMVMED_FULL
2011-07-06 17:31:26,805 DEBUG [ResourceTransportRequestHandler] Sending HEAD response back
2011-07-06 17:31:26,805 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/x-ms-wmv,Content-Length: 9000000000,Date: Wed, 06 Jul 2011 21:31:26 GMT,Server: Windows 7, UPnP/1.0 DLNADOC/1.50, Serviio/0.5.2,Cache-control: no-cache,contentFeatures.dlna.org: DLNA.ORG_PN=WMVMED_FULL;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000,transferMode.dlna.org: Streaming]]
2011-07-06 17:31:26,815 DEBUG [WebServer] Incoming connection from /192.168.1.65:41767
2011-07-06 17:31:26,816 DEBUG [ResourceTransportRequestHandler] GET /resource/4890/MEDIA_ITEM/WMVMED_FULL$0 HTTP/1.0, headers = [getcontentFeatures.dlna.org: 1,transferMode.dlna.org: Streaming,getMediaInfo.sec: 1,TimeSeekRange.dlna.org: npt=0-,Host: 192.168.1.10:8895]]
2011-07-06 17:31:26,816 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.65
2011-07-06 17:31:26,817 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.1.65, Profile=Samsung TV / player (C/D-series)'
2011-07-06 17:31:26,818 DEBUG [ResourceTransportRequestHandler] Request for resource 4890 and type 'MEDIA_ITEM' received
2011-07-06 17:31:26,820 DEBUG [VideoDeliveryEngine] Delivering item '4890' for client 'IPAddress=/192.168.1.65, Profile=Samsung TV / player (C/D-series)'
2011-07-06 17:31:26,820 DEBUG [VideoDeliveryEngine] Delivering file 'Austin City Limits - Willie Nelson-6 partcopy.AC3.mpg' using transcoding
2011-07-06 17:31:26,821 DEBUG [AbstractTranscodingDeliveryEngine] Stopping previous transcoding job of file 'C:\windows\TEMP\Serviio\transcoding-temp-4892-ASF.stf'
2011-07-06 17:31:26,840 DEBUG [AbstractTranscodingDeliveryEngine] Deleted temp file 'C:\windows\TEMP\Serviio\transcoding-temp-4892-ASF.stf': true
2011-07-06 17:31:26,840 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'IPAddress=/192.168.1.65, Profile=Samsung TV / player (C/D-series)'
2011-07-06 17:31:26,842 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: D:\All Video Recordings\GETFLV Downloads\Test VLC\Austin City Limits - Willie Nelson-6 partcopy.AC3.mpg
2011-07-06 17:31:26,842 DEBUG [ProcessExecutor] Starting C:\Program Files (x86)\Serviio\bin\\..\lib/ffmpeg.exe -i D:\All Video Recordings\GETFLV Downloads\Test VLC\Austin City Limits - Willie Nelson-6 partcopy.AC3.mpg -y -vcodec wmv2 -b 15360k -maxrate 15360k -bufsize 5097k -r 29.97 -g 15 -copyts -acodec wmav2 -ab 128k -ac 2 -map 0:0 -map 0:1 -sn -f asf C:\windows\TEMP\Serviio\transcoding-temp-4890-ASF.stf
2011-07-06 17:31:27,342 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file Austin City Limits - Willie Nelson-6 partcopy.AC3.mpg: WMVMED_FULL
2011-07-06 17:31:27,342 DEBUG [AbstractTranscodingDeliveryEngine] Sending transcoding stream
2011-07-06 17:31:27,344 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2011-07-06 17:31:27,344 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 9000000000
2011-07-06 17:31:27,345 DEBUG [ResourceTransportRequestHandler] Sending file back
2011-07-06 17:31:27,345 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/x-ms-wmv,TimeSeekRange.dlna.org: npt=0.0-351.0/351,Content-Length: 9000000000,Date: Wed, 06 Jul 2011 21:31:27 GMT,Server: Windows 7, UPnP/1.0 DLNADOC/1.50, Serviio/0.5.2,Cache-control: no-cache,contentFeatures.dlna.org: DLNA.ORG_PN=WMVMED_FULL;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000,transferMode.dlna.org: Streaming,MediaInfo.sec: SEC_Duration=351000;]]


I'm going to find a WMV file and test it natively.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Jul 06, 2011 10:35 pm

Re: No MPEG-2 Skipping

it looks ok, maybe the TV doesn't like transcoded asf as the (for example) xbox does.
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Wed Jul 06, 2011 11:49 pm

Re: No MPEG-2 Skipping

OK, the manual says it supports:

.wmv ASF Window Media Video V9 / WMA

I have found multiple formats of WMV and I can report that the WMV9 SP@ML and MP@LL (see ffmeg test files) will play natively over DLNA and jump as mime= video/x-msvideo so there is hope!!

Problem is that Servio does not add these files to its library, nor does its wmv2 transcode option generate that format.

Seems to me that it should do both given they are the base WMV formats.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Jul 07, 2011 8:24 am

Re: No MPEG-2 Skipping

can you post ffmpeg -i for the files?
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Sat Jul 09, 2011 3:41 am

Re: No MPEG-2 Skipping

Zip, the Samsung D series only supports Windows Media Video Version 9 which is fourCC WMV3. Unfortunately you (and ffmpeg) can only transcode to WMV2, so thats why the transcoded video is unplayable.

This means that there is no solution to the inability to jump any realtime transcoded video on the Samsung D series (which other than asf/wmv2 must be transcoded to MPEG).

I have been assured by the Samsung Rep on the CNET forum, that the MPEG regression (D series inability to jump) will be brought to the attention of the Product Managers, so perhaps we will see a fix in the future.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Jul 10, 2011 10:10 am

Re: No MPEG-2 Skipping

thanks.
<<

matthelm

Serviio newbie

Posts: 5

Joined: Sun Jan 08, 2012 7:45 pm

Post Tue Jan 17, 2012 3:30 am

Re: No MPEG-2 Skipping

jhb50 wrote:I have been assured by the Samsung Rep on the CNET forum, that the MPEG regression (D series inability to jump) will be brought to the attention of the Product Managers, so perhaps we will see a fix in the future.


Any news on this, I'm having the same problem. I even ran a few thru VideoReDo, with no change.
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Tue Jan 17, 2012 5:44 am

Re: No MPEG-2 Skipping

No nothing..I assume we are stuck with it.
<<

csholmq

DLNA master

Posts: 139

Joined: Sun Mar 25, 2012 11:41 pm

Post Mon Nov 19, 2012 11:43 pm

Re: No MPEG-2 Skipping

Tried the sample file on my UE40D6200 with no success.

Latest firmware T-GAS6DEUC-1020.1 and FFmpeg v 0.11.
Next

Return to Samsung

Who is online

Users browsing this forum: No registered users and 12 guests

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