I am running PMS on a Synology NAS. I’m having an issue with MKV files, where no audio is streaming to certain devices, such as IOS and Amazon Firestick. Streaming to a web browser or my Roku is working fine. If I recode the file using Handbrake, as an example, the issue is “fixed”. Any suggestions on server settings that might let me play the files as-is, without having to rework them?
Please start by telling what audio codec is used in the file as-is.
Copying the content of the Plex XML info is a good way.
Thank you, Otto. Here is the beginning of the XML file.
<MediaContainer size="1" allowSync="1" identifier="com.plexapp.plugins.library" librarySectionID="1" librarySectionTitle="Movies" librarySectionUUID="95e9bb55-b7eb-4224-bd4f-325c1b86d269" mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion="1579823211">
<Video ratingKey="715" key="/library/metadata/715" guid="com.plexapp.agents.imdb://tt1843866?lang=en" studio="Marvel Studios" type="movie" title="Captain America: The Winter Soldier" librarySectionTitle="Movies" librarySectionID="1" librarySectionKey="/library/sections/1"contentRating="PG-13" summary="Af...ldier." rating="9.0" audienceRating="9.2" viewOffset="1112000"lastViewedAt="1581009600" year="2014" tagline="In heroes we trust." thumb="/library/metadata/715/thumb/1580886372" art="/library/metadata/715/art/1580886372" duration="8154198" originallyAvailableAt="2014-03-20" addedAt="1535246034" updatedAt="1580886372"audienceRatingImage="rottentomatoes://image.rating.upright" chapterSource="agent" primaryExtraKey="/library/metadata/823" ratingImage="rottentomatoes://image.rating.ripe">
<Media id="2938" duration="8154198" bitrate="4722" width="1920" height="800" aspectRatio="2.35" audioChannels="6" audioCodec="dca" videoCodec="h264" videoResolution="1080" container="mkv" videoFrameRate="24p" audioProfile="dts" videoProfile="high">
<Part accessible="1" exists="1" id="2950" key="/library/parts/2950/1556489215/file.mkv" duration="8154198" file="/volume1/video/movies/Captain.America.The Winter.Soldier.2014.1080p.BluRay.DTS.X264-ETRG.mkv" size="4812994025" audioProfile="dts" container="mkv"deepAnalysisVersion="4" requiredBandwidths="68654,58926,41998,33910,26295,19325,10993,10993" videoProfile="high">
<Stream id="6470" key="/library/streams/6470" streamType="3" selected="1" codec="srt" language="English" languageCode="eng" displayTitle="English (SRT External)"/>
</Part>
</Media>
I edited it down. However it is missing some crucial things. Some things are missing.
Trigger a manual Analyze on the movie, please.
Noob here. How do I trigger that.
Got it. In process
Should I re-copy the XML data?
Yes, please.
<Part accessible=“1” exists=“1” id=“2950” key="/library/parts/2950/1556489215/file.mkv" duration=“8154198” file="/volume1/video/movies/Captain.America.The Winter.Soldier.2014.1080p.BluRay.DTS.X264-ETRG.mkv" size=“4812994025” audioProfile=“dts” container="mkv"deepAnalysisVersion=“4” requiredBandwidths=“68654,58926,41998,33910,26295,19325,10993,10993” videoProfile=“high”>
<Stream id=“12822” streamType=“1” default=“1” codec=“h264” index=“0” bitrate=“3186” language=“English” languageCode=“eng” bitDepth=“8” chromaLocation=“left” chromaSubsampling=“4:2:0” codedHeight=“800” codedWidth=“1920” frameRate=“23.976” hasScalingMatrix=“0” height="800"level=“41” profile=“high” refFrames=“5” scanType=“progressive” title=“Captain.America.The Winter.Soldier.2014.1080p.BluRay.DTS.X264-ETRG” width=“1920” displayTitle=“1080p (H.264)”/>
Did you omit parts of the XML? Please copy it all
Not on purpose! Trying again…
<Video ratingKey=“715” key="/library/metadata/715" guid=“com.plexapp.agents.imdb://tt1843866?lang=en” studio=“Marvel Studios” type=“movie” title=“Captain America: The Winter Soldier” librarySectionTitle=“Movies” librarySectionID=“1” librarySectionKey="/library/sections/1"contentRating=“PG-13” summary=“After the cataclysmic events in New York with The Avengers, Steve Rogers, aka Captain America is living quietly in Washington, D.C. and trying to adjust to the modern world. But when a S.H.I.E.L.D. colleague comes under attack, Steve becomes embroiled in a web of intrigue that threatens to put the world at risk. Joining forces with the Black Widow, Captain America struggles to expose the ever-widening conspiracy while fighting off professional assassins sent to silence him at every turn. When the full scope of the villainous plot is revealed, Captain America and the Black Widow enlist the help of a new ally, the Falcon. However, they soon find themselves up against an unexpected and formidable enemy—the Winter Soldier.” rating=“9.0” audienceRating=“9.2” viewOffset=“1112000"lastViewedAt=“1581010213” year=“2014” tagline=“In heroes we trust.” thumb=”/library/metadata/715/thumb/1580886372" art="/library/metadata/715/art/1580886372" duration=“8154198” originallyAvailableAt=“2014-03-20” addedAt=“1535246034” updatedAt=“1580886372"audienceRatingImage=“rottentomatoes://image.rating.upright” chapterSource=“agent” primaryExtraKey=”/library/metadata/823" ratingImage=“rottentomatoes://image.rating.ripe”>
<Part accessible=“1” exists=“1” id=“2950” key="/library/parts/2950/1556489215/file.mkv" duration=“8154198” file="/volume1/video/movies/Captain.America.The Winter.Soldier.2014.1080p.BluRay.DTS.X264-ETRG.mkv" size=“4812994025” audioProfile=“dts” container="mkv"deepAnalysisVersion=“4” requiredBandwidths=“68654,58926,41998,33910,26295,19325,10993,10993” videoProfile=“high”>
<Stream id=“12822” streamType=“1” default=“1” codec=“h264” index=“0” bitrate=“3186” language=“English” languageCode=“eng” bitDepth=“8” chromaLocation=“left” chromaSubsampling=“4:2:0” codedHeight=“800” codedWidth=“1920” frameRate=“23.976” hasScalingMatrix=“0” height="800"level=“41” profile=“high” refFrames=“5” scanType=“progressive” title=“Captain.America.The Winter.Soldier.2014.1080p.BluRay.DTS.X264-ETRG” width=“1920” displayTitle=“1080p (H.264)”/>
According to Plex, this file has no audio track.
Try mediainfo
(pay attention during installation, it comes with a ‘piggybacked’ installer which asks to install additional crapware. Make sure to set/clear the right checkboxes!)
Once it is installed, analyse the file, then go to:
File - Export - Text (Advanced mode)
Okay thank you
General
Unique ID : 242581010288081195886718493003893269899 (0xB67F6735D8334FDFAE30AABFE7A1658B)
Complete name : /Volumes/video/movies/Captain.America.The Winter.Soldier.2014.1080p.BluRay.DTS.X264-ETRG.mkv
Format : Matroska
Format version : Version 4
File size : 4.48 GiB
Duration : 2h 15mn
Overall bit rate : 4 722 Kbps
Movie name : Captain.America.The Winter.Soldier.2014.1080p.BluRay.DTS.X264-ETRG
Encoded date : UTC 2016-08-10 09:06:59
Writing application : mkvmerge v7.9.0 (‘Birds’) 64bit
Writing library : libebml v1.3.1 + libmatroska v1.4.2
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings : CABAC / 5 Ref Frames
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 2h 15mn
Bit rate : 3 200 Kbps
Width : 1 920 pixels
Height : 800 pixels
Display aspect ratio : 2.40:1
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.087
Stream size : 3.04 GiB (68%)
Title : Captain.America.The Winter.Soldier.2014.1080p.BluRay.DTS.X264-ETRG
Writing library : x264 core 142 r2431 ac76440
Encoding settings : cabac=1 / ref=5 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=2pass / mbtree=1 / bitrate=3200 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=62500 / vbv_bufsize=78125 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00
Language : English
Default : Yes
Forced : No
Audio
ID : 2
Format : DTS
Format/Info : Digital Theater Systems
Codec ID : A_DTS
Duration : 2h 15mn
Bit rate mode : Constant
Bit rate : 1 509 Kbps
Channel(s) : 6 channels
Channel layout : C L R Ls Rs LFE
Sampling rate : 48.0 KHz
Frame rate : 93.750 fps (512 SPF)
Bit depth : 24 bits
Compression mode : Lossy
Stream size : 1.43 GiB (32%)
Title : DTS ,ETRG
Language : English
Default : Yes
Forced : No
Text
ID : 3
Format : PGS
Muxing mode : zlib
Codec ID : S_HDMV/PGS
Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs
Duration : 2h 8mn
Bit rate : 10.9 Kbps
Count of elements : 3300
Stream size : 10.1 MiB (0%)
Title : PGS, ETRG
Language : English
Default : Yes
Forced : No
Otto, now after analyzing the movie, it is playing on my iPhone with audio
Is the XML now looking differently?
Suddenly can’t connect to my Plex Server. I’ll keep trying
MediaContainer size=“1” allowSync=“1” identifier=“com.plexapp.plugins.library” librarySectionID=“1” librarySectionTitle=“Movies” librarySectionUUID=“95e9bb55-b7eb-4224-bd4f-325c1b86d269” mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion=“1579823211”>
<Video ratingKey=“715” key="/library/metadata/715" guid=“com.plexapp.agents.imdb://tt1843866?lang=en” studio=“Marvel Studios” type=“movie” title=“Captain America: The Winter Soldier” librarySectionTitle=“Movies” librarySectionID=“1” librarySectionKey="/library/sections/1"contentRating=“PG-13” summary=“After the cataclysmic events in New York with The Avengers, Steve Rogers, aka Captain America is living quietly in Washington, D.C. and trying to adjust to the modern world. But when a S.H.I.E.L.D. colleague comes under attack, Steve becomes embroiled in a web of intrigue that threatens to put the world at risk. Joining forces with the Black Widow, Captain America struggles to expose the ever-widening conspiracy while fighting off professional assassins sent to silence him at every turn. When the full scope of the villainous plot is revealed, Captain America and the Black Widow enlist the help of a new ally, the Falcon. However, they soon find themselves up against an unexpected and formidable enemy—the Winter Soldier.” rating=“9.0” audienceRating=“9.2” viewOffset=“1112000"lastViewedAt=“1581012577” year=“2014” tagline=“In heroes we trust.” thumb=”/library/metadata/715/thumb/1580886372" art="/library/metadata/715/art/1580886372" duration=“8154198” originallyAvailableAt=“2014-03-20” addedAt=“1535246034” updatedAt=“1580886372"audienceRatingImage=“rottentomatoes://image.rating.upright” chapterSource=“agent” primaryExtraKey=”/library/metadata/823" ratingImage=“rottentomatoes://image.rating.ripe”>
<Part accessible=“1” exists=“1” id=“2950” key="/library/parts/2950/1556489215/file.mkv" duration=“8154198” file="/volume1/video/movies/Captain.America.The Winter.Soldier.2014.1080p.BluRay.DTS.X264-ETRG.mkv" size=“4812994025” audioProfile=“dts” container="mkv"deepAnalysisVersion=“4” requiredBandwidths=“68654,58926,41998,33910,26295,19325,10993,10993” videoProfile=“high”>
<Stream id=“12822” streamType=“1” default=“1” codec=“h264” index=“0” bitrate=“3186” language=“English” languageCode=“eng” bitDepth=“8” chromaLocation=“left” chromaSubsampling=“4:2:0” codedHeight=“800” codedWidth=“1920” frameRate=“23.976” hasScalingMatrix=“0” height="800"level=“41” profile=“high” refFrames=“5” scanType=“progressive” title=“Captain.America.The Winter.Soldier.2014.1080p.BluRay.DTS.X264-ETRG” width=“1920” displayTitle=“1080p (H.264)”/>
Weird. Still no information about the audio stream.
As if the server wasn’t able to analyze it fully, or as if thedatabase is damaged.
Did you recently update the Plex server version from a relatively old software version?