FAQ  •  Register  •  Login

mp4 H264 transcoding...

<<

janagn

Serviio newbie

Posts: 8

Joined: Sun Jun 09, 2013 9:37 pm

Location: Aberdeen

Post Sun Jun 09, 2013 9:43 pm

mp4 H264 transcoding...

Hi all,

I landed yesterday to this great product and I think that my quest for an all around DLNA server has come to an end. The fact that you can provide profile per renderer is THE ulimate feature. Well done :) Now to my question... My Samsung B series seems to be detected and propertly handled by serviio. Howeve there is a group of video files that are giving me "unsupported codec" on screen. Doing ffmpeg -i on the file name I take:

Metadata:
major_brand : isom
minor_version : 1
compatible_brands: isomavc1
creation_time : 2012-12-21 00:49:42
Duration: 02:18:34.93, start: 0.000000, bitrate: 2305 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuvj420p, 720x304
[SAR 1:1 DAR 45:19], 1991 kb/s, 23.98 fps, 23.98 tbr, 96k tbn, 47.95 tbc
Metadata:
creation_time : 2012-12-21 00:49:42
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 310 k
b/s
Metadata:
creation_time : 2012-12-21 00:50:34
handler_name : GPAC ISO Audio Handler

I guess I need some kind of transcoding to add to my samsung B profile. Any help will be greatly appreciated.

Kind Regards
Yiannis
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Jun 10, 2013 9:47 am

Re: mp4 H264 transcoding...

can you post MediaInfo result for the file?
<<

janagn

Serviio newbie

Posts: 8

Joined: Sun Jun 09, 2013 9:37 pm

Location: Aberdeen

Post Tue Jun 11, 2013 9:00 pm

Re: mp4 H264 transcoding...

Gladly:

Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 2.23 GiB
Duration : 2h 18mn
Overall bit rate mode : Variable
Overall bit rate : 2 306 Kbps
Encoded date : UTC 2012-12-21 00:49:42
Tagged date : UTC 2012-12-21 00:49:42

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 2h 18mn
Bit rate mode : Variable
Bit rate : 1 992 Kbps
Maximum bit rate : 40.0 Mbps
Width : 720 pixels
Height : 304 pixels
Display aspect ratio : 2.35:1
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.380
Stream size : 1.93 GiB (86%)
Writing library : x264 core 129 r2230 1cffe9f
Encoding settings : cabac=1 / ref=4 / deblock=1:-1:-1 / analyse=0x3:0x113 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=18 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-3 / threads=6 / lookahead_threads=1 / sliced_threads=0 / slices=4 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=1 / b_adapt=2 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=0 / keyint=23 / keyint_min=1 / scenecut=40 / intra_refresh=0 / rc_lookahead=23 / rc=2pass / mbtree=1 / bitrate=1992 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=40000 / vbv_bufsize=30000 / nal_hrd=vbr / ip_ratio=1.40 / aq=1:1.00
Encoded date : UTC 2012-12-21 00:49:42
Tagged date : UTC 2012-12-21 00:50:38
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709

Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 2h 18mn
Bit rate mode : Variable
Bit rate : 310 Kbps
Maximum bit rate : 382 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 307 MiB (13%)
Language : English
Encoded date : UTC 2012-12-21 00:50:34
Tagged date : UTC 2012-12-21 00:50:38
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Wed Jun 12, 2013 7:33 am

Re: mp4 H264 transcoding...

Seems good...only 720x304 resolution not sure it is standard.
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

janagn

Serviio newbie

Posts: 8

Joined: Sun Jun 09, 2013 9:37 pm

Location: Aberdeen

Post Wed Jun 12, 2013 9:16 pm

Re: mp4 H264 transcoding...

It would be quite intereting if you could point out an alteration to the profile so that I can force, even for a test, some kind of transcoding for this case. Not as permanent fix, since I realise that the problem is not obvious. at least as an exprimentation. If the reolution is "strange", could we bring it to something more acceptable?

EDIT: The particular files are not playable on B series Samsungs. On my C series and on my BD plays fine...

Thank you in advance
Yiannis
<<

skorp_jon

Serviio newbie

Posts: 2

Joined: Wed Dec 15, 2010 7:48 pm

Post Sat Sep 14, 2013 5:34 pm

Re: mp4 H264 transcoding...

I have the same problem on my Samsung B series. I don't know if i can say it but its movies from YIFY.

If somebody had some solution please let me know.

thank you
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Mon Sep 16, 2013 11:41 pm

Re: mp4 H264 transcoding...

@skorp_jon: these files use a high level of compression and low bit rate to achieve the small file size and might not be supported by your device, so the video will need to be transcoded. You can do this by adding something along the lines of:

  Code:
<Video targetContainer="mpegts" targetVCodec="mpeg2video" DAR="16:9" targetACodec="ac3" aBitrate="384">
   <Matches container="mp4" vCodec="h264" profile="high" />
</Video>
to your profile. The files I have seen are High@L4.0 and above, so you can also include levelGreaterThan="3.2" in the matches command; and if you need to support MKV, change the "MP4" to "*".
Last edited by DenyAll on Sun Nov 03, 2013 6:59 am, edited 1 time in total.
Reason: Changed MP4 to mp4
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.
<<

Gimbal

Serviio newbie

Posts: 14

Joined: Sun Sep 25, 2011 7:31 pm

Post Fri Nov 01, 2013 8:50 pm

Re: mp4 H264 transcoding...

I had the same problem, and your code worked. (well I had to change "MP4" to "mp4").
Thanks!!!

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.