VideoHelp Forum




+ Reply to Thread
Results 1 to 8 of 8
  1. Hello,
    I have my DV avi and load it in VirtualDubMod and I delete the sections where there are commecials. Then I go to the script editor and do the "Import Frameset as Trims" and copy this line to the edit avs dialogue in dvd2svcd (in avi2svcd mode w/ CCE as encoder) when I encode.

    So it looks something like this:

    AVISource("E:\tvcaps\testfiles\test1.avi",audio=fa lse)
    Trim(327,912) ++ Trim(1110,4523)
    ConvertToYUY2(interlaced=true)
    .
    .
    .

    But after I view the resulting mpg, I see that the video was cut, but the audio apparently didn't get cut, and everything is out of sync. Its weird.
    What happens is since the vid parts were cut , it's shorter and so when it stops at the last frame, the rest of the audio continues to play until it reaches the end.

    The other way that worked was just basically doing the cuts in VirtualDubMod and doing a Save As. But that is not an option for the actual files which are huge, and making a duplicate without commecials would use up all hard drive space.

    How can I fix this? I don't know what I am doing wrong. Thanks for any suggestions!

    EDIT
    I saw here that they used only one + and not ++, what's the difference?
    Quote Quote  
  2. Member NamPla's Avatar
    Join Date
    Jun 2004
    Location
    Whoop Whoop
    Search Comp PM
    Try losing the "audio=false" command.
    Quote Quote  
  3. Member
    Join Date
    Apr 2002
    Location
    Oskeeweewee Ontario
    Search Comp PM
    AVISource("E:\tvcaps\testfiles\test1.avi")
    Clip1=Trim(327,912)
    Clip2=Trim(1110,4523)
    UnalignedSplice(clip1,clip2)
    ConvertToYUY2(interlaced=true)

    Good luck!!!
    Quote Quote  
  4. Nope, none of those worked!
    I tried taking out audio=false, didn't work, tried audio=true didn't work, tried the above script, audio still out of sync, and it it's not trimming the right spots now...ahhhh

    I went to avisynth.org and found this:
    AlignedSplice and UnalignedSplice join two or more video clips end to end. The difference between the filters lies in the way they treat the sound track. UnalignedSplice simply concatenates the sound tracks without regard to synchronization with the video. AlignedSplice cuts off the first sound track or inserts silence as necessary to ensure that the second sound track remains synchronized with the video.

    UnalignedSplice -> +
    AlignedSplice -> ++

    I dunno what else to do.
    Quote Quote  
  5. Member
    Join Date
    Apr 2002
    Location
    Oskeeweewee Ontario
    Search Comp PM
    How do these .AVS files sound when you open them up directly into VirtualDub?? Do you get the same results??
    What does the File information read??
    Just a guess, but perhaps a Type1 DV and/or a Type2 DV would be a possible issue ?!?!

    Puzzling..
    Quote Quote  
  6. Member NamPla's Avatar
    Join Date
    Jun 2004
    Location
    Whoop Whoop
    Search Comp PM
    I "import frameset as trims", save the new script, then open it again in VirtualDub (regular version) to save the wav. Then I encode the video separately, & join it to the (de-hissed) audio in the authoring stage. I can't say I've encountered your problem? But then, like I've said, I process the audio & video streams separately. (Don't know if this makes any difference?)...
    Quote Quote  
  7. Here's file info:


    It's a type2 DV avi , plays fine in VirtualDub and VirtualDubMod... I will try out NamPla's way... I been useing DVD2SVCD to automate everything, it sucks if I have take another extra step, I was hoping Trim() would work!!!

    I think what I'll do is after it extracts the audio (it calls it Extracted_audio_1.wav) , I'll replace it with the wav saved from virtualdub? We'll see what happens...

    EDIT
    Ok, I re-read the posts, you said avs file, well when I open that up, the video will play with the trimmed parts, but there is no sound!

    And when I did try opening up the avs in virtualdub and tried doing Save WAV... , I get error message: No input audio stream to extract.
    Quote Quote  
  8. Member NamPla's Avatar
    Join Date
    Jun 2004
    Location
    Whoop Whoop
    Search Comp PM
    Try losing the "audio = false" command.

    :P

    (I put that in just before I encode the video, not sure if it speeds up the encoding or not, but what the hell).
    Quote Quote  



Similar Threads

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