Hi,
I want to convert a MPEG TS H264 file with MPEG Audio in AVI. Now I use the H264 Cutter to cut my video and DGAVCDec to demux.
After that, I keep only the audio file and it is written a delay time. Then I open the TS file in VirtualDub with DDS and a AVS Script.
I throw away the other files (file .dga...)
I include the audio file which has been demuxed by DGAVCDec.
I put a interlaving time in Virtualbud, one is written in the name of the audio file which has been demuxed by DGAVCDec.
Then I encode in a divx ou xvid and the audio file in mp3 128 kbits. There was no out of sync
Everything was working when my computer crashed. I took another one and now it doesnt'work anymore.
Could help me please. I could you give a file to me if you want to.
Do you know another method to make that ?
Thanky you very much.
Flash_49
I hope there will be some answers, because you are the last one who can help me.
Thank you
+ Reply to Thread
Results 1 to 10 of 10
-
-
Since you are using DgAvcIndex keep the .DGA file. Open it with AvcSource("filename.dga"). Make sure you put DgAvcDecode.dll in the AviSynth plugins folder.
-
Ok I wil try. But it means that I shall keep the .264 file ?
Or I only keep the .DGA File aud Audio file ?
To summarize I put the DgAvcDecode.dll in the AviSynth plugins folder. Then I open the script with VirtualDub and the TS file will be opened ?
Thank you very much for answer. -
Originally Posted by flash_49
-
Thank you very much for your answer. in my script AVS, it's only written : AvcSource("filename.dga") ?
-
yes of course. I resize my video. That's all because i dont know how to do some other filtering. Thank you very much.
-
I havae tryied, but in fact it's as before. The AVCsource takes the TS File but the quality is bad as well. In fact, when I open the TS file in VirtualDub with DirectShow Decoder and then I put the Audio File which has been demuxed by DGAVSDec. I set the audio delay, but it's out of sync. What can I do ?
Maybe to do some filtering ?
Thanks -
If the audio is off by the same amount at the start and end you can just set a different delay.
If the audio delay changes you'll have to determine how it changes. If it starts out in sync then slowly gets more and more out of sync you can adjust the length of the audio (you'll have to re-encode it though) or the frame rate of the video (this may make playback a little jerky). If the delay changes suddenly, maybe in several places, you'll have to break the video into pieces and work with each piece individually.
It's possible for the audio delay to change within a TS file. This often happens at the ads. It can happen within a program too. It's also possible for the frame rate to change. Most editing software doesn't take this into account. h264ts_cutter can also cause audio sync problems. You may get better results (and more accurate cuts) if you do all the editing in VirtualDub. Try using TsSniper instead of h264ts_cutter. It's a little less problematic in my experience.
There are several resizing methods in AviSynth. Try using LanczosResize(width, height). Where width and height are integers -- for example: LanczosResize(720,480). The docs give more details and list the other methods. Use BilinearResize() for less sharp resizing, BicubicResize() or LanczosResize() for sharper resizing.
Similar Threads
-
transcoding from avi h264 to Quicktime H264
By muffinman123 in forum Video ConversionReplies: 1Last Post: 24th Sep 2011, 05:56 -
Converting an 1080p MKV (AVC1 H264 with DTS audio) to an AVI
By cpaqf1 in forum Video ConversionReplies: 5Last Post: 22nd Jun 2010, 21:50 -
AVIDeMux - H264 (.mp4) to .avi - Audio Sync 1000ms
By nlvraghavendra in forum Video ConversionReplies: 3Last Post: 9th Mar 2010, 14:50 -
MKV (H264, Interlaced, and MPEG Audio) to AVI.
By flash_49 in forum Video ConversionReplies: 4Last Post: 1st Nov 2009, 11:19 -
VOB to H264 MKV (AVI Synth and audio delay help)
By PsyCLown in forum Video ConversionReplies: 1Last Post: 20th Feb 2009, 01:52