Page 1 of 1

MKV Sound Issues

Posted: 20 Feb 2008 09:35
by Dragonxpert
I hope this is the right place to post this. Anyways, I am not getting any sound on most of the mkv files I play in vlc. The few that I do, three that I know of, have choppy playback, but that isn't the concern of this post. The files that do not have sound have the following Stream and Media info:

Stream 0
-Codec: h264
-Language:
-Type: Video
-Resolution: (varies)

Stream 1
-Codec: undf
-Language:
-Type: Audio
-Channels: 2
-Sample rate: 44100Hz

General
-Duration: (varies)

I am running the most updated version of openSUSE GNOME, if that is of any help. Thank you in advance for help.

Re: MKV Sound Issues

Posted: 20 Feb 2008 11:40
by Jean-Baptiste Kempf
Can you analyse the file or give us different messages? Or give us the sample ?

Re: MKV Sound Issues

Posted: 20 Feb 2008 16:48
by Dragonxpert
I'm not quite sure how to "analyze" the file, but I did upload a copy of it to the internet:
http://www.mediafire.com/?cbk5dlem51s

EDIT:
I think this may have been what you meant.

$ mkvinfo ZELDA_RETROSPECTIVE.mkv
+ EBML head
|+ Doc type: matroska
|+ Doc type version: 1
|+ Doc type read version: 1
+ Segment, size 547479259
|+ Seek head (subentries will be skipped)
|+ EbmlVoid (size: 64)
|+ Segment information
| + Timecode scale: 1000000
| + Muxing application: libebml v0.7.7 + libmatroska v0.8.1
| + Writing application: mkvmerge v2.1.0 ('Another Place To Fall') built on Aug 19 2007 10:46:59
| + Duration: 3017.134s (00:50:17.134000000)
| + Date: Wed Nov 21 22:32:08 2007 UTC
| + Segment UID: 0x42 0x65 0x65 0x5e 0x70 0xd5 0xbb 0x61 0x8a 0x7d 0x05 0x9f 0xe9 0xee 0xd7 0x64
|+ Segment tracks
| + A track
| + Track number: 1
| + Track UID: 3498507468
| + Track type: video
| + Enabled: 1
| + Default flag: 1
| + Forced flag: 0
| + Lacing flag: 0
| + MinCache: 1
| + Timecode scale: 1.000000
| + Max BlockAddition ID: 0
| + Codec ID: V_MPEG4/ISO/AVC
| + Codec decode all: 1
| + CodecPrivate, length 38
| + Default duration: 33.367ms (29.970 fps for a video track)
| + Language: und
| + Video track
| + Pixel width: 704
| + Pixel height: 480
| + Interlaced: 0
| + Display width: 704
| + Display height: 540
| + A track
| + Track number: 2
| + Track UID: 2542842841
| + Track type: audio
| + Enabled: 1
| + Default flag: 1
| + Forced flag: 0
| + Lacing flag: 1
| + MinCache: 0
| + Timecode scale: 1.000000
| + Max BlockAddition ID: 0
| + Codec ID: A_VORBIS
| + Codec decode all: 1
| + CodecPrivate, length 4303
| + Language: und
| + Audio track
| + Sampling frequency: 44100.000000
| + Channels: 2
|+ Attachments
| + Attached
| + File name: tags file
| + Mime type: RFC3023
| + File data, size: 196
| + File UID: 2894443474
| + File description: This video has been downloaded from Vuze.com using Azureus
|+ Cues (subentries will be skipped)
|+ EbmlVoid (size: 59)
|+ Seek head (subentries will be skipped)
|+ EbmlVoid (size: 59)
|+ Cluster

Re: MKV Sound Issues

Posted: 21 Feb 2008 08:55
by Jean-Baptiste Kempf
OK, can you give us the sample?

What I read is that we don't support Vorbis in MKV.

Re: MKV Sound Issues

Posted: 22 Feb 2008 09:40
by Dragonxpert
By sample you mean the file, right? If so, there's a link in my previous post.

Re: MKV Sound Issues

Posted: 21 Sep 2008 01:18
by sprockkets
I have the same issue with 0.9.2 in SuSE Linux 11 on a 686 install from the skynet vlc ftp server.

On Linux, if I play a file I encoded with mkv, the video which is x264 plays fine, but the audio will not, with the error "No suitable decoder module:
VLC does not support the audio or video format "undf". Unfortunately there is no way for you to fix this." Under codec information, it says under Stream 1 that the codec is "undf" and the language is blank, with no vorbis comment.

But the same file under Windows (to clarify, this is using VLC 0.9.2 for 32bit XP to play the file) plays fine with it detecting the codec properly as vorb, and then says after that, the vorbis comment with the encoder as avidemux2.

If I play a file with the same codecs but using a OGM container, it detects fine on either OS.

I find it weird that the Linux version has an issue with mkv and Windows doesn't.The same file plays fine with mplayer under Linux.

I guess this question I posted was banned due to it being on the gen forum.