Log in

View Full Version : Audio not in sync


juGGaKNot
21st May 2009, 08:45
Encoding AUDIO :

Freeware Advanced Audio Coder
FAAC 1.26.1 (Apr 8 2007) UNSTABLE

Quantization quality: 100
Bandwidth: 16000 Hz
Object type: Low Complexity(MPEG-4) + M/S
Container format: MPEG-4 File Format (MP4)
Encoding D:\Testing x264\movie.wav to D:\Testing x264\@temp\movie.m4a
frame | bitrate | elapsed/estim | play/CPU | ETA
2585/2585 (100%)| 153.7 | 4.5/4.5 | 13.48x | 0.0

MUXING :

AVI XVID video import - 1024 x 576 @ 30.0000 FPS - 1800 Frames
Indicated Profile: Advanced Simple Profile @ Level 5
Has B-Frames (2 max consecutive B-VOPs)
Import results: 1800 VOPs (58 Is - 967 Ps - 775 Bs)
IsoMedia import - track ID 1 - Audio (SR 44100 - 2 channels)
Converting to ISMA Audio-Video MP4 file...
Saving D:\Testing x264\Final_Movie_XVID.avi: 0.500 secs Interleaving
AVI XVID video import - 1024 x 576 @ 30.0000 FPS - 1800 Frames
Indicated Profile: Advanced Simple Profile @ Level 5
Has B-Frames (2 max consecutive B-VOPs)
Import results: 1800 VOPs (58 Is - 967 Ps - 775 Bs)
IsoMedia import - track ID 1 - Audio (SR 44100 - 2 channels)

Encoding started at 10:21 AM and finished at 10:30 AM


The audio is about half a second faster the the video, why and how can i fix this ?

Should i go back to eac3to with neroaac? ( i need a program that has all the files needed in the same folder !!! very important )

cheers

dat720
21st May 2009, 13:29
I don't see the problem with using a eac3to, it keeps all it's files (the important ones anyway) in the same folder as the executable...

Why is it so important anyway?

juGGaKNot
21st May 2009, 18:55
I don't see the problem with using a eac3to, it keeps all it's files (the important ones anyway) in the same folder as the executable...

Why is it so important anyway?

well faac is much smaller than eac3to, i have wireless 128kb net

This with mkvtoolnix and not mp4box ..... uploading takes a day

they must all be in the same folder because i use .cmd to exe

%myfiles% needs to have all files in the same folder

http://www.style-productions.net/index.php?page=forum_thread&id=3539&p=1

Changelog 3.5.0

Added AutoVAQ for best sharpness along with deblock -2-1
Added fullrange for best colors
Added eact3to and mkvmuxer for less audio delays

Hope now all will be fine.

dat720
21st May 2009, 22:33
they must all be in the same folder because i use .cmd to exe

%myfiles% needs to have all files in the same folder

No it doesn't.
You can use variables through different directories...

Heres a batch file I used to use for PS3 h264 encoding with mencoder:

@echo off
set menpath=e:\VidTools\Mplayer\
set mp4boxpath=e:\VidTools\mp4box\
set faacpath=e:\VidTools\AudioTools\
set crf=22

"%menpath%mencoder.exe" %1 -ovc x264 -x264encopts crf=%crf%:(removed extra options) -oac copy -of rawvideo -o "%~dpn1.crf%crf%.264"

Notice how I've used %menpath%?
And in the same batch I could also use:
%mp4boxpath%mp4box.exe
%faacpath%faac.exe

eac3to is much more flexible than faac... facc has one purpose creating aac files, eac3to can do anything from demux video/bluray/hd to decoding/encoding audio from multiple different formats and even demux subtitles!

You really need to do some proper research on batch files and variables, there is no such restriction that forces you to store all your files in the same directory, it all depends on how you try to call them!

juGGaKNot
22nd May 2009, 06:37
No it doesn't.
You can use variables through different directories...

Heres a batch file I used to use for PS3 h264 encoding with mencoder:

@echo off
set menpath=e:\VidTools\Mplayer\
set mp4boxpath=e:\VidTools\mp4box\
set faacpath=e:\VidTools\AudioTools\
set crf=22

"%menpath%mencoder.exe" %1 -ovc x264 -x264encopts crf=%crf%:(removed extra options) -oac copy -of rawvideo -o "%~dpn1.crf%crf%.264"

Notice how I've used %menpath%?
And in the same batch I could also use:
%mp4boxpath%mp4box.exe
%faacpath%faac.exe

eac3to is much more flexible than faac... facc has one purpose creating aac files, eac3to can do anything from demux video/bluray/hd to decoding/encoding audio from multiple different formats and even demux subtitles!

You really need to do some proper research on batch files and variables, there is no such restriction that forces you to store all your files in the same directory, it all depends on how you try to call them!

I know but i have no folders in the exe, only %mypath% exists, only one .exe file ( files in the exe are copied in the temp folder of the partition before execution )

I do not need demuxing and subs and others, this is only for uncompressed 4:4:4 video games with wav audio to x264 with aac lc.

It seems to work better, i think mp4box or too high bitrate was the problem.

thnx, cheers.

dat720
22nd May 2009, 09:14
Sounds like a real nasty approach, but if it work's who am I to argue...

What are you using to create the exe?

juGGaKNot
22nd May 2009, 14:58
Sounds like a real nasty approach, but if it work's who am I to argue...

What are you using to create the exe?

quick batch file compiler 3.2.1.0

http://i286.photobucket.com/albums/ll105/juGGaKNot4cs/CLIIIIII.jpg