Need help with profile for transcoding AAC
General
Unique ID : 191998833686780304471981371171926588634 (0x9071A15BE581D12FBA0BCBC5727A3CDA)
Complete name : C:\Users\ISLAND_OFFICE\Videos\Prison Break S03E02 720p BluRay nHD x264 NhaNc3.mkv
Format : Matroska
Format version : Version 2
File size : 688 MiB
Duration : 43 min 53 s
Overall bit rate : 2 190 kb/s
Encoded date : UTC 2009-06-18 08:05:51
Writing application : mkvmerge v2.9.0 ('Moanin'') built on May 22 2009 17:46:31
Writing library : libebml v0.7.7 + libmatroska v0.8.1
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings : CABAC / 8 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 8 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 43 min 53 s
Nominal bit rate : 1 857 kb/s
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
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.084
Writing library : x264 core 67 r1162M f7bfcfa
Encoding settings : cabac=1 / ref=8 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=9 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=2 / deadzone=21,11 / chroma_qp_offset=-2 / threads=3 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=0 / b_adapt=2 / b_bias=0 / direct=3 / wpredb=1 / keyint=250 / keyint_min=25 / scenecut=40 / rc=2pass / bitrate=1857 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=50000 / vbv_bufsize=50000 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00
Default : Yes
Forced : No
Audio
ID : 2
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : A_AAC-2
Duration : 43 min 53 s
Channel(s) : 6 channels
Channel layout : C L R Ls Rs LFE
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Default : Yes
Forced : No
What I tried:
<Profile id="8" name="LG TV / player" extendsProfileId="1">
<Detection>
<HttpHeaders>
<friendlyName.dlna.org>LG.*</friendlyName.dlna.org>
</HttpHeaders>
</Detection>
<!-- ResourceTransportProtocolHandler>org.serviio.upnp.protocol.http.transport.LGProtocolHandler</ResourceTransportProtocolHandler -->
<MediaFormatProfiles>
<MediaFormatProfile mime-type="video/mp4" name="">AVI</MediaFormatProfile>
</MediaFormatProfiles>
<Transcoding>
<!-- Transcode h264 videos with aCodec aac to ac3 audio -->
<Video targetContainer="mpegts" targetACodec="ac3">
<Matches container="matroska" aCodec="aac" />
</Video>
</Transcoding>
<!--
Transcoding doesn't seem to work and some files can be played natively:
http://forum.serviio.org/viewtopic.php? ... 914#p26273
<Transcoding>
<Video targetContainer="mpegts" targetACodec="ac3">
<Matches container="matroska" aCodec="dca" />
</Video>
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" >
<Matches container="flv" />
<Matches container="asf" vCodec="wmv2"/>
<Matches container="rm" />
<Matches container="wtv" />
</Video>
</Transcoding>-->
<GenericTranscoding>
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" />
</GenericTranscoding>
<MultipleAudioTrackAware>false</MultipleAudioTrackAware>
</Profile>
On LG TV:
Audio was previously not working. Got the audio to work but the video spazzes out (fast forwards randomly) making audio/video go out of sync.
Any suggestions?
Thanks in advance.