I've had this problem before with an H264/AAC, and was able to fix it after demuxing the files and converting the AAC file into a wav using foobar
Now with this series of anime I'm working on, I'm unable to get the video and audio to sync at all. Unsure what the problem is.
What I usually do is demux with MKCleaver and convert the H264 file to AVI during the demux. I then take the AAC file, convert it to wav in foobar, then using AVISYNTH to mux them together into TMPGencAW or MW to and hardsub the ASS subs at the same time.
Not working on this new batch at ALL
Mediainfo
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.1
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 23mn 6s
Nominal bit rate : 923 Kbps
Width : 640 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 25.685 fps
Original frame rate : 29.970 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.117
Title : FILENAME
Writing library : x264 core 58 r785M 192768d
Encoding settings : cabac=1 / ref=2 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=hex / subme=6 / me-prepass=0 / brdo=1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=0 / threads=3 / nr=0 / decimate=0 / mbaff=0 / bframes=2 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=2pass / bitrate=923 / ratetol=1.0 / rceq='blurCplx^(1-qComp)' / qcomp=1.00 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:0.5:13.0
Default : Yes
Forced : No
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : A_AAC
Duration : 23mn 6s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Language : Japanese
Default : Yes
Forced : No
Text
ID : 3
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Compression mode : Lossless
Title : Ryuu-Rogue Fansubs - http://ryuu-rogue.livejournal.com/
Language : English
Default : Yes
Forced : No
My Usual script I use for AVS won't sync them at all. I've tried using DirectShowSource as well, same problem, and AVISource just won't parse the h264 AVI. One thing I also notice when I bring it into TMPGenc is the video become 24 minutes long instead of the 23mins 6 seconds
Script:
LoadPlugin("C:\Program Files\AVStoDVD\VobSub\VSFilter.dll")
Import("C:\Program Files\AVStoDVD\Lib\A2DSource.avsi")
Video = A2DVideoSource("D:\Anime\FILENAME.avi", CacheFolder="C:\DOCUME~1\XXX\LOCALS~1\Temp")
video = video.TextSub("D:\Anime\FILENAME.ass")
Audio = A2DAudioSource("D:\Anime\FILENAME.wav", CacheFolder="C:\DOCUME~1\XXX\LOCALS~1\Temp")
Video = Video.ConvertToYV12
Video = Video.Lanczos4Resize(704,480)
AudioDub(Video, Audio)
Now with this series of anime I'm working on, I'm unable to get the video and audio to sync at all. Unsure what the problem is.
What I usually do is demux with MKCleaver and convert the H264 file to AVI during the demux. I then take the AAC file, convert it to wav in foobar, then using AVISYNTH to mux them together into TMPGencAW or MW to and hardsub the ASS subs at the same time.
Not working on this new batch at ALL
Mediainfo
Quote:
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.1
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 23mn 6s
Nominal bit rate : 923 Kbps
Width : 640 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 25.685 fps
Original frame rate : 29.970 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.117
Title : FILENAME
Writing library : x264 core 58 r785M 192768d
Encoding settings : cabac=1 / ref=2 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=hex / subme=6 / me-prepass=0 / brdo=1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=0 / threads=3 / nr=0 / decimate=0 / mbaff=0 / bframes=2 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=2pass / bitrate=923 / ratetol=1.0 / rceq='blurCplx^(1-qComp)' / qcomp=1.00 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:0.5:13.0
Default : Yes
Forced : No
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : A_AAC
Duration : 23mn 6s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Language : Japanese
Default : Yes
Forced : No
Text
ID : 3
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Compression mode : Lossless
Title : Ryuu-Rogue Fansubs - http://ryuu-rogue.livejournal.com/
Language : English
Default : Yes
Forced : No
Script:
LoadPlugin("C:\Program Files\AVStoDVD\VobSub\VSFilter.dll")
Import("C:\Program Files\AVStoDVD\Lib\A2DSource.avsi")
Video = A2DVideoSource("D:\Anime\FILENAME.avi", CacheFolder="C:\DOCUME~1\XXX\LOCALS~1\Temp")
video = video.TextSub("D:\Anime\FILENAME.ass")
Audio = A2DAudioSource("D:\Anime\FILENAME.wav", CacheFolder="C:\DOCUME~1\XXX\LOCALS~1\Temp")
Video = Video.ConvertToYV12
Video = Video.Lanczos4Resize(704,480)
AudioDub(Video, Audio)