User User name Password  
   
Saturday 23.8.2025 / 03:51
Search AfterDawn Forums:        In English   Suomeksi   På svenska
afterdawn.com > forums > digital video > video - everything else > mp4a to ac3/mp2 ?
Show topics
 
Forums
Forums
mp4a to ac3/mp2 ?
  Jump to:
 
Posted Message
cinezone
Junior Member
_
10. April 2006 @ 06:07 _ Link to this message    Send private message to this user   
Hi,

I'd like to create a demo dvd with a lot of new trailers. I download them from apple in HD 720p and then reencode them with AviSynth and HCEnc. It works fine but I have a problem with the audio stream.
In their files, they use mp4a and I don't know how to convert it to a dvd format (ac3/mp2). At this time I can convert the stream in LPCM 2 channels with mplayer but this is a demo disc so I'm looking for 6 channels.

Thx.
Advertisement
_
__
celtic_d
AfterDawn Addict
_
10. April 2006 @ 09:46 _ Link to this message    Send private message to this user   
ffmpeg and I'd definatly go with AC3 over mp2.
cinezone
Junior Member
_
10. April 2006 @ 11:33 _ Link to this message    Send private message to this user   
It doesn't seem to work or I don't know how to use it.
I tried to load the .mov file. I suppose I have to Demux the audio and video from the file before using ffmpeg but how do I do that ?

Thx
celtic_d
AfterDawn Addict
_
10. April 2006 @ 23:01 _ Link to this message    Send private message to this user   
libavformat has an mov demuxer, so there should be no need to Demux before hand.
celtic_d
AfterDawn Addict
_
11. April 2006 @ 03:19 _ Link to this message    Send private message to this user   
Errr, seems ffmpeg doesn't like the 5.1 aac in quicktime trailers. Don't know why Apple can't just use mp4 as a container. You could try demuxing.

edit: looks like ffmpeg might have issues with all 6 channel aac.

mplayer should be outputting 6 channel pcm audio though which ffmpeg can convert or you could use mencoder, then demux the audio. mencoder.exe -ovc frameno -channels 6 -oac lavc -lavcopts acodec=ac3:abitrate=384 input.mov -o output.avi

Unlike ffmpeg though I don't think there is any way to directly output an audio only stream.

This message has been edited since posting. Last time this message was edited on 11. April 2006 @ 03:28

cinezone
Junior Member
_
11. April 2006 @ 07:31 _ Link to this message    Send private message to this user   
My mplayer doesn't play 5.1 files, it detects only 2ch...
celtic_d
AfterDawn Addict
_
11. April 2006 @ 10:02 _ Link to this message    Send private message to this user   
Default is 2 channels. If you have more than two speakers then you should have set in your config. channels=6. mencoder doesn't read the config file so you need to specify. You can do the same with mplayer to. Just that it is easier to set default options in the config (fullscreen, subtitle font, menu, etc.).
cinezone
Junior Member
_
11. April 2006 @ 10:42 _ Link to this message    Send private message to this user   
Yep, but when I use channels=6 I've a problem with the sound which seems to play very very slowly. It's the same if I use channels=4.

Could you try on your side if it works ? (I'm under windows xp)
celtic_d
AfterDawn Addict
_
11. April 2006 @ 10:47 _ Link to this message    Send private message to this user   
Works fine here. I've had channels=6 in my config file for ages. -channels 6 worked fine to convert a mov trailer earlier to. Trailer in question was cars-tsr4_h720p.mov

mplayer/mencoder build used was from the 10th.
cinezone
Junior Member
_
11. April 2006 @ 12:28 _ Link to this message    Send private message to this user   
If you're under windows, can you tell me where do you find so updated builds ? The one on the official website is "MPlayer dev-CVS-050928-16:38-3.4.2"

Thx
celtic_d
AfterDawn Addict
_
11. April 2006 @ 20:38 _ Link to this message    Send private message to this user   
I compile them myself.
You can find my builds at: http://ffdshow.faireal.net/mirror/mplayer/
or alternative builds at: http://oss.netfarm.it/mplayer-win32.php

You are also of course welcome to compile it yourself.
Advertisement
_
__
 
_
cinezone
Junior Member
_
12. April 2006 @ 01:46 _ Link to this message    Send private message to this user   
Great job, it's working now, so thank you for the tips and the builds.
afterdawn.com > forums > digital video > video - everything else > mp4a to ac3/mp2 ?
 

Digital video: AfterDawn.com | AfterDawn Forums
Music: MP3Lizard.com
Gaming: Blasteroids.com | Blasteroids Forums | Compare game prices
Software: Software downloads
Blogs: User profile pages
RSS feeds: AfterDawn.com News | Software updates | AfterDawn Forums
International: AfterDawn in Finnish | AfterDawn in Swedish | AfterDawn in Norwegian | download.fi
Navigate: Search | Site map
About us: About AfterDawn Ltd | Advertise on our sites | Rules, Restrictions, Legal disclaimer & Privacy policy
Contact us: Send feedback | Contact our media sales team
 
  © 1999-2025 by AfterDawn Ltd.

  IDG TechNetwork