FAQ  •  Register  •  Login

Samsung E Series Profiles

<<

white_n0ise

Serviio newbie

Posts: 1

Joined: Sun Jul 08, 2012 1:44 am

Post Sun Jul 08, 2012 1:56 am

Samsung E Series Profiles

As the name says....

Currently Serviio has no profiles for Samsung's current LED line, the E Series. I'm using the C/D profile at the moment, however something seems a bit off compared to the Samsung's Allshare server.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Jul 08, 2012 11:11 am

Re: Samsung E Series Profiles

what is off? And could you post the device description XML of the TV device as seen in Device Spy from Intel tools (see my signature)
<<

ang3l

Serviio newbie

Posts: 8

Joined: Wed Jul 11, 2012 2:21 pm

Post Wed Jul 11, 2012 2:44 pm

Re: Samsung E Series Profiles

@ zip

This year the new LED Samsug ES series seems to be a little bit less tolerant with some mkv files. In these cases the internal media player shows the video with some of corruption and audio out of sync.

After careful analysis i have isolated the problem

reading files with mediainfo there are two info of frame rate

Frame rate: 25.000
Frame rate original: 23.976

so I think that this year the media player reads the info about the timing in the mkv container and also in the nal written in the bitstream of file h264
and in this way with two different timing the playback is corrupted

i have created a programm to analize and patch the nal in the first 20mb of the file with the same frame rate of the conteiner, and work very well

so here's my question

there is a possibility to create a profile for samsung es that adjust on the fly this thing (nal ecc ecc) without having to transcode to MPEG?

thx
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Jul 11, 2012 4:53 pm

Re: Samsung E Series Profiles

you can transwrap to mpegts, it should set rate to whatever FFmpeg produces. You can check the command in the detailed log. Try Sony Bravia profile, which should remux mkv to mpegts.
<<

ang3l

Serviio newbie

Posts: 8

Joined: Wed Jul 11, 2012 2:21 pm

Post Wed Jul 11, 2012 6:36 pm

Re: Samsung E Series Profiles

i tried with this settings
but it did not work, the result it's the same as with normal profiles for samsung c/d

  Code:
         <Video targetContainer="mpegts" forceInheritance="true">
            <Matches container="avi" vCodec="h264" aCodec="ac3" />
            <Matches container="mp4" vCodec="h264" aCodec="ac3" />
            <Matches container="matroska" vCodec="h264" aCodec="ac3" />
         </Video>




only with this profiles it work but obviously the cpu it's at 50%

  Code:
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="20000">
            <Matches container="avi" vCodec="h264" aCodec="ac3" />
            <Matches container="mp4" vCodec="h264" aCodec="ac3" />
            <Matches container="matroska" vCodec="h264" aCodec="ac3" />
         </Video>
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Jul 11, 2012 8:42 pm

Re: Samsung E Series Profiles

can you post ffmpeg -i of the file?
<<

ang3l

Serviio newbie

Posts: 8

Joined: Wed Jul 11, 2012 2:21 pm

Post Wed Jul 11, 2012 10:11 pm

Re: Samsung E Series Profiles

  Code:
Microsoft Windows XP [Versione 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Utente>C:\Programmi\Serviio\lib\ffmpeg.exe -i "*************.mkv"
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

Seems stream 0 codec frame rate differs from container frame rate: 47.95 (48000/
1001) -> 50.00 (50/1)
Input #0, matroska,webm, from '*************.mkv':
  Duration: 00:20:52.00, start: 0.000000, bitrate: 3980 kb/s
    Stream #0:0(eng): Video: h264 (High), yuv420p, 1280x720, SAR 1:1 DAR 16:9, 2
5 fps, 50 tbr, 1k tbn, 47.95 tbc
    Stream #0:1(ita): Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s (default)
At least one output file must be specified
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Jul 11, 2012 10:48 pm

Re: Samsung E Series Profiles

Looks like this might be the problem?

  Code:
Seems stream 0 codec frame rate differs from container frame rate: 47.95 (48000/
1001) -> 50.00 (50/1)
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Wed Jul 11, 2012 11:21 pm

Re: Samsung E Series Profiles

You have hidden the source title of the file and it is only 20 minues long which indicates to me that it is not a standard sourced file from TV or movies.

The manual shows that the E series will play avc.mkv files up to 30fps but your data indicates the file is 50 fps so it needs to be transcoded to mpeg in order to play. I have had 3D files like this and have had to reencode them back to 25fps,
<<

ang3l

Serviio newbie

Posts: 8

Joined: Wed Jul 11, 2012 2:21 pm

Post Thu Jul 12, 2012 7:40 am

Re: Samsung E Series Profiles

@jhb50

the file is set to 25fps in the mkv container, but it was originally set to 23,976 fps

ffmpeg says there are 2 different values ​​of frame rate, one in the mkv and another in the h264 because when you change frame rate with mkvmerge this do not change the info written in the nal vui sps in the h264 :\


num_units_in_tick 1001
time_scale 48000

num_units_in_tick 1
time_scale 50

frame rate = time_scale / (2 * num_units_in_tick)

so 23.976fps and 25fps

@zip

This is exactly the problem, last year and even years before the media player samsung were not interested in the value of frame-rate written in h264 track, and there were no problems as with other media players and PC
this year with the ES series, things are different: °

I'm allowed to upload to you a sample of one of these files

sample.mkv

as I told you I made ​​a program to patch as an a hex editor the first 20mb of these mkv (because sometimes these info are written more than once in the h264), but of course if serviio send them on TV already corrected would be even better :)

this is the program

MediaFix.v0.1.rar
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Thu Jul 12, 2012 6:16 pm

Re: Samsung E Series Profiles

The sample plays fine on C/D series.

Wondering why you would change the framerate. Why not leave it at 23....?
<<

ang3l

Serviio newbie

Posts: 8

Joined: Wed Jul 11, 2012 2:21 pm

Post Thu Jul 12, 2012 9:59 pm

Re: Samsung E Series Profiles

yes the problem is only with new es series

There may be several reasons for changing the frame rate of a video

the problem is that in these cases, the new samsung tv serie es have problems to reproduce them correctly :\
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Fri Jul 13, 2012 1:41 am

Re: Samsung E Series Profiles

From what I can determine, the behaviour of various players when the stream frame rate differs from the container frame rate is indeterminant.
Clearly some users have used the fact that some players use the container rate, to avoid the conversion of the video stream to the new framerate, however it is the respnsibility of the user to ensure the stream framerate matches that of the container, and mkvmerge and ffmpeg issue appropriate warnings expecting that to occur.

It is a simple matter to convert the video stream framerate prior to the mkvmerge. Use TSMuxer to demux and change the h264 video stream to the new frame rate, then add the resulting audio and video streams to mkvmerge and mux at the new frame rate. MediaInfo will report the single new framerate, and all players will play the file correctly.
<<

ang3l

Serviio newbie

Posts: 8

Joined: Wed Jul 11, 2012 2:21 pm

Post Fri Jul 13, 2012 7:58 am

Re: Samsung E Series Profiles

i know

My first step when I discovered the problem was to use tsMuxeR to demux to the elementary stream and then remux in mkv with mkvmerge

but it was too long process to do for all my old mkv

so i made a little program that i posted in previous page (mediafix) to check and fix this file mkv with two frame rate, without demuxing and work ok, the program rewrites only some bytes directly to the file.

also in this way the problem is solved

so I thought that the developer of serviio could fix this and make the process even simpler by changing the frame rate of the track h264 before sending the file through dlna to TV
<<

ang3l

Serviio newbie

Posts: 8

Joined: Wed Jul 11, 2012 2:21 pm

Post Fri Jul 20, 2012 3:39 pm

Re: Samsung E Series Profiles

@zip

any news for a samsung es profile that can solve this thing?

today came out a new firmware (1014) but nothing

there is the same bug with internal media player :\
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Jul 20, 2012 3:57 pm

Re: Samsung E Series Profiles

Not for now
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Sun Jul 22, 2012 1:45 am

Re: Samsung E Series Profiles

This is not a bug, but rather an incorrectly coded video file that is simple to fix rather than have Serviio try and deal with it.
<<

ang3l

Serviio newbie

Posts: 8

Joined: Wed Jul 11, 2012 2:21 pm

Post Sun Jul 22, 2012 3:18 pm

Re: Samsung E Series Profiles

@jhb50

i don't know if this it's or not a bug

because this kind of file works on the previous samsung series

mkv container allows you to change fps, with mkv merge and other tools, and there is no players that have a problem with that

so i think that this year the internal mediaplayer it's not so good to read and play all mkv like other years

the question for me it's like the previous years that the internal media player did not read the subtitles put inside the mkv

not an incorrectly coded video file but an incorrect playback of mkv file


but it's ok anyway, i know how fix this

I thought I could solve more easily with serviio

but it isn't

thx :)
<<

samcro49

Streaming enthusiast

Posts: 47

Joined: Wed Oct 05, 2011 9:11 pm

Post Thu Aug 02, 2012 11:47 am

Re: Samsung E Series Profiles

Hi,
Me too i have the problem With mkv file
Firmware 1016
Which profil choise?
Update serviio in 1.0.1 ?

Tks
<<

samcro49

Streaming enthusiast

Posts: 47

Joined: Wed Oct 05, 2011 9:11 pm

Post Mon Aug 06, 2012 11:37 am

Re: Samsung E Series Profiles

nothing for serie ES ???
Next

Return to Feature requests

Who is online

Users browsing this forum: No registered users and 52 guests

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