Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Gaming / Games / Multimedia / Entertainment > Matroska, no audio

Forgot Password?
 Gaming / Games / Multimedia / Entertainment   General discussion about Games, video, sound, multimedia, DVD's in Linux

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 04-23-2006   #1 (permalink)
Just Joined!
 
Join Date: Mar 2006
Posts: 6
Matroska, no audio

I have a problem with my matroska file, converted from an avi file. The sound in the avi file is fine, however there is no sound in matroska. It was working previously on another file, but I do not know having anything changed. I have tried to play it with different players, all play the video fine, but no audio at all.
When I look at the streaming info in xine, it reads:
Audio:
has: yes
handled: yes
ignore: no
codec: unavailable
fourcc: 0x0
channel: 0
bitrate: 0
bits: 0
samplerate: 0

vlc streaming info reads:
codec: mpga
language: francais
type: audio
channels: 2
sample rate: 44100 Hz

mplayer says:
[mkv] Track ID 1: video (V_MS/VFW/FOURCC), -vid 0
[mkv] Track ID 2: audio (A_MPEG/L3), -aid 0, -alang fre
[mkv] Track ID 3: audio (A_MPEG/L3), -aid 1, -alang ger
[mkv] Will play video track 1
[mkv] Will play audio track 2
Matroska file format detected.
VIDEO: [DIVX] 768x432 24bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s)
================================================== ========================
Trying to force audio codec driver family libmad...
Opening audio decoder: [libmad] libmad mpeg audio decoder

Too many video packets in the buffer: (1474 in 8422941 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
Cannot sync MAD frame
ADecoder init failed
ADecoder init failed
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3

Too many video packets in the buffer: (1474 in 8422941 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
ADecoder init failed
ADecoder init failed
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders

Too many video packets in the buffer: (1474 in 8422941 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [ffmp3] afm: ffmpeg (FFmpeg MPEG layer-3 audio decoder)
================================================== ========================
================================================== ========================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
================================================== ========================
alsa-init: 1 soundcard found, using: default
alsa: 44100 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 768 x 432 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [x11] 768x432 => 768x432 Planar YV12
SwScaler: using unscaled Planar YV12 -> BGRA special converter

Here is an excerpt of mkvinfo:
A track
| + Track number: 2
| + Track UID: 2381057695
| + 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_MPEG/L3
| + Codec decode all: 1
| + Default duration: 26.122ms (38.281 fps for a video track)
| + Language: fre
| + Audio track
| + Sampling frequency: 44100.000000
| + Channels: 2
| + A track
| + Track number: 3
| + Track UID: 1118514082
| + Track type: audio
| + Enabled: 1
| + Default flag: 0
| + Forced flag: 0
| + Lacing flag: 1
| + MinCache: 0
| + Timecode scale: 1.000000
| + Max BlockAddition ID: 0
| + Codec ID: A_MPEG/L3
| + Codec decode all: 1
| + Default duration: 26.122ms (38.281 fps for a video track)
| + Language: ger
| + Audio track
| + Sampling frequency: 44100.000000
| + Channels: 2

Any help is appreciated!!

Cheers,

Ahab
ahab is offline  


Reply With Quote
Old 04-23-2006   #2 (permalink)
Just Joined!
 
Join Date: Mar 2006
Posts: 6
Hi again,
I tried to extract the audio from the matroska file-it is empty! I used mmg to convert the avi to mkv, and
mkvextract tracks test.mkv 2:french
to extract the mp3 file-it has 0 MB! I tried to extract it directly from the avi using:
mkvextract tracks test.avi 2:french.mp3
here the answer:
(mkvextract) No segment/level 0 element found.
progress: 100%
any idea? It worked the other day so there seems to be a problem. But not even re-installation fixes the problem
Cheers,

ahab
ahab is offline   Reply With Quote
Old 08-04-2007   #3 (permalink)
Just Joined!
 
samurailink3's Avatar
 
Join Date: Oct 2006
Location: US
Posts: 21
Send a message via AIM to samurailink3 Send a message via MSN to samurailink3 Send a message via Yahoo to samurailink3 Send a message via Skype™ to samurailink3
I'm having the same problem with an mkv file. Any ideas? Used VLC, totem (with added codecs), Mplayer.
samurailink3 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 11:36 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2