FAQ  •  Register  •  Login

Transcoding for Samsung D Series

<<

mrmrmrmr

Serviio newbie

Posts: 2

Joined: Sat Apr 09, 2016 3:37 pm

Post Sat Apr 09, 2016 3:41 pm

Transcoding for Samsung D Series

Hi,

I have a Samsung D series TV.
The following media can not be played directly. It says "video codec not supported"

  Code:
General
Unique ID                                : 196518972683263188782988929014719064863 (0x93D82D6AF1C15B708619165236602B1F)
Complete name                            : \\192.168.254.3\d$\movies\movie\Film\Kiralik Ask Blm 41 HDTV 1080p x264 AC3 - BTRG.mkv
Format                                   : Matroska
Format version                           : Version 4 / Version 2
File size                                : 4.90 GiB
Duration                                 : 2h 12mn
Overall bit rate                         : 5 274 Kbps
Movie name                               : Kiralık Aşk Blm 41
Encoded date                             : UTC 2016-04-08 21:10:11
Writing application                      : mkvmerge v9.0.1 ('Obstacles') 64bit
Writing library                          : libebml v1.3.3 + libmatroska v1.4.4
DURATION                                 : 02:12:58.784000000
NUMBER_OF_FRAMES                         : 249337
NUMBER_OF_BYTES                          : 191490816
_STATISTICS_WRITING_APP                  : mkvmerge v9.0.1 ('Obstacles') 64bit
_STATISTICS_WRITING_DATE_UTC             : 2016-04-08 21:10:11
_STATISTICS_TAGS                         : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Main@L4.0
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 2h 12mn
Bit rate                                 : 4 977 Kbps
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 25.000 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Interlaced
Scan order                               : Top Field First
Bits/(Pixel*Frame)                       : 0.096
Stream size                              : 4.62 GiB (94%)
Title                                    : BTRG HDTV
Language                                 : Turkish
Default                                  : Yes
Forced                                   : No
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio
ID                                       : 2
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : A_AC3
Duration                                 : 2h 12mn
Bit rate mode                            : Constant
Bit rate                                 : 192 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 183 MiB (4%)
Title                                    : BTRG HDTV
Language                                 : Turkish
Default                                  : Yes
Forced                                   : No


So I want to transcode this media for my TV.
I edited profiles.xml under C:\Program Files\Serviio\config

under the correct profile (ID 7 for Samsung series C/D)
I put this under transcoding section

  Code:
         <Video targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384">
            <Matches container="matroska" vCodec="*" profile="*" />
         </Video>


but it did not transcode.
what am I missing ?

Thanks.
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Sun Apr 10, 2016 1:07 am

Re: Transcoding for Samsung D Series

Firstly you don't need: vCodec="*" profile="*". If you leave these out it will match against all video codecs and profiles anyway (plus "profiles" is specific to h264 and shouldn't be used for other codecs).
Secondly you must have a target container type (I'm surprised Serviio started? After changing profiles you must restart your PC/Serviio Service).

So your code should probably look more like:
  Code:
         <Video targetContainer="mpegts"  targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384">
            <Matches container="matroska"  />
         </Video>
This however will now transcode all MKV files, even when it's probably not needed. My reading is that this file should be playable on your device - if it's only one file that's not I'd re-encode that file rather than transcoding all mkv's.
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.
<<

mrmrmrmr

Serviio newbie

Posts: 2

Joined: Sat Apr 09, 2016 3:37 pm

Post Sun Apr 10, 2016 2:21 pm

Re: Transcoding for Samsung D Series

thanks for the explanation.

so what should I do to re-encode only this format ?

btw, you say that this file should be playable on Samsung D series TV.
how are you sure about it ? my TV says that the video codec is not supported.
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Wed Apr 13, 2016 9:38 am

Re: Transcoding for Samsung D Series

If it's only this file, try remuxing it using the command (assuming your a Windows user):

"C:\Program Files\Serviio\lib\ffmpeg.exe" -i "oldfilename.mkv" -c copy -map 0 "newfilename.mkv"

and see if the new file plays (it probably won't, but this is a quick thing to try). If not then you will need to grab a tool like "XMedia Recode" and recode your video.

how are you sure about it ?
Only based on what I read and see in the profile. The problem is that there are so many settings when the video was encoded. These setting can change everything from the frame rate to the compression and codecs used - if there was a setting that your TV doesn't like it will reject the file (although all other files work even though on the surface they appear to be same).
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 33 guests

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