View previous topic :: View next topic |
Author |
Message |
VinzC Watchman
Joined: 17 Apr 2004 Posts: 5098 Location: Dark side of the mood
|
Posted: Sun Oct 28, 2012 12:15 am Post subject: [SOLVED] playing MPEG4 5.1 sound "downsamples" to |
|
|
Hi all.
I have an MPEG4 movie that I'd like to play through my SPDIF output. So far, the movie has 6 channels. When I play it with mplayer, it says:
Code: | ...
ID_AUDIO_FORMAT=MP4A
ID_AUDIO_BITRATE=447576
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=6
...
AUDIO: 48000 Hz, 6 ch, s16le, 447.6 kbit/9.71% (ratio: 55947->576000)
ID_AUDIO_BITRATE=447576
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=6
Selected audio codec : [ffaac] afm : ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
[AO_ALSA] Format floatle not supported by the hardware, trying default.
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=ffaac |
and the movie is played only in stereo, not AC3.
Can I tell mplayer to downsample floatle to something my hardware supports? (If that's how to call it.)
Thanks for any hint/suggestion. _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Last edited by VinzC on Wed Oct 31, 2012 8:47 pm; edited 2 times in total |
|
Back to top |
|
|
Navar Guru
Joined: 20 Aug 2012 Posts: 353
|
Posted: Sun Oct 28, 2012 7:49 am Post subject: |
|
|
Did you try the -ac decode/filtering option? E.g., -ac hwac3, hwdts, a52. _________________ Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn. |
|
Back to top |
|
|
VinzC Watchman
Joined: 17 Apr 2004 Posts: 5098 Location: Dark side of the mood
|
Posted: Mon Oct 29, 2012 5:54 pm Post subject: |
|
|
Navar wrote: | Did you try the -ac decode/filtering option? E.g., -ac hwac3, hwdts, a52. |
I indeed tried hwac3 and hwdts, no sound. _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739! |
|
Back to top |
|
|
VinzC Watchman
Joined: 17 Apr 2004 Posts: 5098 Location: Dark side of the mood
|
Posted: Wed Oct 31, 2012 8:46 pm Post subject: |
|
|
Woohoo! Found an interesting forum post! Here's the command to resample AAC to AC3 on-the-fly
Code: | mplayer -af channels=6,lavcac3enc=1:448:3 movie.mp4 |
Now I get surround sound properly decoded to 5.1! _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739! |
|
Back to top |
|
|
|
|
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
|
|