Log in

View Full Version : Mac OS X, ffmpegX, mencoder & Mkv with DTS audio


Ingemar
28th May 2007, 09:11
I've got an MKV with V_MPEG4/ISO/AVC video and A_DTS audio track. I cannot stream MKV's to my home theater system so I am trying to convert it to an AVI mpeg4 with mp3 or AC3 audio, or possibly passthrough the DTS stream. Whatever I do I never have audio. I see errors in the log but I'm unsure how to fix them.

Could someone have a look at the log and explain to me how I can fix this?

FIXME:Hardenabling SSE and SSE2 without detection
Mon May 28 10:04:56 CEST 2007
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: 6)
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
Cannot find codec 'dts' in libavcodec...
init_freetype
get_path('font/font.desc') -> '/Users/Ingemar/.mplayer/font/font.desc'
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
[file] File size is 4636901985 bytes
STREAM: [file] /Volumes/Media/Extracted/LOTR-TT-part1/part1.mkv
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
ADecoder init failed :(
No accelerated IMDCT transform found
LAME 3.98 (alpha 3, Apr 14 2006 03:50:35) 32bits (http://www.mp3dev.org/)
warning: alpha versions should be used for testing only
Using polyphase lowpass filter, transition band: 16452 Hz - 17032 Hz
misc:
scaling: 0.95
ch0 (left) scaling: 0
ch1 (right) scaling: 0
filter type: 0
quantization: xr^3/4
huffman search: normal
experimental Y=0
...
stream format:
MPEG-1 Layer 3
2 channel - joint stereo
padding: off
data: 0x0 - 0x14618261
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
[mkv] Found the head...
[mkv] + a segment...
[mkv] /---- [ parsing seek head ] ---------
[mkv] /---- [ parsing seek head ] ---------
[mkv] \---- [ parsing seek head ] ---------
[mkv] /---- [ parsing cues ] -----------
[mkv] \---- [ parsing cues ] -----------
[mkv] \---- [ parsing seek head ] ---------
[mkv] |+ segment information...
[mkv] | + timecode scale: 1000000
...
psychoacoustic:
using psychoacoustic model: 1
psychoacoustic model: NSPsytune
tonality estimation limit: 8871.700195 Hz (not relevant)
using short blocks: channel coupled
subblock gain: 1
adjust masking: 0 dB
adjust masking short: 0 dB
quantization comparison: 9
^ comparison short blocks: 9
noise shaping: 2
^ amplification: 0
^ stopping: 0
ATH: using
^ type: 4
^ shape: 4 (only for type 4)
^ level adjustement: -0.3
^ adjust type: 3
^ adjust sensitivity power: 1.000000
| + duration: 6767.760s
[mkv] |+ segment tracks...
[mkv] | + a track...
[mkv] | + Track number: 1
[mkv] | + Track type: Video
[mkv] | + Default flag: 1
[mkv] | + Codec ID: V_MPEG4/ISO/AVC
[mkv] | + CodecPrivate, length 39
[mkv] | + Default duration: 41.708ms ( = 23.976 fps)
[mkv] | + Language: eng
[mkv] | + Video track
[mkv] | + Pixel width: 1280
[mkv] | + Pixel height: 528
[mkv] | + Display width: 80
[mkv] | + Display height: 33
[mkv] | + a track...
[mkv] | + Track number: 2
^ adapt threshold type: 2
experimental psy tunings by Naoki Shibata
adjust masking bass=0 dB, alto=0 dB, treble=0 dB, sfb21=0 dB
using temporal masking effect: yes
interchannel masking ratio: 0.0002
...
MP3 audio selected
[format] Sample format big-endian AC3 not yet supported
[libaf] Reinitialization did not work, audio filter 'format' returned error code -2
Couldn't find matching filter/ao format!
rack type: Audio
[mkv] | + Default flag: 1
[mkv] | + Codec ID: A_DTS
[mkv] | + Language: eng
[mkv] | + Audio track
[mkv] | + Sampling frequency: 48000.000000
[mkv] | + Channels: 6
[mkv] | + a track...
[mkv] | + Track number: 3
[mkv] | + Track type: Subtitle
[mkv] | + Default flag: 1
[mkv] | + Codec ID: S_TEXT/ASS
[mkv] | + CodecPrivate, length 985
[mkv] | + Language: eng
[mkv] | + a track...
[mkv] | + Track number: 4
[mkv] | + Track type: Subtitle
[mkv] | + Default flag: 0
[mkv] | + Codec ID: S_TEXT/ASS
[mkv] | + CodecPrivate, length 977
[mkv] | + Language: rum
[mkv] |+ found cluster, headers are parsed completely :)
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
[mkv] Track ID 2: audio (A_DTS), -aid 0, -alang eng
[mkv] Track ID 3: subtitles (S_TEXT/ASS), -sid 0, -slang eng
[mkv] Track ID 4: subtitles (S_TEXT/ASS), -sid 1, -slang rum
==> Found video stream: 1
[mkv] Aspect: 2.424242
[mkv] Will play video track 1
==> Found audio stream: 2
[mkv] Will play audio track 2
Matroska file format detected.
VIDEO: [avc1] 1280x528 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:31 fourcc:0x31637661 size:1280x528 fps:23.98 ftime:=0.0417
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
dec_audio: Allocating 192000 + 65536 = 257536 bytes for output buffer.
FFmpeg's libavcodec audio codec
ADecoder init failed :(
Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF
dec_audio: Allocating 8192 bytes for input buffer.
dec_audio: Allocating 16384 + 65536 = 81920 bytes for output buffer.
hwac3: switched to DTS, 768000 bps, 48000 Hz
AUDIO: 48000 Hz, 2 ch, ac3, 768.0 kbit/50.00% (ratio: 96000->192000)
Selected audio codec: [hwdts] afm: hwac3 (DTS through S/PDIF)
==========================================================================
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=528]
SwScale params: 1280 x 528 (-1=no scaling)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Forcing output fourcc to 58564944 [DIVX]
Building audio filter chain for 48000Hz/2ch/ac3 -> 48000Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/ac3
[dummy] Was reinitialized: 48000Hz/2ch/ac3
Building audio filter chain for 48000Hz/2ch/ac3 -> 48000Hz/2ch/s16le...
[dummy] Was reinitialized: 48000Hz/2ch/ac3
[libaf] Adding filter format
Exiting...

THX!!

Amnon82
6th June 2007, 02:58
what app do you use for streaming?
do you have the audio track only in dts?
does your pc plays the dts track?
can your home theater system play dts tracks?
can you upload a short part of your video somewhere (logo of the movie company for example)