Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] MPlayer won't play AC-3 tracks through DVB-T
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
darklegion
Guru
Guru


Joined: 14 Nov 2004
Posts: 468

PostPosted: Fri Jun 18, 2010 5:24 am    Post subject: [SOLVED] MPlayer won't play AC-3 tracks through DVB-T Reply with quote

Any channels that use AC-3, such as ABC HDTV and ONE HD (Australia), the audio doesn't work with mplayer. Both of these channels work fine with VLC, xine and Kaffeine. I managed to work around the issue with ONE HD by editing the channels.conf to use a 2 channel stream, but this doesn't seem to work with ABC (or I used the wrong PID). Is this just a configuration issue, or is there a bug in MPlayer?

Last edited by darklegion on Fri Jun 18, 2010 8:01 am; edited 1 time in total
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Fri Jun 18, 2010 6:46 am    Post subject: Reply with quote

Did you build mplayer with USE="a52"? What does mplayer output to console if you tune in to such a channel?
Back to top
View user's profile Send private message
darklegion
Guru
Guru


Joined: 14 Nov 2004
Posts: 468

PostPosted: Fri Jun 18, 2010 6:50 am    Post subject: Reply with quote

chithanh wrote:
Did you build mplayer with USE="a52"? What does mplayer output to console if you tune in to such a channel?

Yes, built with a52. DVDs that use AC-3 play fine.Terminal output:
Code:

MPlayer SVN-r30554-4.4.3 (C) 2000-2010 MPlayer Team

Playing dvb://abchd.
dvb_tune Freq: 585500000
Cache fill: 18.95% (1589248 bytes)   
TS file format detected.
VIDEO MPEG2(pid=516) NO AUDIO!  NO SUBS (yet)!  PROGRAM N. 0
VIDEO:  MPEG2  1280x720  (aspect 3)  50.000 fps  90000.0 kbps (11250.0 kbyte/s)
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
Couldn't open video filter 'ass'.
ASS: cannot add video filter
Opening video filter: [eq2]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
Audio: no sound
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [gl] 1280x720 => 1280x720 Planar YV12  [fs]
[ASPECT] Warning: No suitable new res found!
V:5541.3 137/137 13%  6%  0.0% 0 0 14%
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Fri Jun 18, 2010 7:26 am    Post subject: Reply with quote

Hmm, mplayer doesn't detect any audio at all in the stream. Is your channels.conf set up correctly?

Also, interesting fact, you don't need the a52 flag. MPlayer uses ffac3 by default now, so liba52 isn't necessary anymore.
Back to top
View user's profile Send private message
darklegion
Guru
Guru


Joined: 14 Nov 2004
Posts: 468

PostPosted: Fri Jun 18, 2010 7:27 am    Post subject: Reply with quote

Gusar wrote:
Hmm, mplayer doesn't detect any audio at all in the stream. Is your channels.conf set up correctly?

Also, interesting fact, you don't need the a52 flag. MPlayer uses ffac3 by default now, so liba52 isn't necessary anymore.


Yes, channels.conf is correct as I used the same file for both VLC and Xine.
Back to top
View user's profile Send private message
darklegion
Guru
Guru


Joined: 14 Nov 2004
Posts: 468

PostPosted: Fri Jun 18, 2010 8:00 am    Post subject: Reply with quote

Okay, using some trial and error and the output of dvbscan -c, I've managed to modify the channels.conf entry to work with MPlayer. It uses AC-3 audio as well, so I'm guessing it's not an AC-3 problem. Perhaps VLC/Xine/Kaffeine are doing some extra work, or there are some bugs in MPlayer's dvb implementation. Anyway it works, so I'm happy :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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