VideoHelp.com Forum
+ Reply to Thread
Results 1 to 4 of 4
Thread
  1. Member
    Join Date: Mar 2008
    Location: United States
    How do I stop my audio/sound mp3 file from playing when the video is finished playing? This my code below.

    a = QTInput("C:\Documents and Settings\Administrator\Desktop\gymnastics_vid\DSCN 3076.MOV", color = 2, quality = 100, audio = false, mode = 0, raw = "yuyv", info = 0, dither = 0)
    b = QtInput("C:\Documents and Settings\Administrator\Desktop\gymnastics_vid\DSCN 3075.MOV", color = 2, quality = 100, audio = false, mode = 0, raw = "yuyv", info = 0, dither = 0)
    c = QtInput("C:\Documents and Settings\Administrator\Desktop\gymnastics_vid\DSCN 3074.MOV", color = 2, quality = 100, audio = false, mode = 0, raw = "yuyv", info = 0, dither = 0)

    the_audio=DirectShowSource ("C:\music\Club_Break_Beats_Techno\(Armand_Van_Hel den)_-_Witch_Doktor.mp3")
    combined= a+b

    test_clip=AudioDub(combined, the_audio)
    logo = imagesource("C:\Documents and Settings\Administrator\Desktop\video_editing\proje cts\gymnastics\Brand\brand_blank_ver_0.png", end=100).ConvertToYUY2 ().assumefps(test_clip)

    logo = audiodub(logo, blankclip(test_clip, length=logo.FrameCount()))

    logo + test_clip

    My ideas are something to do with KillAudio() at the last frame of the movie. I am not sure how to construct this. Any help would be appreciated, thanks.
    Quote Quote  

  2. Banned
    Join Date: Jun 2007
    Location: UNREACHABLE
    Fruitless comment:

    any path that begins with "Docs and Settings\etc" is a bad idea IMHO
    (annoyingly long + cocksucks the "geniuses" from Microsoft).
    Quote Quote  

  3. Member
    Join Date: Mar 2008
    Location: United States
    [SOLUTION SOLVED]

    trim(0,last.FrameCount()-1)

    This is how you fix this problem. I am using SUPER @ as the encoder, maybe this might be the problem.
    Quote Quote  

  4. Banned
    Join Date: Jun 2007
    Location: UNREACHABLE
    lindylex wrote:

    [SOLUTION SOLVED]
    Better click the "edit" button for the starting post of this thread and then
    add the tag [SOLVED] to the title.

    I have never tried the "QTinput()" thing, so I don't know if it works
    as good as/better than "DirectShowSource()".

    Anyway I would never use the same term ("logo") for meaning two
    or more distinct things unless it was strictly necessary for the programming code
    (yes, Avisynth can go much more complex than you've ever thought )

    P.S.: Folders on the desktop still are a very bad idea IMO.
    Quote Quote  




Similar Threads

  1. Replies: 2
    Last Post: 21st Aug 2011, 05:27
  2. How to add an mp3 audio file onto an mp4 video file?
    By Tintin11 in forum Restoration
    Replies: 4
    Last Post: 4th Nov 2010, 06:01
  3. Replies: 8
    Last Post: 17th Jun 2010, 10:06
  4. Replies: 2
    Last Post: 26th Jun 2009, 19:13
  5. How to merge audio file(mp3) and a video file (flv)
    By suresh3484 in forum Video Streaming
    Replies: 0
    Last Post: 20th May 2008, 00:15
Search   Contact us   About   Advertise   Forum   RSS Feeds   Statistics   Tools