FAQ  •  Register  •  Login

I need help with an unplayable MKV

<<

AngelusRice

Serviio newbie

Posts: 4

Joined: Sun Mar 19, 2023 4:09 pm

Post Sun Mar 19, 2023 4:19 pm

I need help with an unplayable MKV

Hello friends, I hope you can guide me here because I have no idea why this file is not playable in my LG UH610V.

I leave you mediainfo output

  Code:
General
UniqueID/String                  : 188082165241543815255582205112560274175 (0x8D7F4EB20DCFFBC3C9BD54A8BB8E4AFF)
CompleteName                     : D:\Torrents\Movie.mkv
Format/String                    : Matroska
Format_Version                   : Version 4
FileSize/String                  : 9.43 GiB
Duration/String                  : 1 h 47 min
OverallBitRate/String            : 12.6 Mb/s
Movie                            : MovieName
Encoded_Date                     : UTC 2023-01-01 16:33:06
Encoded_Application/String       : mkvmerge v47.0.0 ('Black Flag') 64-bit
Encoded_Library/String           : libebml v1.3.10 + libmatroska v1.5.2

Video
ID/String                        : 1
Format/String                    : AVC
Format/Info                      : Advanced Video Codec
Format_Profile                   : High@L4.1
Format_Settings                  : CABAC / 4 Ref Frames
Format_Settings_CABAC/String     : Yes
Format_Settings_RefFrames/String : 4 frames
CodecID                          : V_MPEG4/ISO/AVC
Duration/String                  : 1 h 47 min
BitRate/String                   : 11.5 Mb/s
Width/String                     : 1 920 pixels
Height/String                    : 960 pixels
DisplayAspectRatio/String        : 2.000
FrameRate_Mode/String            : Constant
FrameRate/String                 : 23.976 (24000/1001) FPS
ColorSpace                       : YUV
ChromaSubsampling/String         : 4:2:0
BitDepth/String                  : 8 bits
ScanType/String                  : Progressive
Bits-(Pixel*Frame)               : 0.260
StreamSize/String                : 8.62 GiB (91%)
Title                            : MovieName
Encoded_Library/String           : x264 core 148 r2795M aaa9aa8
Encoded_Library_Settings         : cabac=1 / ref=4 / deblock=1:-2:-2 / analyse=0x3:0x113 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=24 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=2pass / mbtree=1 / bitrate=11500 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=31250 / vbv_bufsize=31250 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00
Language/String                  : Spanish
Default/String                   : Yes
Forced/String                    : No

Audio #1
ID/String                        : 2
Format/String                    : AC-3
Format/Info                      : Audio Coding 3
Format_Commercial_IfAny          : Dolby Digital
CodecID                          : A_AC3
Duration/String                  : 1 h 47 min
BitRate_Mode/String              : Constant
BitRate/String                   : 640 kb/s
Channel(s)/String                : 6 channels
ChannelLayout                    : L R C LFE Ls Rs
SamplingRate/String              : 48.0 kHz
FrameRate/String                 : 31.250 FPS (1536 SPF)
Compression_Mode/String          : Lossy
Video_Delay/String               : 10 s 300 ms
StreamSize/String                : 490 MiB (5%)
Title                            : MovieName
Language/String                  : Spanish
ServiceKind/String               : Complete Main
Default/String                   : Yes
Forced/String                    : No

Audio #2
ID/String                        : 3
Format/String                    : AC-3
Format/Info                      : Audio Coding 3
Format_Commercial_IfAny          : Dolby Digital
CodecID                          : A_AC3
Duration/String                  : 1 h 47 min
BitRate_Mode/String              : Constant
BitRate/String                   : 448 kb/s
Channel(s)/String                : 6 channels
ChannelLayout                    : L R C LFE Ls Rs
SamplingRate/String              : 48.0 kHz
FrameRate/String                 : 31.250 FPS (1536 SPF)
Compression_Mode/String          : Lossy
StreamSize/String                : 344 MiB (4%)
Title                            : MovieName
Language/String                  : English
ServiceKind/String               : Complete Main
Default/String                   : No
Forced/String                    : No

Text #1
ID/String                        : 4
Format/String                    : UTF-8
CodecID                          : S_TEXT/UTF8
CodecID/Info                     : UTF-8 Plain Text
Duration/String                  : 1 h 15 min
BitRate/String                   : 1 b/s
FrameRate/String                 : 0.005 FPS
ElementCount                     : 23
StreamSize/String                : 942 Bytes (0%)
Title                            : MovieName
Language/String                  : Spanish
Default/String                   : Yes
Forced/String                    : No

Text #2
ID/String                        : 5
Format/String                    : UTF-8
CodecID                          : S_TEXT/UTF8
CodecID/Info                     : UTF-8 Plain Text
Duration/String                  : 1 h 41 min
BitRate/String                   : 45 b/s
FrameRate/String                 : 0.189 FPS
ElementCount                     : 1146
StreamSize/String                : 34.1 KiB (0%)
Title                            : MovieName
Language/String                  : Spanish
Default/String                   : No
Forced/String                    : No

Text #3
ID/String                        : 6
Format/String                    : UTF-8
CodecID                          : S_TEXT/UTF8
CodecID/Info                     : UTF-8 Plain Text
Duration/String                  : 1 h 41 min
BitRate/String                   : 42 b/s
FrameRate/String                 : 0.183 FPS
ElementCount                     : 1109
StreamSize/String                : 31.3 KiB (0%)
Title                            : MovieName
Language/String                  : English
Default/String                   : No
Forced/String                    : No
<<

atc98092

User avatar

DLNA master

Posts: 5212

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Sun Mar 19, 2023 9:27 pm

Re: I need help with an unplayable MKV

In theory that should play just fine. It's H.264 video and AC3 audio, both which should play on an LG TV. Sometimes you can simply remux a file and get it to play. You can download a free program called tsMuxeR and run it through that and see if that clears it up. It would take a couple of minutes to remux, as it's not processing the video or audio in any way.

If that doesn't work, you could try using Handbrake and completely reprocess the file. You can leave the video and audio alone, or change to different codecs. Handbrake is also free, but it does take some time to recode the file.
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 16 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

AngelusRice

Serviio newbie

Posts: 4

Joined: Sun Mar 19, 2023 4:09 pm

Post Sun Mar 19, 2023 11:20 pm

Re: I need help with an unplayable MKV

atc98092 wrote:In theory that should play just fine. It's H.264 video and AC3 audio, both which should play on an LG TV. Sometimes you can simply remux a file and get it to play. You can download a free program called tsMuxeR and run it through that and see if that clears it up. It would take a couple of minutes to remux, as it's not processing the video or audio in any way.

If that doesn't work, you could try using Handbrake and completely reprocess the file. You can leave the video and audio alone, or change to different codecs. Handbrake is also free, but it does take some time to recode the file.


Thanks for you answer, I have already tested with handbrake before and I wasn't able to fix this issue. Tried mp4, h.264, aac audio, no subtitles, even lower bitrate around 8Mb/s and the problem is still there so I have no clue why because other mkv with similar codecs seem to work flawlessly. I have even tried with different profiles on serviio, the generic one is usually good for me but this isn't working for some reason.

Example of the mp4 created with handbrake

  Code:
General
Complete name                            : D:\Torrents\Movie.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (mp42/iso2/avc1/mp41)
File size                                : 6.12 GiB
Duration                                 : 1 h 47 min
Overall bit rate                         : 8 159 kb/s
Movie name                               : MovieName
Encoded date                             : UTC 2023-03-18 11:16:46
Tagged date                              : UTC 2023-03-18 11:16:46
Writing application                      : HandBrake 1.6.1 2023012300

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Main@L4
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 4 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 1 h 47 min
Bit rate                                 : 7 990 kb/s
Width                                    : 1 920 pixels
Height                                   : 960 pixels
Display aspect ratio                     : 2.000
Frame rate mode                          : Variable
Frame rate                               : 23.976 (24000/1001) FPS
Minimum frame rate                       : 23.974 FPS
Maximum frame rate                       : 23.981 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.181
Stream size                              : 5.99 GiB (98%)
Writing library                          : x264 core 164 r3100 ed0f7a6
Encoding settings                        : cabac=1 / ref=2 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=6 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=18 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=1 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=30 / rc=2pass / mbtree=1 / bitrate=8000 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=20000 / vbv_bufsize=25000 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00
Encoded date                             : UTC 2023-03-18 11:16:46
Tagged date                              : UTC 2023-03-18 11:16:46
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709
mdhd_Duration                            : 6440308
Codec configuration box                  : avcC

Audio
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 1 h 47 min
Source duration                          : 1 h 47 min
Bit rate mode                            : Constant
Nominal bit rate                         : 162 kb/s
Maximum bit rate                         : 162 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Source stream size                       : 124 MiB (2%)
Title                                    : MovieName
Language                                 : Spanish
Default                                  : Yes
Alternate group                          : 1
Encoded date                             : UTC 2023-03-18 11:16:46
Tagged date                              : UTC 2023-03-18 11:16:46]


I will try with tsMuxeR anyway to see if its of use for this case but I am afraid it won't solve the problem if handbrake didn't work.


This is the info I get from device spy in case it can help to identify the problem

  Code:
http-get:*:audio/L16;rate=44100;channels=1:DLNA.ORG_PN=LPCM,
http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM,
http-get:*:audio/mpeg:DLNA.ORG_PN=MP3,
http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_SM,
http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_MED,
http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_LRG,
http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_TN,
http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_LRG_ICO,
http-get:*:image/png:DLNA.ORG_PN=PNG_TN,
http-get:*:image/png:DLNA.ORG_PN=PNG_SM_ICO,
http-get:*:image/png:DLNA.ORG_PN=PNG_LRG_ICO,
http-get:*:image/png:DLNA.ORG_PN=PNG_LRG,
http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_CIF15_AAC_520,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_NTSC,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_KO,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_KO_T,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_HD_KO_ISO,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_KO,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_KO_T,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_KO_ISO,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_NA,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_NA_T,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_HD_NA_ISO,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA_T,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_NA_ISO,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU_T,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_EU_ISO,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_JP_T,
http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVHIGH_FULL,
http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVHIGH_PRO,
http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVMED_BASE,
http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVMED_FULL,
http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVMED_PRO,
http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE,
http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL,
http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS_320,
http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO_320,
http-get:*:audio/mp3:*,
http-get:*:audio/mpeg:*,
http-get:*:audio/wav:*,
http-get:*:audio/mpeg3:*,
http-get:*:video/x-ms-wmv:*,
http-get:*:video/x-ms-asf:*,
http-get:*:video/x-ms-avi:*,
http-get:*:video/mpeg:*,
http-get:*:video/avi:*,
http-get:*:video/mp4:*,
http-get:*:video/x-matroska:*,
http-get:*:image/jps:*,
http-get:*:image/x-jps:*,
http-get:*:image/mpo:*,
http-get:*:image/png:*,
http-get:*:image/bmp:*,
http-get:*:image/jpeg:*,
http-get:*:audio/x-wav:*,
http-get:*:audio/wma:*,
http-get:*:audio/x-ogg:*,
http-get:*:video/mts:*,
http-get:*:video/mp2ts:*,
http-get:*:video/mp2t:*,
http-get:*:video/x-msvideo:*,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_NA_T,
http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_NA_ISO,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_NA_ISO
<<

atc98092

User avatar

DLNA master

Posts: 5212

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Sun Mar 19, 2023 11:46 pm

Re: I need help with an unplayable MKV

If Handbrake was unable to resolve it, my guess is there's some sort of DRM embedded in the video. DRM is digital rights management, and if it has that, it's likely only playable with whatever it was designed for. I noticed your file is in a folder labeled Torrents. Assuming you downloaded from some site, it's highly likely that DRM is somehow involved, and without knowing exactly where it came from it's impossible to know if it can be cracked. Some video files with DRM can be unlocked, such as iTunes video. But you have to know what it is before you can determine if it can be unlocked.
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 16 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

AngelusRice

Serviio newbie

Posts: 4

Joined: Sun Mar 19, 2023 4:09 pm

Post Mon Mar 20, 2023 2:57 pm

Re: I need help with an unplayable MKV

atc98092 wrote:If Handbrake was unable to resolve it, my guess is there's some sort of DRM embedded in the video. DRM is digital rights management, and if it has that, it's likely only playable with whatever it was designed for. I noticed your file is in a folder labeled Torrents. Assuming you downloaded from some site, it's highly likely that DRM is somehow involved, and without knowing exactly where it came from it's impossible to know if it can be cracked. Some video files with DRM can be unlocked, such as iTunes video. But you have to know what it is before you can determine if it can be unlocked.


Following this DRM theory does it make sense that I can play it on my computer then ? I would find it weird to be honest. I have tried tsMuxer and noticed that the program fails to recognise the spanish audio track, could audio bitrate be the problem ? After using tsMuxer the movie is playable on the TV , I have to check if I can fix this audio issue in handbrake.
<<

AngelusRice

Serviio newbie

Posts: 4

Joined: Sun Mar 19, 2023 4:09 pm

Post Mon Mar 20, 2023 7:18 pm

Re: I need help with an unplayable MKV

Problem solved, for whatever reason as I said before, one of the audio tracks was the issue, it was 5.1 with multiple tracks inside it so I ended up converting the audio to aac with audacity and then I added it back to the mkv with mkvtoolnix. I tried different combinations with tsmuxer but the audio wasn't playing on tv , that's why I ended up using mkvtoolnix. Thanks for the help
<<

atc98092

User avatar

DLNA master

Posts: 5212

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Mon Mar 20, 2023 11:04 pm

Re: I need help with an unplayable MKV

Nah, the audio bitrate wouldn't have been an issue to the best of my knowledge. I'm glad you found a way around it. A bit of work, but probably worth it in the end for ya!
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 16 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

J4ZZ

Serviio newbie

Posts: 1

Joined: Sun Apr 30, 2017 5:45 pm

Post Mon Mar 27, 2023 8:30 pm

Re: I need help with an unplayable MKV

AngelusRice wrote:Problem solved, for whatever reason as I said before, one of the audio tracks was the issue, it was 5.1 with multiple tracks inside it so I ended up converting the audio to aac with audacity and then I added it back to the mkv with mkvtoolnix. I tried different combinations with tsmuxer but the audio wasn't playing on tv , that's why I ended up using mkvtoolnix. Thanks for the help


Hi, I had the same problem with my LG and finally found the reason/solution (I had this issue several times)
It's the audio Delay being more then 10 seconds ->
Delay : 10 s 300 ms

Every Audio Delay in a MKV with more than 4-digits (in milliseconds) seems to give the playback error...
My fix for this is to extract the respective AC3-track and fix the delay by adding it as silence to the beginning of the track using eac3to.

Example:

eac3to your_spanish.ac3 spanish_delayfix.ac3 +10300ms -silence

Now re-add the Audio-Track (MKVToolNix) and the MKV will play fine.

Regards
Last edited by J4ZZ on Mon Mar 27, 2023 10:38 pm, edited 1 time in total.
<<

atc98092

User avatar

DLNA master

Posts: 5212

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Mon Mar 27, 2023 8:36 pm

Re: I need help with an unplayable MKV

Nice find J4ZZ. :D
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 16 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

HOWTO: Enable debug logging HOWTO: Identify media file contents

Return to LG

Who is online

Users browsing this forum: No registered users and 9 guests

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