Samsung D series TV will not play Online Media

Issue #425 resolved
Former user created an issue

EDIT: This issue is now resolved by the use of the profile addition and the explanation in section #10. A new issue #429 has been opened regarding the playback of VP6/H263.flv files that impact the ability to playback online low quality Youtube and VP6 abc news feeds.

As posted in http://forum.serviio.org/viewtopic.php?f=10&t=3560 Earth-Touch .mov online files that play using Samsung D Series BR give "Not Supported Video Codec" messages when played thru the D Series TV. This happens using the Default C/D profile (transcode to PS) and when overriding Online transcoding to TS. Attached are the PS and TS logs showing the BR playback (Device 64) followed by the TV playback failure (Device 65). Since these are the only transcoding choices, I have raised this ticket to request your assistance. Note that YouTube plays fine on the TV and BR with the default PS transcode so it would seem to be unique to .mov Note also that the downloaded .mov file plays fine on the TV as video/mp4, and if I remove mp4 on-line transcoding from the default and B series Profiles both the TV and BR play the online mov files correctly.

Comments (17)

  1. Petr Nejedly repo owner
    • changed version to 0.6.1

    i didn't realise the c/d profile extends the B profile and therefore inheriting the online transcoding config ;-/

    so if you add this to the c/d profile it still doesn't work, right?

    <OnlineTranscoding>
    	<Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384">
    		<Matches container="mp4"/>
    		<Matches container="flv"/>
    	</Video>
    	<Audio targetContainer="mp3">
    		<Matches container="flv"/>
    	</Audio>
    </OnlineTranscoding>
    
  2. Former user Account Deleted

    "i didn't realise the c/d profile extends the B profile and therefore inheriting the online transcoding config ;-/" That's what the default profile shows: <Profile id="7" name="Samsung TV / player (C/D-series)" extendsProfileId="2">

    "so if you add this to the c/d profile it still doesn't work, right?" That's correct. It does not work right for either MPEG-TS or MPEG-PS. See the ts and ps logs. I also think that the TS transcode broke youtube play back that worked with PS transcode. So I think PS is the right transcode.

    However, I believe the correct profile for the D series is not to transcode .mp4 because the D series plays them natively, but I don't know how to negate the .mp4 transcoding specified in the inherited default and B profiles. Currrently I have commented those transcodings out on those prior profiles, but I don't think that will work for series that will not play .mp4 natively (C series ?). Even if I create a D only series profile, I still need to negate the .mp4 transcode in the generic profile. How does one do that?

    Regardless, I posted this issue though because one of the transcoded MPEG's should have played on the D series TV, and that's the bug that should be fixed. A corrected profile is a second separate issue.

  3. Former user Account Deleted

    "all mp4 has to be transcoded/remuxed as the player might try to obtain some data from the end of the file and if the webserver doesn't support byte range download it'd be too slow and probably just time out".

    OK, but it seems to work fine for me, so far. I don't understand enough to understand how transcoding helps get "data from the end of the file if the web server doen't support byte range download". I thought transcode was done in realtime. In any case that means we have to get MPEG-2 transcode to work with D series TV.

    "The mpegts transcoding seems to have helped the guy here: http://forum.serviio.org/viewtopic.php?f=10&t=3490#p23108"

    Not sure that I reach the same conclusion. I think he indicated he was timing out. Regardless he was using a C series TV, and the D series has a lot of differences. So let me redo my test with both a C/D profile that transcodes to TS and another to PS and I will use both Earth-touch and You-Tube links. I'll attach when done.

  4. Former user Account Deleted
    • changed status to open

    Well,you are correct: Your profile addition below works fine. I now see that you do not transcode the file, you just re-wrap them in a TS, and the original avc/ac3 streams are preserved. I don't pretend to understand why but it fixes the problem.

    I had previously used the one from Cerberus, which failed as per the ts log.

    <OnlineTranscoding> <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384"> <Matches container="mp4"/> </Video> <Audio targetContainer="lpcm"> <Matches container="flv"/> <Matches container="flac" /> <Matches container="ogg" /> </Audio> </OnlineTranscoding>

  5. Former user Account Deleted

    The TS profile works for avc.mp4 and avc.flv files but it does not work for VP6.flv files. Downloading these files all work correctly using local transcoding: avc.flv-->mux.ts, nonavc.flv-->mpeg2.ts, mp4-->native

    Using the following so that online emulates the local transcoding do not fix VP6 and break .mp4. It seems that adding the codec to match causes problems. <OnlineTranscoding> <Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384"> <Matches container="flv" vCodec="h264"/> <Matches container="mp4"/> </Video> <Video targetContainer="mpegts" targetVCodec="mpeg2video targetACodec="ac3" aBitrate="384"> <Matches container="flv" /> </Video> <Audio targetContainer="mp3"> <Matches container="flv"/> </Audio> </OnlineTranscoding>

  6. Former user Account Deleted

    This issue is now resolved by the following profile addition and a new bug regarding playback of transcoded local and online VP6/H263 files on D series TV's as originally reported above in #9 is reported as issue #429.

    The correct Samsung C/D profile addition to play .mp4 and .flv files on both the D series BR and TV is as follows:

    <OnlineTranscoding>
    	<Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384">
    		<Matches container="mp4"/>
    	</Video> 
    	<Audio targetContainer="mp3">
    		<Matches container="flv"/>
    	</Audio>
    

    Note however that there is still a bug not reported as #429 that prevents VP6/H263.flv files both online and local from displaying on the D series TV's.

    Here is the explanation of why this profile addition is correct:

    Online files inherit "Online Transcoding" Rules from previous profiles and also inherit the "(Local)Transcoding" rules from the applied profile. So (using the default 1.6 version of the profile included with .6) for online .mp4(.mov) files, the Samsung B series "Online Transcoding" rule to convert .mp4(.mov) to an mpeg(PS) container overrides the generic profile "Online Transcoding" rule to remux all .mp4(.mov) to mpeg-ts)and will be used, because the D series profile has no subsequent local or online transcoding rule to override it, and playback of online .mp4's will fail because the D series TV requires an mpeg-ts container. So the fix is to override the inherited B seriesonline rule by adding a D series "Online Transcoding" rule to remux all .mp4(.mov) to mpeg-ts, as was done in the generic profile. The alternative solution of not transcoding online .mp4 (which the D series will play) may appear to work but as zip has explained separately, online files MUST BE Transcoded.

    .flv files both local and online will play correctly with the profile as is, because the Samsung D series profile Transcoding rules remux them to mpeg-ts and reencode any other .flv files (including H263 AND vp6) to mpeg2video and mux them to mpeg-ts. If the D-series "Online Transcoding" profile is changed to add a rule to remux all .flv to mpeg-ts as in the generic profile, as was first suggested by zip in #2 above, it will override the D-series Transcoding rule that re-encodes the non-avc .flv files (including Sorenson Spark-H263 and vp6) to mpeg2video when playing online files and play the online unsupported H263 and VP6 files natively and playback will fail. Note however that while the D Series will play all .flv files correctly there is a bug on the D series TV's that cause the correctly transcoded VP6 and H263.flv files to fail with an unsupported Video codec message. This is reported as bug #429.

  7. Petr Nejedly repo owner

    added non-h264 flv transcoding to generic profile and reshuffled C/D profile (doesn't extend B series profile any more). Please re-test in the next beta.

  8. Former user Account Deleted

    The beta 2 profile1 now only transcodes online h264.flv files instead of all .flv files. This is not a problem for the C/D profile which transcodes the non-h264.flv files, but don't you need to address them in the other profiles for H.263 and VP6.flv online files?

  9. Petr Nejedly repo owner

    they either inherit the whole online transcoding if they don't have any or usually already transcode flv as a part of local transcoding info

  10. Former user Account Deleted

    Ooops.. sorry I missed that rule... It works fine. <Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384"> <Matches container="asf"/> <!-- to support mms: streams --> <Matches container="flv"/>

  11. Former user Account Deleted

    Petr hi! Great work with Serviio. You have been amazing. Please may I have the modified profile.xml file. I can test it on my D Series BlueRay and make changes if necessary

  12. Log in to comment