FAQ  •  Register  •  Login

[SOLVED] MKV Movie wont play audio or video

<<

mudplug

Serviio newbie

Posts: 8

Joined: Sun Oct 02, 2011 3:18 am

Post Sun Oct 02, 2011 6:08 am

[SOLVED] MKV Movie wont play audio or video

Hiya guys and gals

Been using serviio for ages now, this is the first time it would not play a movie for me. My son is driving me crazy he wants to watch it :roll: It tells me unsupported audio and then unsuppoerted video on the TV. I attached the movie info Im using WIN 7 64bit edition. Any help would be appriciated. Thanks in advance

fmpeg -i Transformer.3.Dark.Of.The.Moon.2011.1080p.mkv
ffmpeg version N-33195-gedf1a8e, Copyright (c) 2000-2011 the FFmpeg developers
built on Oct 1 2011 16:32:11 with gcc 4.6.1
configuration: --enable-gpl --enable-version3 --enable-runtime-cpudetect --ena
ble-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --ena
ble-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --en
able-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
--enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib

libavutil 51. 18. 0 / 51. 18. 0
libavcodec 53. 19. 0 / 53. 19. 0
libavformat 53. 13. 0 / 53. 13. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 43. 6 / 2. 43. 6
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0

Seems stream 0 codec frame rate differs from container frame rate: 47.95 (5994/1
25) -> 23.98 (24000/1001)
Input #0, matroska,webm, from 'Transformer.3.Dark.Of.The.Moon.2011.1080p.mkv':
Duration: 02:34:23.29, start: 0.000000, bitrate: 25652 kb/s
Stream #0:0(eng): Video: h264 (High), yuv420p, 1920x800 [SAR 1:1 DAR 12:5],
23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Stream #0:1(eng): Audio: truehd, 48000 Hz, 7.1, s32
Stream #0:2(eng): Audio: ac3, 48000 Hz, 5.1(side), s16, 640 kb/s (default)
Stream #0:3(fre): Audio: ac3, 48000 Hz, 5.1(side), s16, 640 kb/s
Stream #0:4(eng): Subtitle: text (default)
Stream #0:5(fre): Subtitle: text
At least one output file must be specified

General
Unique ID : 243546024182385447541217738491110598006 (0xB7394211978815E98A6DE84F9147A576)
Complete name : D:\Transformer.3.Dark.Of.The.Moon.2011.1080p.mkv
Format : Matroska
Format version : Version 2
File size : 27.7 GiB
Duration : 2h 34mn
Overall bit rate mode : Variable
Overall bit rate : 25.7 Mbps
Encoded date : UTC 2011-09-27 04:21:43
Writing application : mkvmerge v5.0.0 ('Die Wahre Liebe') built on Sep 25 2011 20:33:49
Writing library : libebml v1.2.2 + libmatroska v1.3.0

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Muxing mode : Header stripping
Codec ID : V_MPEG4/ISO/AVC
Duration : 2h 34mn
Nominal bit rate : 20.0 Mbps
Width : 1 920 pixels
Height : 800 pixels
Display aspect ratio : 2.40:1
Frame rate mode : Variable
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.543
Writing library : x264 core 115 r1947 b5a8ad7
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / 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=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=2pass / mbtree=1 / bitrate=20000 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
Language : English

Audio #1
ID : 2
Format : TrueHD
Codec ID : A_TRUEHD
Duration : 2h 34mn
Bit rate mode : Variable
Maximum bit rate : 6 048 Kbps
Channel(s) : 8 channels
Channel positions : Front: L C R, Side: L R, Back: L R, LFE
Sampling rate : 48.0 KHz
Compression mode : Lossless
Language : English

Audio #2
ID : 3
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Muxing mode : Header stripping
Codec ID : A_AC3
Duration : 2h 34mn
Bit rate mode : Constant
Bit rate : 640 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 707 MiB (2%)
Language : English

Audio #3
ID : 4
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Muxing mode : Header stripping
Codec ID : A_AC3
Duration : 2h 34mn
Bit rate mode : Constant
Bit rate : 640 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 707 MiB (2%)
Language : French

Text #1
ID : 5
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Language : English

Text #2
ID : 6
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Language : French
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Sun Oct 02, 2011 10:34 am

Re: MKV Movie wont play audio or video

find

  Code:
<Matches container="matroska" vCodec="h264" aCodec="vorbis" />


and add this under it

  Code:
<Matches container="matroska" vCodec="h264" aCodec="truehd" />


now restart serviio COMPLETELY or restart pc/server running serviio
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

mudplug

Serviio newbie

Posts: 8

Joined: Sun Oct 02, 2011 3:18 am

Post Mon Oct 03, 2011 5:25 am

Re: MKV Movie wont play audio or video

Thankyou done that,

Now I get "not supported file format" Any ideas thanks.
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Mon Oct 03, 2011 5:28 am

Re: MKV Movie wont play audio or video

mudplug wrote:Thankyou done that,

Now I get "not supported file format" Any ideas thanks.


restart serviio completely cause that file should be supported now as we have transcoded it.
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

mudplug

Serviio newbie

Posts: 8

Joined: Sun Oct 02, 2011 3:18 am

Post Mon Oct 03, 2011 5:33 am

Re: MKV Movie wont play audio or video

Thanks I did do a complete shutdown and restart of the computer as recommended from your first post. I will try again thanks for your help.
<<

Grumpa

Serviio newbie

Posts: 7

Joined: Sun Feb 20, 2011 3:14 am

Post Mon Oct 03, 2011 3:44 pm

Re: MKV Movie wont play audio or video

My Samsung C series player won't play any files with header stripping. So far the only solution for me has been to remux with mkvmerge v4.0 Later versions all enable header stripping by default and I haven't figured out how to tunr it off yet. :(
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Mon Oct 03, 2011 4:24 pm

Re: MKV Movie wont play audio or video

Grumpa wrote:... with mkvmerge v4.0 Later versions all enable header stripping by default and I haven't figured out how to tunr it off yet. :(

viewtopic.php?f=6&t=1132
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
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Mon Oct 03, 2011 4:58 pm

Re: MKV Movie wont play audio or video

Seems to me there are a number of problems:
1. A bit rate of 25Mbps for an AVC video is excessive, and will not play across a network. 6-8Mbps will hold the quality and play across a network.
2. The framerate of 47 does not match the stream. My samsung BR will not play .mkv files > 30fps
3. All the streams are header stripped which creates problems.
<<

Grumpa

Serviio newbie

Posts: 7

Joined: Sun Feb 20, 2011 3:14 am

Post Mon Oct 03, 2011 6:19 pm

Re: MKV Movie wont play audio or video

Illico wrote:
Grumpa wrote:... with mkvmerge v4.0 Later versions all enable header stripping by default and I haven't figured out how to tunr it off yet. :(

viewtopic.php?f=6&t=1132


Thanks Illico, setting Compression to "none" under mkvmerge 5.0 solved the header stripping problem and allowed the file to be played. There was another issue which will be another subject.
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Mon Oct 03, 2011 7:09 pm

Re: MKV Movie wont play audio or video

jhb50 wrote:Seems to me there are a number of problems:
1. A bit rate of 25Mbps for an AVC video is excessive, and will not play across a network. 6-8Mbps will hold the quality and play across a network.
2. The framerate of 47 does not match the stream. My samsung BR will not play .mkv files > 30fps
3. All the streams are header stripped which creates problems.




1. The file is transcoded so thats not an issue.

2/3. Bugger i didnt notice it had header compression my bad :oops:
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

mudplug

Serviio newbie

Posts: 8

Joined: Sun Oct 02, 2011 3:18 am

Post Tue Oct 04, 2011 5:10 am

Re: MKV Movie wont play audio or video

Cerberus wrote:
jhb50 wrote:Seems to me there are a number of problems:
1. A bit rate of 25Mbps for an AVC video is excessive, and will not play across a network. 6-8Mbps will hold the quality and play across a network.
2. The framerate of 47 does not match the stream. My samsung BR will not play .mkv files > 30fps
3. All the streams are header stripped which creates problems.




1. The file is transcoded so thats not an issue.

2/3. Bugger i didnt notice it had header compression my bad :oops:


This is great info thanks, so I can remove the header with mkvtoolnix?? What do I do about the framerate??

Thanks.
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Tue Oct 04, 2011 5:18 am

Re: MKV Movie wont play audio or video

mudplug wrote:
Cerberus wrote:
jhb50 wrote:Seems to me there are a number of problems:
1. A bit rate of 25Mbps for an AVC video is excessive, and will not play across a network. 6-8Mbps will hold the quality and play across a network.
2. The framerate of 47 does not match the stream. My samsung BR will not play .mkv files > 30fps
3. All the streams are header stripped which creates problems.




1. The file is transcoded so thats not an issue.

2/3. Bugger i didnt notice it had header compression my bad :oops:


This is great info thanks, so I can remove the header with mkvtoolnix?? What do I do about the framerate??

Thanks.



framerate wont be an issue as we are transcoding the file to make it play anyways.
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

mudplug

Serviio newbie

Posts: 8

Joined: Sun Oct 02, 2011 3:18 am

Post Tue Oct 04, 2011 8:33 am

Re: MKV Movie wont play audio or video

OK got a bit of headway, used mkvmerge to sort out headers and got the movie to play. But Im getting audio codec not supported, Im so close I can smell it :roll: :roll: Any Ideas.

Thanks.
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Tue Oct 04, 2011 8:52 am

Re: MKV Movie wont play audio or video

mudplug wrote:OK got a bit of headway, used mkvmerge to sort out headers and got the movie to play. But Im getting audio codec not supported, Im so close I can smell it :roll: :roll: Any Ideas.

Thanks.

Truehd must be transcoded....(see cerberus previous post)

or

re-use mkvmerge and remux the audio tracks to put the ac3-5.1 in first position.
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
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Tue Oct 04, 2011 6:52 pm

Re: MKV Movie wont play audio or video

in profile.XML file

find

  Code:
<Matches container="matroska" vCodec="h264" aCodec="vorbis" />


and add this under it

  Code:
<Matches container="matroska" vCodec="h264" aCodec="truehd" />


or just replace your old Profiels.xml file with this one

profiles.xml
(55.14 KiB) Downloaded 828 times
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

mudplug

Serviio newbie

Posts: 8

Joined: Sun Oct 02, 2011 3:18 am

Post Wed Oct 05, 2011 6:02 am

Re: MKV Movie wont play audio or video

Thank you cerb replaced the proileand restarted serviio, video works still audio not supported. Remuxed and put the AC3 audio tracks at the top now I get unsupported video data?? Argggggh
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Wed Oct 05, 2011 12:58 pm

Re: MKV Movie wont play audio or video

mudplug wrote:Thank you cerb replaced the proileand restarted serviio, video works still audio not supported. Remuxed and put the AC3 audio tracks at the top now I get unsupported video data?? Argggggh

Could you enable detailed logging (see signature), clean log file, restart serviio then start to stream the file (with cerb replaced profile), then post the log here?
Could you post "ffmpeg -i" of your remuxed file (the one with ac3 in first position)?
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
<<

mudplug

Serviio newbie

Posts: 8

Joined: Sun Oct 02, 2011 3:18 am

Post Fri Oct 07, 2011 9:05 am

Re: MKV Movie wont play audio or video

Thank all for your help got it working after a little remuxing and updating the Profile.
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Fri Oct 07, 2011 10:29 am

Re: MKV Movie wont play audio or video

mudplug wrote:Thank all for your help got it working after a little remuxing and updating the Profile.

Cool, but:
Please, could you explain in details?
little remuxing ?
updating profile?
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
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Fri Oct 07, 2011 11:17 am

Re: MKV Movie wont play audio or video

sounds like teh trueHD intergration isnt working, maybe i need to test that but i dont have a trueHD file to play with.
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
Next

Return to Samsung

Who is online

Users browsing this forum: No registered users and 26 guests

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