VideoHelp Forum




+ Reply to Thread
Page 3 of 3
FirstFirst 1 2 3
Results 61 to 62 of 62
  1. Member
    Join Date
    Mar 2009
    Location
    United States
    Search Comp PM
    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)
    Quote Quote  
  2. 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.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!