User User name Password  
   
Sunday 5.7.2009 / 01:10
Search:        In English   Suomeksi   Pĺ svenska
afterdawn.com > forums > high definition video > blu-ray discussion > megui ac3 audio & avisynth script problem
Show topics
 
Forums
Forums
MeGUI AC3 audio & AviSynth script problem
  Jump to:
 
Posted Message
scienc30
Newbie
_
5. June 2008 @ 13:51 _ Link to this message    Send private message to this user   
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
scienc30
Newbie
_
5. June 2008 @ 19:01 _ Link to this message    Send private message to this user   
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.
Related links
Download the latest AC3 Filter from here. It's 100% freeware and you need it in order to play 5.1 DivX movies!
 
Related forum topics Posts Last post Forum room
DVD Architect Studio 4.5 and HD video? And how to use AC3 in it? 1 3. July 2009 DVD-Video authoring
sync avi with ac3 on VLC 3 14. June 2009 Playback problems
AC3 5.1 sound using VLC 1 6. June 2009 High resolution audio
WinAvi version 8 AC3, DTS problem 1 30. May 2009 Subtitle help
Nero Recode has stopped importing anything with AC3 audio 3 21. May 2009 Nero discussion
Converting Dts to Ac3 2 3. May 2009 Audio
DTS into AC3 2 30. April 2009 PS3 - General discussion
Dolby Digital (AC3) sound through Windows Media Player 7 14. April 2009 Audio
FLV with ac3 audio problems 2 8. April 2009 Playback problems
AC3 5.1 to WAV 2.0 with Besweet/Belight 2 5. April 2009 High resolution audio

 
afterdawn.com > forums > high definition video > blu-ray discussion > megui ac3 audio & avisynth script problem
 

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 | 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-2009 by AfterDawn Ltd.