Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
playing DTS in mplayer-bin
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
deepspace9
Apprentice
Apprentice


Joined: 29 Jan 2003
Posts: 214
Location: Netherlands

PostPosted: Sun Nov 26, 2006 11:19 am    Post subject: playing DTS in mplayer-bin Reply with quote

I want to play decoded DTS with mplayer-bin

I need to use the bin version of mplayer because video is WMV9 :roll: . The problem is, the sound is DTS, and mplayer bin only does SPDIF passthough, and does not decode the sound to stereo PCM.

Code:
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
Cannot find codec 'dts' in libavcodec...
ADecoder init failed :(
ADecoder init failed :(
Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF
No accelerated IMDCT transform found
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)


The normal mplayer plays the sound, but not the video...

Is there any solution for this?
_________________
Athlon 64 X2 3800+
MSI K8N Neo4 FI
Geil Ultra-X PC3200 400MHz CL2 5-2-2 DDR 2x512 GB
Asus 6600 Silence GFX
Watercooling (I just love the silence :) )
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Sun Nov 26, 2006 5:44 pm    Post subject: Reply with quote

Unmask and emerge mplayer-1.0_rc1 with the dts useflag. The latest (but still masked) versions of ffmpeg, xine-lib and mplayer can play most wmv files now, without using win32codecs. So you can use native 64bit compiled programs.
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
deepspace9
Apprentice
Apprentice


Joined: 29 Jan 2003
Posts: 214
Location: Netherlands

PostPosted: Sun Nov 26, 2006 6:32 pm    Post subject: Reply with quote

Well, that sort of works, but decoding 1080p is not the kind of thing this wmv9 decoder seems to like: It's slow as hell, and any keypress stops the video and audio completely.

CPU power with win32 codecs: about 20% for both CPU's (mean)
CPU power with native wmv9: 100% on one CPU, the other one doing nothing.

Seems to me that there is still a not of stuff needed to get this thing workable!

So thats not an acceptable solution :oops:

Why did they just forget the DTS decoder in the bin distributable :?:
_________________
Athlon 64 X2 3800+
MSI K8N Neo4 FI
Geil Ultra-X PC3200 400MHz CL2 5-2-2 DDR 2x512 GB
Asus 6600 Silence GFX
Watercooling (I just love the silence :) )
Back to top
View user's profile Send private message
deepspace9
Apprentice
Apprentice


Joined: 29 Jan 2003
Posts: 214
Location: Netherlands

PostPosted: Tue Nov 28, 2006 6:28 pm    Post subject: Reply with quote

Well, at least 720p plays acceptable :D Though, visually, the native decoder does not really do a good job :(

Any decent solution for this problem :?:
_________________
Athlon 64 X2 3800+
MSI K8N Neo4 FI
Geil Ultra-X PC3200 400MHz CL2 5-2-2 DDR 2x512 GB
Asus 6600 Silence GFX
Watercooling (I just love the silence :) )
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum