User User name Password  
   
Tuesday 6.5.2025 / 17:06
Search AfterDawn Forums:        In English   Suomeksi   På svenska
afterdawn.com > forums > home theater > blu-ray players > megui ac3 audio & avisynth script problem
Show topics
 
Forums
Forums
MeGUI AC3 audio & AviSynth script problem
  Jump to:
 
Posted Message
scienc30
Junior Member
_
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
Junior Member
_
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
how to convert 2 channel ac3 to 6 channel 1 8. June 2014 Audio
Converting a Danish DTS audio format to AC3 6 30. April 2014 Audio
DTS to AC3 5.1 10 18. October 2012 Convert DVD to another format
Getting AC3 to play in WMP 12 15. September 2012 Windows - Software discussion
Trying to properly watch a AC3 Dolby Digital, 5.1 film using 2.1 speakers 1 18. June 2012 Video playback problems
m2ts to x264+AC3 7 13. May 2012 Convert video to another format
convert AVCHD with TrueHD/AC3 for portable devices 1 8. May 2012 Convert video to another format
TS with ac3, 5.1 on the ps3 with real 5.1? 1 16. January 2012 PS3 - Modding & Hacking
Help Applying Dynamic Range Compression to AC3 File 1 14. September 2011 Audio
avi with ac3 2 22. August 2011 Video - Everything else

 
afterdawn.com > forums > home theater > blu-ray players > 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 | AfterDawn in Norwegian | 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-2025 by AfterDawn Ltd.

  IDG TechNetwork