VideoHelp Forum




+ Reply to Thread
Results 1 to 10 of 10
  1. Member
    Join Date
    Oct 2009
    Location
    France
    Search Comp PM
    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
    Quote Quote  
  2. 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.
    Quote Quote  
  3. Member
    Join Date
    Oct 2009
    Location
    France
    Search Comp PM
    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.
    Quote Quote  
  4. Originally Posted by flash_49
    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 ?
    Yes. There is no need to demux the video, it will be read directly from the TS file. You do need to demux the audio with DgAvcIndex as you were before.
    Quote Quote  
  5. Member
    Join Date
    Oct 2009
    Location
    France
    Search Comp PM
    Thank you very much for your answer. in my script AVS, it's only written : AvcSource("filename.dga") ?
    Quote Quote  
  6. Originally Posted by flash_49
    Thank you very much for your answer. in my script AVS, it's only written : AvcSource("filename.dga") ?
    Yes. Unless you want to do some filtering.
    Quote Quote  
  7. Member
    Join Date
    Oct 2009
    Location
    France
    Search Comp PM
    yes of course. I resize my video. That's all because i dont know how to do some other filtering. Thank you very much.
    Quote Quote  
  8. Member
    Join Date
    Oct 2009
    Location
    France
    Search Comp PM
    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
    Quote Quote  
  9. 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.
    Quote Quote  
  10. Member
    Join Date
    Oct 2009
    Location
    France
    Search Comp PM
    With Tssniper it doeesn't work. How can I keep the quality of TS File ?
    I would like to encode the TS File not the .264 file if it's possible.
    Then I don't undersand PID. Maybe this is the problem. And is it possible to convert PCM to MP3 ?
    Thank you very much
    I
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!