Forum archive - No sound from matroska file with h264 audio.

http://www.supermediastore.com/



Forum Archive Home -> ffmpegX general discussion -> No sound from matroska file with h264 audio.



No sound from matroska file with h264 audio.

anarchyx34 posted 2009 Oct 27 21:58
Ok this is a weird one. I dont know why people have to use bizzare combinations when they encode files.

The file is a .mp4:

FFMPEGX shows this in the summary:
From: Matroska
Video: h264, yuv420p, 1280x720
Audio: h264, 48000hz, stereo.

I'm trying to convert this to a 'normal' format with the subtitle track burned into the video. I'm getting no sound. I've never heard of H264 audio, nor have I heard of a Matroska file with a .mp4 extension.

Here's the beginning of the log file:
Encoding started on Tue Oct 27 22:56:14 EDT 2009
FIXME:Hardenabling SSE and SSE2 without detection
MEncoder dev-CVS-060307-04:23-4.0.1 (C) 2000-2006 MPlayer Team
Mac OSX static build for ffmpegX
CPU: Intel (Family: 6, Stepping: 8)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
success: format: 0 data: 0x0 - 0x107b4744
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
[mkv] Track ID 2: audio (A_AAC), -aid 0, -alang und
[mkv] Track ID 3: subtitles (S_TEXT/ASS), -sid 0, -slang und
[mkv] Will play video track 1
[mkv] No audio track found/wanted.
Matroska file format detected.
VIDEO: [avc1] 1280x720 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:31 fourcc:0x31637661 size:1280x720 fps:23.98 ftime:=0.0417
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [scale w=1280 h=720]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Forcing output fourcc to 58564944 [DIVX]
VDec: vo config request - 1280 x 720 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
SwScaler: using unscaled Planar YV12 -> Planar YV12 special converter
videocodec: libavcodec (1280x720 fourcc=58564944 [DIVX])
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.


These videos are hard to find so just downloading something in another format isn't going to be easy.

Oddly enough VLC plays it just fine with sound and everything. In fact I tried to use the lousy transcoding feature of VLC and it did the same thing. No sound.



Case posted 2009 Oct 28 13:02
You could try MKVToolnix (it has a Mac GUI app in the "second package", which installs as MkvMerge.app) to fix the MKV into something ffmpegX recognizes better. Try specifying the correct audio codec (I think the FourCC for AAC audio is "mp4a") or something and save to a new file.


jman98 posted 2009 Oct 28 14:09
You have AAC audio. Here's your clue:

anarchyx34 :

[mkv] Track ID 2: audio (A_AAC), -aid 0, -alang und



anarchyx34 posted 2009 Oct 29 15:33
Interesting. So it's AAC audio and for some reason FFMPEGX sees it as h264. Any way to force it to read it as AAC?



Login/Register to our forum to be able to post here.








DVDFab DVD to DVD and Blu-ray to Blu-ray offers a 20% discount until Nov 22, 2009. More info or download trial!
About   Advertise   Forum Archive   RSS Feeds   Statistics