MeGUI AC3 audio & AviSynth script problem

Discussion in 'Blu-ray players' started by scienc30, Jun 5, 2008.

  1. scienc30

    scienc30 Member

    Joined:
    Jun 2, 2008
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    11
    I am having a problem getting MeGUI to create the audio stream from my MKV file.

    filename.mkv with 2 streams that I want to recode to NTSC so I can create a AVCHD DVD.

    H.264 Stream Profile: High@5.1 Resolution 1920:816p FrameRate: 25
    AC-3 Stream Bitrate: 384Kbps Sample Rate: 48KHz Channels: 6

    This is my AviSynth script:

    DirectShowSource("c:\filename.mkv")
    AssumeFPS(23.976,sync_audio=true)
    AddBorders(0,132,0,132)
    LanczosResize(1920,1080)

    I can open the script with Media Player Classic and it plays fine and the audio stays in sync.

    I can load the script into MeGUI and create the video file.

    Concerning the audio, I read in an MeGUI guide that if you wanted to use the original audio stream all you have to do is use the script as the audio input, click config in the Audio section and make sure "Keep Original Channels" is selected for audio output channels. I selected AC3 codec since it is an AC3 stream.

    I get the following error in the MeGUI log. Am I missing a line in my AVS file concerning the audio? I have all the latest updates in MeGUI.

    Log for job job1

    Input: Channels=6, BitsPerSample=16, SampleRate=46034Hz
    Command line used: I:\Program Files\megui\tools\ffmpeg\ffmpeg.exe -i - -y -acodec ac3 -ab 384k "I:\Documents and Settings\sf\Desktop\test.ac3"

    Error:
    FFmpeg version SVN-r10464, Copyright (c) 2000-2007 Fabrice Bellard, et al.
    configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-liba52 --enable-avisynth --enable-libamr-nb --enable-libamr-wb --enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libogg --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --cpu=i686 --enable-memalign-hack --extra-ldflags=-static
    libavutil version: 49.5.0
    libavcodec version: 51.43.0
    libavformat version: 51.12.2
    built on Sep 10 2007 10:31:22, gcc: 4.2.1
    Input #0, wav, from 'pipe:':
    Duration: N/A, bitrate: 4419 kb/s
    Stream #0.0: Audio: pcm_s16le, 46034 Hz, 5:1, 4419 kb/s
    Output #0, ac3, to 'I:\Documents and Settings\sf\Desktop\test.ac3':
    Stream #0.0: Audio: ac3, 46034 Hz, 5:1, 384 kb/s
    Stream mapping:
    Stream #0.0 -> #0.0
    Error while opening codec for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
     
  2. scienc30

    scienc30 Member

    Joined:
    Jun 2, 2008
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    11
    Nevermind folks,

    I have got the entire procedure down. I will be submitting a tutorial based on converting 25FPS 1080p AC-3 MKV files to AVCHD Blu-ray.
     

Share This Page