mp4a to ac3/mp2 ?
|
|
cinezone
Junior Member
|
10. April 2006 @ 06:07 |
Link to this message
|
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
|
ffmpeg and I'd definatly go with AC3 over mp2.
|
cinezone
Junior Member
|
10. April 2006 @ 11:33 |
Link to this message
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
|
Advertisement
|
  |
|
cinezone
Junior Member
|
12. April 2006 @ 01:46 |
Link to this message
|
Great job, it's working now, so thank you for the tips and the builds.
|