I'm trying a new encode after adjusting the channel assignment in qtpro to be 7left & 8 right. Hopefully that will do it.
Having issues with mpeg2 5.1 audio down mix to stereo. That should be pretty simple right?
Here is what I'm using:
video = mpeg2source("\\MovieX\MovieX.mpg)
audio = directshowsource("\\MovieX\MovieX.mpa")
converttoyuy2()
flr = GetChannel(audio, 1, 2)
fcc = GetChannel(audio, 3, 3)
lrc = Mixaudio(flr, fcc, 0.3254, 0.2301)
bl = GetChannel(audio, 4)
br = GetChannel(audio, 5)
sl = Mixaudio(bl, br, 0.2818, 0.1627)
sr = Mixaudio(bl, br, -0.1627, -0.2818)
blr = Mergechannels(sl, sr)
downmix = Mixaudio(lrc, blr, 1.0, 1.0)
audiodub(video, downmix)
+ Reply to Thread
Results 61 to 62 of 62
-
-
What error message are you getting?
Using directshowsource() is a generally a last resort measure, and not a good idea, because it predisposes you to all the filters in the directshow filter chain. So if you had the mixer enabled in ffdshow for audio decoding mpa for example, it might already be mixed to stereo. As a general rule, stick with using nicaudio, unless you are sure your filter chain is clean.
NicMPG123Source("MovieX.mpa")
Also, if your audio was .mpa (usually means mpeg-1 layer 2) , I doubt it was 5.1 audio to begin with (5.1 audio is not supported) , it is more likely ac3 . Check with mediainfo and using info() in avisynth, dgindex should have also reported the channels when you used it for mpeg2source, and the channels should be written in the name.
Similar Threads
-
Transcoding T2i/550D Footage w/ Apple Photo JPEG - 45Mbps to 147 Mbps
By Flynn in forum Video ConversionReplies: 8Last Post: 30th Jan 2012, 00:12 -
convert video with Photo JPEG codec and MS IMA APMCD audio codec
By devil_doll in forum Video ConversionReplies: 3Last Post: 21st Jan 2011, 14:10 -
Transcoding audio -> ffmpeg - besweet - avisynth?
By wiseant in forum AudioReplies: 4Last Post: 18th Dec 2009, 22:14 -
AviSynth Photo slideshow
By chi1234 in forum Newbie / General discussionsReplies: 5Last Post: 12th Dec 2009, 09:44 -
does ffmpegx convert to photo-jpeg?
By martyw in forum ffmpegX general discussionReplies: 2Last Post: 14th Sep 2009, 19:18