Page 1 of 1

Samsung C series profile

PostPosted: Fri Jan 27, 2012 11:56 am
by gratz
Hi all,

I have a Samsung C series TV (Samsung UE40C6540) and am running Serviio 0.6.1 from my Acer Revo 3700 which so far has been working perfectly with everything I've thrown at it except a recently obtained an mkv video file that during playback constantly gets buffered ('preparing to play') from the TV throughout the film.

mkvinfo on the file produces this:

  Code:
+ EBML head
|+ Doc type: matroska
|+ Doc type version: 1
|+ Doc type read version: 1
+ Segment, size 8535192058
|+ Seek head (subentries will be skipped)
|+ EbmlVoid (size: 4025)
|+ Segment information
| + Timecode scale: 1000000
| + Muxing application: libebml v0.7.7 + libmatroska v0.8.1
| + Writing application: mkvmerge v2.1.0 ('Another Place To Fall') built on Aug 19 2007 13:40:07
| + Duration: 6806.795s (01:53:26.795)
| + Date: Wed Dec 26 01:13:56 2007 UTC
| + Segment UID: 0x80 0x2e 0x6c 0xc9 0x60 0xcb 0xf8 0x76 0xb2 0x7a 0x4f 0x46 0x78 0x97 0xc7 0xe8
|+ Segment tracks
| + A track
|  + Track number: 1
|  + Track UID: 1
|  + Track type: video
|  + Enabled: 1
|  + Default flag: 1
|  + Forced flag: 0
|  + Lacing flag: 0
|  + MinCache: 1
|  + Timecode scale: 1
|  + Max BlockAddition ID: 0
|  + Codec ID: V_MPEG4/ISO/AVC
|  + Codec decode all: 1
|  + CodecPrivate, length 168 (h.264 profile: High @L5.1)
|  + Default duration: 41.708ms (23.976 fps for a video track)
|  + Language: eng
|  + Video track
|   + Pixel width: 1920
|   + Pixel height: 808
|   + Interlaced: 0
|   + Display width: 240
|   + Display height: 101
| + A track
|  + Track number: 2
|  + Track UID: 3143168171
|  + Track type: audio
|  + Enabled: 1
|  + Default flag: 1
|  + Forced flag: 0
|  + Lacing flag: 1
|  + MinCache: 0
|  + Timecode scale: 1
|  + Max BlockAddition ID: 0
|  + Codec ID: A_DTS
|  + Codec decode all: 1
|  + Language: und
|  + Audio track
|   + Sampling frequency: 48000
|   + Channels: 6
|+ EbmlVoid (size: 1024)
|+ Cluster


And doing 'ffmpeg -i file.mkv' reports the following:

  Code:
[matroska,webm @ 0x991f2a0] Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 47.95 (5000000/104271) -> 23.98 (24000/1001)
Input #0, matroska,webm, from 'file.mkv':
  Duration: 01:53:26.79, start: 0.000000, bitrate: 1536 kb/s
    Stream #0.0(eng): Video: h264 (High), yuv420p, 1920x808, PAR 1:1 DAR 240:101, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Stream #0.1: Audio: dca (DTS), 48000 Hz, 5.1, s16, 1536 kb/s (default)
At least one output file must be specified


I've well over a hundred other films, lots of them 1080 mkv's at higher video bitrates as well that don't exhibit the same problem. Wondering if it's to do with serviio trying to decode / downmix the 6 channels to stereo? I have transcoding set up to use both cpu cores and see that ffmpeg gets to about 135% cpu. The profile is the standard Samsung C series TV / Player profile that comes with 0.6.1, so any ideas what changes I could try to get this working?

Thanks!

Re: Samsung C series profile

PostPosted: Fri Jan 27, 2012 1:00 pm
by zip
it's probably high profile so it has to be transcoded.

Re: Samsung C series profile

PostPosted: Fri Jan 27, 2012 2:54 pm
by gratz
zip wrote:it's probably high profile so it has to be transcoded.


Right, so that means it gets transcoded on the fly during playback? Is there anything I can do to get it to playback properly or will I have to transcode it manually myself with ffmpeg? Loving Serviio so far other than this little problem..

Re: Samsung C series profile

PostPosted: Fri Jan 27, 2012 3:55 pm
by YTMY
Have You tried playing it from usb directly on tv? If it does not play than it has to be transcoded on-the-fly. Or You can use handbrake (or ffmpeg) to transcode it and later play it without transcoding. Samsung C series supports profile up to 4.1 for h264 while Your mkv shows 5.1 level.

Re: Samsung C series profile

PostPosted: Fri Jan 27, 2012 4:15 pm
by Cerberus
YTMY wrote:Have You tried playing it from usb directly on tv? If it does not play than it has to be transcoded on-the-fly. Or You can use handbrake (or ffmpeg) to transcode it and later play it without transcoding. Samsung C series supports profile up to 4.1 for h264 while Your mkv shows 5.1 level.


not true USB and DLNA are done completely separately.

gratz wrote:
zip wrote:it's probably high profile so it has to be transcoded.


Right, so that means it gets transcoded on the fly during playback? Is there anything I can do to get it to playback properly or will I have to transcode it manually myself with ffmpeg? Loving Serviio so far other than this little problem..


its supposed to but i have myself found a few that still wont work, but if i alter the profile level using the link tool they then play fine.

http://wiki.serviio.org/doku.php?id=avceditor