There is a huge delay in the audio after converting an mkv file to folder structure.
Here is the log:
<7/14/2012 5:16:57 PM>
START PROCESS
<>
<7/14/2012 5:16:57 PM>
PROJECT SETTINGS
DVD Video Standard: NTSC
DVD Titles number: 1
DVD Size: 4449/4450 MB (100%)
DVD Output Setup: DVD Folder
DVD Label: DVD
DVD Menu: No Menu
Output Folder: F:\DVDOutput
Delete Temp Process Files: Yes
Delete Working Files: Yes
Edit Command Parameters: No
Post Process Task: Show Progress Status window
PREFERENCES
MultiThread: 1
AVS Source Filter: A2DSource
AVS UpSize/DownSize Filter: Lanczos4Resize/Spline64Resize
PAL SpeedUp: 0
Video Resolution: 0
Video BitRate Min: 2500
Video BitRate Level 1: 6500
Video Profile Level 2: 4500
Video BitRate Max: 8500
Keep DVD Compliant Video: 1
AC3 Audio Encoder: 0
Force FFmpeg for Long Audio: 1
DVD Audio Format: 0
DVD Audio BitRate: 192
Keep DVD Compliant Audio: 0
Normalize Audio: 0
Auto Delay Audio: 1
DVD Audio Language (Primary): EN - English
DVD Audio Language (Secondary): EN - English
DVD Subs Language (Primary): EN - English
DVD Subs Language (Secondary): EN - English
DVD Subs Font: Tahoma 18pt (255,255,255)
Chapters Interval: 5
Use Source Chapters: 1
DVD Burning Drive: G: LITE-ON DVDRW SHW-160P6S PS0A
DVD Burning Speed: 4x
Auto Erase DVD RW: 1
Save Log file: 1
Display errors messages: 1
Unload ActiveMovie library: 0
Adjust ffdshow mixer: 1
Save General Settings: 0
<>
<7/14/2012 5:16:57 PM>
TITLE 1 SOURCE FILES
Video: F:\Video1\MontyPythonandtheHolyGrail\MontyPythonan dtheHolyGrail.mkv
Info: MPEG-2 Video - 6093 kbps - 720x480 - DAR 1.777 - 29.97 fps (CFR) - Interlaced (TFF) - 1:32:08 hours - 165700 frames
Audio 1: F:\Video1\MontyPythonandtheHolyGrail\MontyPythonan dtheHolyGrail.mkv
Info: AC3 - 448 kbps - CBR - 6 ch - 48000 Hz - 16 bit - 1:32:08 hours (0 ms delay) - Internal
[MediaInfoLib - v0.7.50]
<>
<7/14/2012 5:16:57 PM>
AVISYNTH SCRIPT
Import("C:\Program Files\AVStoDVD\Lib\A2DSource.avsi")
Video = A2DVideoSource("F:\Video1\MontyPythonandtheHolyGra il\MontyPythonandtheHolyGrail.mkv", CacheFolder="F:\Temp", FrameRate=29.97, VFR=false)
Audio = A2DAudioSource("F:\Video1\MontyPythonandtheHolyGra il\MontyPythonandtheHolyGrail.mkv", CacheFolder="F:\Temp")
Video = Video.ConvertToYV12(interlaced=true)
AudioDub(Video, Audio)
<>
<7/14/2012 5:16:57 PM>
START VIDEO ENCODING OPERATIONS
Encoding Profile: HCenc VBR 1-pass
Target Video FileSize: 4063.4 MB
HCenc Parameters: -ini "F:\Temp\DVD_0_MontyPythonandtheHolyGrail.HCenc.in i"
HCenc ini file:
*INFILE F:\Temp\DVD_0_MontyPythonandtheHolyGrail_1.avs
*AVSRELOAD
*OUTFILE F:\DVDAssets\DVD_0_MontyPythonandtheHolyGrail.m2v
*LOGFILE F:\Temp\DVD_0_MontyPythonandtheHolyGrail.HCenc.log
*MAXBITRATE 9000
*1PASS
*BITRATE 6165
*PROFILE BEST
*ASPECT 16:9
*INTERLACED
*TFF
*BIAS 60
*DC_PREC 10
*MATRIX MPEG
*AQ 1
*LUMGAIN 1
*SMP
*PRIORITY IDLE
*WAIT 2
<>
<7/14/2012 6:36:20 PM>
END VIDEO ENCODING OPERATIONS
A2DVideoSource: DirectShowSource
Created File: F:\DVDAssets\DVD_0_MontyPythonandtheHolyGrail.m2v (3824.6 MB)
OUTPUT VIDEO INFO: MPEG-2 Video - 5844 kbps - 720x480 - DAR 1.778 - 29.97 fps (CFR) - Interlaced (TFF) - 1:32:08 hours - 165700 frames
<>
<7/14/2012 6:36:22 PM>
START AUDIO ENCODING OPERATIONS (Track 1)
Wavi+Aften Parameters: "F:\Temp\DVD_0_MontyPythonandtheHolyGrail_1.av s" - | "C:\Program Files\AVStoDVD\Aften\aften.exe" -b 448 -pad 0 -dynrng 5 -bwfilter 0 - "F:\DVDAssets\DVD_0_MontyPythonandtheHolyGrail_1.a c3"
<>
<7/14/2012 8:21:18 PM>
START (BACKUP) AUDIO ENCODING OPERATIONS (Track 1)
FFmpeg Parameters: -threads 2 -i "F:\Video1\MontyPythonandtheHolyGrail\MontyPythona ndtheHolyGrail.mkv" -y -vn -acodec ac3 -sample_fmt flt -ar 48000 -ab 448k "F:\DVDAssets\DVD_0_MontyPythonandtheHolyGrail_1.a c3"
<>
<7/14/2012 8:26:07 PM>
END AUDIO ENCODING OPERATIONS (Track 1)
A2DAudioSource: DirectShowSource
Created File: F:\DVDAssets\DVD_0_MontyPythonandtheHolyGrail_1.ac 3 (295.3 MB)
OUTPUT AUDIO INFO: AC3 - 448 kbps - CBR - 6 ch - 48000 Hz - 16 bit - 1:32:08 hours (0 ms delay)
<>
<7/14/2012 8:26:07 PM>
START DVD AUTHORING OPERATIONS
BatchMux Parameters: -arglist "F:\Temp\DVD_0_BatchMux.ini"
BatchMux ini file:
-d "F:\DVDOutput\DVD_0\VIDEO_TS"
-mxp "F:\Temp\DVD_0_MuxMan.mxp"
-l "F:\Temp\DVD_0_MuxMan.log"
-muxman "C:\Program Files\AVStoDVD\MuxMan"
-prio LOW
-palette "F:\Temp\DVD_0_Palette.txt"
-v "F:\DVDAssets\DVD_0_MontyPythonandtheHolyGrail.m2v "
-vidmode LB
-a1 "F:\DVDAssets\DVD_0_MontyPythonandtheHolyGrail_1.a c3"
-a1lang en
-cellfr "F:\DVDAssets\DVD_0_MontyPythonandtheHolyGrail_Cha pters.txt"
-progfr "F:\DVDAssets\DVD_0_MontyPythonandtheHolyGrail_Cha pters.txt"
-chapfr "F:\DVDAssets\DVD_0_MontyPythonandtheHolyGrail_Cha pters.txt"
<>
<7/14/2012 8:34:07 PM>
CHECK DVD SIZE
DVD Folder (actual) Size: 4200.7 MB
vs Estimated Size: 4449 MB -> 5.6% undersize
vs Assets Size: 4119.9 MB -> OK
<>
<7/14/2012 8:34:07 PM>
END DVD AUTHORING OPERATIONS
Created Folder: F:\DVDOutput\DVD_0 (4200.7 MB)
<>
<7/14/2012 8:34:07 PM>
Log file created by AVStoDVD Release 2.4.2
<>
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 24 of 24
Thread
-
-
I don't use AVStoDVD, but I notice that your source audio is AC3 448 kbps, which is the same spec as your output. So you could just use the original audio (e.g. with MKVExtractGUI) and get a better result, don't know if it will help your sync problem though.
For that matter, the source video is MPEG2. So you don't need to reencode that either.
Really, this MKV looks like it's a DVD video converted to MPEG and put in a MKV container. You just need to reverse the process, don't need to reencode anything, and very quickly you will have exactly the same as the original.Last edited by AlanHK; 14th Jul 2012 at 22:50.
-
-
Use MKVExtractGUI and get the video and audio as MPEG and AC3.
From the specs, they look DVD compatible, so a normal DVD authoring app should be able to use them.
I use GfD, or Rejig is a very simple app that makes DVDs without menus.
Both let you apply an audio delay if necessary.
See https://www.videohelp.com/tools/sections/authoring-dvd for others.Last edited by AlanHK; 15th Jul 2012 at 03:43.
-
-
OK, I did MKVExtractGUI > Rejig > ImgBurn.
Plays fine on the PC but on my Sony Blu Ray I get a bad picture. See attached.
I burned at 4x, should I choose a slower speed? Or maybe make .iso then burn?
I used the same media as before once when doing the whole process through AVStoDVD and the video displayed fine however like I said the audio was off. -
Oh, actually just noticed it does not list 4x as a valid burn speed for my burner. Maybe I should choose a faster speed that is supported? 6x 8x 12x 16x?
-
tried burning at 12x and 1x. Made two more coasters.
Here is the imgburn log at 1x:
I 15:11:57 ImgBurn Version 2.5.5.0 started!
I 15:11:57 Microsoft Windows XP Professional (5.1, Build 2600 : Service Pack 3)
I 15:11:57 Total Physical Memory: 1,046,324 KB - Available: 432,220 KB
I 15:11:57 Initialising SPTI...
I 15:11:57 Searching for SCSI / ATAPI devices...
I 15:11:57 -> Drive 1 - Info: LITE-ON DVDRW SHW-160P6S PS0A (G (ATA)
I 15:11:57 -> Drive 2 - Info: LITE-ON DVD SHD-16P1S GS03 (H (ATA)
I 15:11:57 -> Drive 3 - Info: Generic DVD-ROM 1.0 (I (SCSI)
I 15:11:57 Found 2 DVD-ROMs and 1 DVD±RW!
I 15:12:16 Operation Started!
I 15:12:16 Building Image Tree...
I 15:12:16 Checking Directory Depth...
I 15:12:16 Calculating Totals...
I 15:12:16 Preparing Image...
I 15:12:16 Checking Path Length...
I 15:12:16 Contents: 9 Files, 2 Folders
I 15:12:16 Content Type: DVD Video
I 15:12:16 Data Type: MODE1/2048
I 15:12:16 File System(s): ISO9660, UDF (1.02)
I 15:12:16 Volume Label: [Not Configured]
I 15:12:16 IFO/BUP 32K Padding: Enabled
I 15:12:16 Region Code: 1, 2, 3, 4, 5, 6, 7, 8
I 15:12:16 TV System: NTSC
I 15:12:16 Size: 4,492,703,744 bytes
I 15:12:16 Sectors: 2,193,703
I 15:12:16 Image Size: 4,493,312,000 bytes
I 15:12:16 Image Sectors: 2,194,000
I 15:12:16 Operation Successfully Completed! - Duration: 00:00:00
I 15:12:48 Operation Started!
I 15:12:48 Building Image Tree...
I 15:12:48 Checking Directory Depth...
I 15:12:48 Calculating Totals...
I 15:12:48 Preparing Image...
I 15:12:48 Checking Path Length...
I 15:12:48 Contents: 9 Files, 2 Folders
I 15:12:48 Content Type: DVD Video
I 15:12:48 Data Type: MODE1/2048
I 15:12:48 File System(s): ISO9660, UDF (1.02)
I 15:12:48 Volume Label: MONTY_PYTHON_HOLY_GRAIL
I 15:12:48 IFO/BUP 32K Padding: Enabled
I 15:12:48 Region Code: 1, 2, 3, 4, 5, 6, 7, 8
I 15:12:48 TV System: NTSC
I 15:12:48 Size: 4,492,703,744 bytes
I 15:12:48 Sectors: 2,193,703
I 15:12:48 Image Size: 4,493,312,000 bytes
I 15:12:48 Image Sectors: 2,194,000
I 15:12:50 Operation Successfully Completed! - Duration: 00:00:01
I 15:12:50 Operation Started!
I 15:12:50 Source File: -==/\/[BUILD IMAGE]\/\==-
I 15:12:50 Source File Sectors: 2,194,000 (MODE1/2048)
I 15:12:50 Source File Size: 4,493,312,000 bytes
I 15:12:50 Source File Volume Identifier: MONTY_PYTHON_HOLY_GRAIL
I 15:12:50 Source File Volume Set Identifier: 40EF799800217A4E
I 15:12:50 Source File Application Identifier: IMGBURN V2.5.5.0 - THE ULTIMATE IMAGE BURNER!
I 15:12:50 Source File Implementation Identifier: ImgBurn
I 15:12:50 Source File File System(s): ISO9660, UDF (1.02)
I 15:12:50 Destination Device: [0:0:0] LITE-ON DVDRW SHW-160P6S PS0A (G (ATA)
I 15:12:50 Destination Media Type: DVD-R (Disc ID: SONY16D1) (Speeds: 6x, 8x, 12x, 16x)
I 15:12:50 Destination Media Sectors: 2,298,496
I 15:12:50 Write Mode: DVD
I 15:12:50 Write Type: DAO
I 15:12:50 Write Speed: 1x
I 15:12:50 Link Size: Auto
I 15:12:50 Lock Volume: Yes
I 15:12:50 Test Mode: No
I 15:12:50 OPC: No
I 15:12:50 BURN-Proof: Enabled
W 15:12:50 Write Speed Miscompare! - MODE SENSE: 8,310 KB/s (6x), GET PERFORMANCE: 8,864 KB/s (6.6x)
W 15:12:50 Write Speed Miscompare! - MODE SENSE: 8,310 KB/s (6x), GET PERFORMANCE: 8,864 KB/s (6.6x)
W 15:12:50 Write Speed Miscompare! - MODE SENSE: 8,310 KB/s (6x), GET PERFORMANCE: 8,864 KB/s (6.6x)
W 15:12:50 Write Speed Miscompare! - MODE SENSE: 8,310 KB/s (6x), GET PERFORMANCE: 8,864 KB/s (6.6x)
W 15:12:50 Write Speed Miscompare! - Wanted: 1,385 KB/s (1x), Got: 8,310 KB/s (6x) / 8,864 KB/s (6.6x)
I 15:12:50 Advanced Settings - Force HT: No, Online HT: N/A, OverSpeed: No, SmartBurn: Yes
I 15:12:50 Filling Buffer... (40 MB)
I 15:12:51 Writing LeadIn...
I 15:13:56 Writing Session 1 of 1... (1 Track, LBA: 0 - 2193999)
I 15:13:56 Writing Track 1 of 1... (MODE1/2048, LBA: 0 - 2193999)
I 15:23:03 Synchronising Cache...
I 15:23:22 Exporting Graph Data...
I 15:23:22 Graph Data File: C:\Documents and Settings\NM\Application Data\ImgBurn\Graph Data Files\LITE-ON_DVDRW_SHW-160P6S_PS0A_SUNDAY-JULY-15-2012_3-12_PM_SONY16D1_1x.ibg
I 15:23:22 Export Successfully Completed!
I 15:23:22 Operation Successfully Completed! - Duration: 00:10:32
I 15:23:22 Average Write Rate: 8,021 KB/s (5.8x) - Maximum Write Rate: 8,428 KB/s (6.1x) -
-
Sorry, photo is attached now.
Here is the results from mediainfo for the .vob files from rejig:
could it be the odd frame rate?
My blu ray player is the google tv one. It plays the .mkv fine but when I try to play the .vob it displays garbage like in the pic.
General
Complete name : F:\Video1\MontyPythonandtheHolyGrail\New Folder\VIDEO_TS\VTS_01_1.VOB
Format : MPEG-PS
File size : 1 024 MiB
Duration : 22mn 41s
Overall bit rate mode : Variable
Overall bit rate : 6 308 Kbps
Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings, BVOP : Yes
Format settings, Matrix : Custom
Duration : 22mn 41s
Bit rate mode : Variable
Bit rate : 5 735 Kbps
Maximum bit rate : 9 800 Kbps
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 16:9
Frame rate : 29.970 fps
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.554
Stream size : 931 MiB (91%)
Audio
ID : 189 (0xBD)-128 (0x80)
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Muxing mode : DVD-Video
Duration : 22mn 41s
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 72.7 MiB (7%) -
-
According to the avstodvd log you're using 1 pass VBR mode. The program will auto select which mode according to the input file bit rate. IMO one of a number of bad decisions.
Trouble is, 2 pass vbr is the only way to get consistent results with avstodvd. I don't use it anymore ... or any other dvd author ... but I've used it many times. I learned to always use 2 pass vbr mode. I don't give a damn what anyone else says, it's the only way with that program to get reasonably consistent quality. And it really helps with audio/video sync.
I can't guarantee that'll work ... just because vlc will play it properly doesn't mean it'll convert properly ... but it usually helps. -
-
-
Does the sync get progressively worse, or is it out the same amount all the way through?
If it's the same delay all the way through, you can delay or advance the audio
in the project AviSynth tab. You can use the Trim function to just encode a small section to check it
(for example, 0-5000 frames) -
2 pass encoding should give you more consistent quality and a possibly a more exact file size as the first pass analyses the video so the second pass can distribute the bits better for consistent quality. How that'd effect audio sync I'm not really sure.
MKVs can use audio and video delays, as can most other video containers. If there's an audio delay used in the MKV file, will AVStoDVD automatically apply the same delay?
Audio in MKVs can also be "stretched" as well as delayed, and while it's maybe not done very often it may cause a problem. Is the audio out by a consistent amount all the way through?
Open the MKV using MediaInfo. Use the view menu to change the view to html. Down in the audio section (there'll be one for each audio stream) MediaInfo should display a "delay relative to video" value (or something like that) if an audio delay was used.
Aside from the delay, I'd burn another DVD video disc and try it in your player to confirm it's playback issues aren't being caused by poor quality burns. I've had mixed success using Sony media, although it's supposed to be quite good, and at one stage I owned a DVD player which was very fussy regarding the quality of burns and/or the type of blank disc. You could try ripping a "bought" DVD and burning it to disc, just shrinking it to fit using DVD Shrink if necessary. If that plays okay, then look at the encoded video.
One thing I noticed, and not having converted video to DVD format much at all..... some AVI capable DVD players didn't (or don't) happily play mpeg4 video which wasn't encoded using the standard h263 matrix. Can the same apply when encoding mpeg2? It's just that I noticed according to MediaInfo your DVD video was encoded using a custom matrix. Can that be changed, and/or could it ever cause playback problems?
On the odd occasion I've had audio sync problems when converting for which I simply cannot find a cause. Sometimes adjusting the frame rate a little fixes it... a few days ago I re-encoded an MKV containing 25fps video as an AVI. To get the audio to sync I had to change the AVI's frame rate to 24.955fps and apply a 100ms delay to the audio, then it was perfect. Probably no help in your case.....
It appears you'd want to simply use the existing video and audio, but if all else fails..... my last resort audio sync method is to convert the video (and audio) to a lossless AVI using AnyVideoConverter. I don't know what it does to be clever but with it's audio sync setting on maximum (and set to "default" rather than "basic") it always produces an output which is in sync and I can then re-encode the lossless AVI using any software without sync issues. I've used AnyVideoConverter for that reason quite a few times. -
Yes, it does, using MediaInfo audio delay reading. See 'Preferences'/'Audio'/'Auto adjust delay'
BTW whammoed's mkv does not show any delay.
TITLE 1 SOURCE FILES
Video: F:\Video1\MontyPythonandtheHolyGrail\MontyPythonan dtheHolyGrail.mkv
Info: MPEG-2 Video - 6093 kbps - 720x480 - DAR 1.777 - 29.97 fps (CFR) - Interlaced (TFF) - 1:32:08 hours - 165700 frames
Audio 1: F:\Video1\MontyPythonandtheHolyGrail\MontyPythonan dtheHolyGrail.mkv
Info: AC3 - 448 kbps - CBR - 6 ch - 48000 Hz - 16 bit - 1:32:08 hours (0 ms delay) - Internal
[MediaInfoLib - v0.7.50]
Bye -
-
I have made a disc successfully using FreemakeVideoConverter. Seems to be a slight loss in quality but this is just to take on vacation and will likely be discarded. I only have a few of these to do for damaged or lost/unreturned discs so I think I can live with it.
I also had success with multiAVCHD however oddly enough the quality was even worse than FreemakeVideoConverter even though I had seemingly better options to choose the quality.
I don't know why it wouldn't work with MKVExtractGUI > Rejig. I know it's not the media because the blu ray player showed the same issue with the .vob files playing directly from a SMB share. -
Take a look here: https://forum.videohelp.com/threads/311331-How-to-fix-audio-out-of-sync-in-a-DVD-withou...y-reconverting
Or download the free trial of VideoRedo TV Suite and run the QuickStream Fix tool and output to a new DVD.
Similar Threads
-
No Audio when converting MKV to DVD using AVStoDVD?
By |StarscreaM| in forum Video ConversionReplies: 14Last Post: 8th Jan 2013, 23:57 -
AVSTODVD avi to dvd audio sync problem
By stem300 in forum Authoring (DVD)Replies: 6Last Post: 26th Dec 2011, 13:52 -
AVStoDVD Audio sync (m2ts source)
By newbtube in forum Video ConversionReplies: 10Last Post: 5th May 2011, 22:57 -
AVStoDVD audio out of sync from TS source
By nazopo in forum DVD RippingReplies: 3Last Post: 20th Dec 2010, 22:02 -
alltoMKV converted MKV file sound out of sync.
By necrobutcher in forum Video ConversionReplies: 1Last Post: 10th Jun 2008, 17:25