hi!
while trying to create a DVD-project I get this error :
how do I fix it?Code:Rejected OERR d:\main.ac3
michcio
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 21 of 21
Thread
-
-
also while tring to make an .m2v and .ac3 from my avi the "normal way" (here's the avisynth script
Code:# -= AviSynth v2.5.8.5 script by FitCD v1.2.8 =- AVISource("C:\Users\Michal\Desktop\movie.avi") BicubicResize(704,480,0,0.6,0,1,624,350) AddBorders(8,0,8,0) #Trim(0,60072).FadeOut(150)
why?
here's my avi info from GSpot:
Code:AUDIO: Codec: 0x0055 MPEG-1 layer 3 Info: 48 000Hz 128 kb/s tot, Joint Stereo LAME 3, 98b VIDEO: Codec: XIVID Name: XviD ISO MPEG-4 FRAMES: 23.976
Code:VBR audio stream detected: VirtualDub has detected an improper VBR audio encoding in the source AVi file (audio stream1). The current preference is to rewrite the aduio header with standard CBR values during processing for better compability. This may introduce up to 5070 ms of skew from the video strem. If this in unacceptable, decompres the *entire* audio stream to an uncompressed WAV file and recompress with a constant bitrate encoder. (bitrate: 121.4 +- 11.4 kbps) Do you still want to rewrite the header? YES NO
cheers
michcio -
I think you answered your own question. The amount of space saved encoding with VBR instead of CBR is negligible and makes your audio stream susceptible to loss of sync and other errors. You should make your ac3 (and mp3) encodes constant bitrate to avoid complications. Instead of rewriting the header, I would go back to the source audio and do a new encode.
-
thanks for answering
A new encoding in the source audio? You mean take out the audio from my avi and then encode it to ac3/mp3 ? But how do I take out the audio...if I do it the usual way with the avisynth script I describe it get's unsynced. So how do I take it out properly like you say in constant bitrate??
regards
michcio -
Originally Posted by michcio
I use HCEnc to make M2V and WAVI and Aften to make AC3 myself.
Also as for VirtualDub, you should never answer yes to that question.
Anyway, you should open the AVS in VDub, not the AVI.
And I find it advisable to add the line
EnsureVBRMP3sync()
after the Avisource, it makes it less likely to go out of sync, at the cost of a delay when you move around the file.
Anyway, according to the Muxman readme:
"OERR Muxman was unable to open the file"
So can you play the AC3 in other applications?
What is the actual full path to the file? If it contains spaces or unusual characters, move it to something short and simple. -
I'm encoding the video and audio using HCEnc as well and make a .m2v file ... then I use virtualdub to make a .wav (from a avs file made of my avi) wich I later on encode to .ac3 using ffmpeggui
after adding the line you mension video and audio still get unsynced in the end. (I can see that it's unsynced already in virtualdub when I try to play me .avs) -
Originally Posted by michcio
Does the sync error grow gradually, or is it a sudden jump at a glitch?
If the first, you can stretch the audio. If the latter, the AVI is probably damaged.
I find saving it out with AviDemux (just video copy and audio copy) may fix that. -
hm now when I take a closer look at the avs file in virtualdub I see that it's not a wrong synced audio/video problem...my movie is 44 min totaly and it's perfectly synced in about 42 min... then at the last 2 minutes the audio just ends :S there is no audio at all... really weird. The avi have audio the whole time :/.
cheers -
btw opening it in AviDemux (which does something to the audio) and then save a new avi doesn't help my problem the audio still dissapears after 42 minutes
-
ah! now I got it!
last time I only open my avi in AviDemux and it showed:
Code:Confirmation Build VBR time map? Avidemux detected VBR MP3 audio in this file. For keeping audio/video in sync, time map is needed. Built it now? You can do it later fith "Audio -> Build VBR Time Map". Yes No
Code:Confirmation Packed Bitstream detected: Do you want me to unpack it ? Yes No
while I saved a "new" avi and made an avs the audio dissapeard while opening the avs in virtualdub after 42 mins. but when I opened my avi in avidemux again and changed the video and audio codecs to something else ( MPEG-4 ASP (Xvid4) and AC3 (Aften) ) (the saving took much longer time this time :P) and when I later on made an avs to this avi it worked just fine after 42 minutes
now which codecs are best to choose for video and audio in the scroll downs??
regards
michcio -
[ i g n o r e ]
Originally Posted by michcio
or with AVI-Mux GUI. Open it in Winamp, and convert it to a .WAV file with
the DiskWriter plugin. Convert this latter to AC3 with aften.exe
(You could also select the AC3ACM in the list of output options of DiskWriter,
thus skipping the intermediate .wav file).
HTH.[/s:a3c61c4a80] -
Okay, I'm all confused. Wasn't your first post about trying to create a DVD project? Why, then, are you encoding Xvid and using VirtualDub? Did you ever make the .m2v video stream? You're original issue was with the audio. If you could get a .wav file, then Aften should easily make the .ac3 conversion. One possible problem, as mentioned earlier, was encoding to variable bitrate (VBR) instead of constant bitrate (CBR).
Also, did you listen to the audio track you made? Did the sound cut off abruptly at 42 min.? If so, you simply didn't get a complete encode of the audio track. Otherwise, the time readout may be incorrect due to VBR encoding -- which can trick some programs into displaying the wrong time. (Video frame rate issues can also cause incorrect time displays in some cases, but that's another issue.)
EDIT: After re-reading your last post, it seems you sorted out your audio issue. Is that correct? Still, you have an xvid file, which is NOT DVD compliant and will be spit out by GUI for DVDAuthor. -
yes I'm creating a DVD project in GfD (Muxman) and therefore I need a .m2v file (for the video stream) and an .ac3 file (for the audio stream) from my .avi.
well...I'm making an avs from my avi and then encoding an wav from this avs by using virtualdub...
let's take it from the beggining... my problem was that I have a correctly avi
from this avi I create an avs file and after I open it in virtualdub I see that the audio dissapears after 42 minutes. (I want to take out a proper wav from this avs using virutaldub)
If I instead before the creation of the avs open my avi in AviDemux , change the audio and video codecs, make (save) a new avi file and then create my avs the audio no longer dissapears while I open the avs in virtualdub and check my movie after 42 minutes.
So now I wonder which audio/video codecs I should change my avi into to get the best results (it seems like I have to change it otherwise the audio will dissapear) :S
cheers! -
Originally Posted by filmboss80
-
Originally Posted by michcio
AVISource("C:\Users\Michal\Desktop\movie.avi")
to
DirectShowSource("C:\Users\Michal\Desktop\movie.av i")
ConvertToYV12()
you get the complete soundtrack.
Always scroll to the end of the AVS (in VirtualDub) to see you have audio right to the end.
Or, if you're not doing any Trims or audio manipulations in the AVS, you can just use FFMPEGGui directly on the AVI, export AC3 in one go. -
Originally Posted by michcio
Otherwise it will warn you if you have the wrong colour space, or frame size, but not actually fix it, you have to do that yourself. -
Originally Posted by michcio
If you really wanted to make a new AVI, set video to COPY, as there's nothing wrong with that, audio to AC3, or MP3 CBR at a rate a bit higher than the original.
That should save quickly and not degrade the video, as any re-encoding loses quality.
For that matter, Avidemux can itself directly export M2V and AC3 for making DVD. It has a lot of filters you can apply in the process.
I have rarely done it myself though, but in difficult cases it can be useful.
I'm used to AVS and HCEnc, and have a lot of shortcuts that I like to use. -
Originally Posted by AlanHK
after encoding my m2v and ac3 files and creating a DVD project with these two I don't get the error I mensioned in my first post
Originally Posted by AlanHK
Originally Posted by AlanHK
Originally Posted by AlanHK
Originally Posted by AlanHK
Originally Posted by AlanHK -
Originally Posted by michcio
This takes the audio from an AVS (or a whole folder of them) and converts it to AC3:
Code:@echo avsaften avsfile.avs @echo audio from avs files and convert to AC3 @echo uses wavi and aften @if %1X==X goto ALL :LOOP for %%I in (%1) do ( wavi %%I - | p:\aften\aften.exe -b 128 -s 1 -w 45 -dnorm 27 - %%~nI.ac3 ) SHIFT @if %1X==X goto END @goto LOOP :ALL for %%I in (*.avs) do ( wavi %%I - | p:\aften\aften.exe -b 128 -s 1 -w 45 -dnorm 27 - %%~nI.ac3 ) :END
A useful Avisynth plugin is Soundout:
http://avisynth.org/mediawiki/SoundOut
With that you can measure volumes ( to adjust gain) or export in various formats, including AC3.
To make the AVS files I might use FitCD to begin with, then my text editor, and often customise them in AvsP, which is probably the best Avisynth editor, as it gives you sliders for the numeric parameters of any filter or function and has many other features specific to Avisynth scripts.
I use batch files to encode batches of AVS files in HCEnc: eg:
Code:set rate=2108 ::set ar=16:9 set ar=4:3 set choice= set /p choice=Run encode? y/n if not '%choice%'=='y' exit set hc=P:\HCenc\HCenc_023 set mpgd=s:\mpg\ for %%A in ( 101.avs 102.avs 103.avs 104.avs ) do ( %hc% -i %%~fA -o %mpgd%%%~nA.m2v -b %rate% -aspectratio %ar% -pulldown -profile best -matrix qlb -frames all -noini -2pass -maxbitrate 8000 -log %%~dpAhenc.log call avsaften %%~fA move %%~dpnA.ac3 %mpgd% )
Note that this calls the AVSaften script above for each file as well. -
Originally Posted by AlanHK
-
Originally Posted by michcio
Search for "sync problems" here and you'll get a thousand hits.
You always have to check the result.
Try exporting from AviDemux.
Try Soundout() in your AVS.
If these fail, then you have to do some audio editing...
Similar Threads
-
MuxMan Error
By JConnor in forum Authoring (DVD)Replies: 24Last Post: 10th Jan 2009, 20:59 -
GUI for muxman - chapter save
By michcio in forum Authoring (DVD)Replies: 3Last Post: 26th Oct 2008, 07:42 -
GUI for muxman - unable to JumpSS
By michcio in forum Authoring (DVD)Replies: 39Last Post: 5th Sep 2008, 19:25 -
PAL help (GUI for Muxman/dvdauthor)
By michcio in forum Authoring (DVD)Replies: 16Last Post: 29th Aug 2008, 10:00 -
question about Muxman error when using Gui For DVD Author
By jimdagys in forum Newbie / General discussionsReplies: 4Last Post: 6th Jan 2008, 23:52