User User name Password  
   
Sunday 22.11.2009 / 17:13
Search AfterDawn Forums:        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
Sonido Original a AC3-VS 8 17. October 2009 ratDVD discussion, help and suggestions
MKV - DTS to AC3 nightmare 4 11. October 2009 High resolution audio
MKV - DTS to AC3 nightmare 3 11. October 2009 General video discussion
Demuxing True-HD sound to convert to ac3 1 5. October 2009 Blu-ray discussion
MPEG Audio Layer 3 to Dolby AC3? 3 2. October 2009 MPEG-1 and MPEG-2 encoding (AVI to DVD)
AC3 conversion problem 2 21. September 2009 Blu-ray discussion
Extracting AC3 Audio From DVD & Converting To MP3 3 25. August 2009 DVD ripping
DTS HD to ac3 3 28. July 2009 Blu-ray discussion
AC3 Realtime? 1 13. July 2009 Playback problems
DVD Architect Studio 4.5 and HD video? And how to use AC3 in it? 1 3. July 2009 DVD-Video authoring

 
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.