User User name Password  
   
Wednesday 8.10.2008 / 07:21
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 to AVI video with AC3 5.1 Audio encoding 12 15. July 2008 DVD ripping
AC3 freezes system on close 1 20. June 2008 Playback problems
How to convet avi to dvd with ac3 4 15. June 2008 DVD±R for newbies
AC3 5.1 sound problems. 4 1. June 2008 Audio
Nokia N95-2 AC3 Dolby Codec 3 28. May 2008 Nokia - All other topics
can't compress or do anything with this ac3 audio 4 19. May 2008 Audio
How to increase volume in AC3 with BeSweet and BeLight 2 10. May 2008 Audio
Converting an mkv DTS to AC3 (not with mkv2vob) 1 4. May 2008 General video discussion
reencoded xvid ac3 6 23. April 2008 Playback problems

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

Digital video: AfterDawn.com | AfterDawn Forums | DVD X Copy Forums
Music: MP3Lizard.com
Gaming: Blasteroids.com | Blasteroids Forums
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 | fin.MP3Lizard.com
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-2008 by AfterDawn Ltd.