Results 1 to 3 of 3

Thread: Combine Video with no Audio with Video that Has Audio

  1. #1
    Join Date
    Feb 2006
    Location
    Kentucky
    Beans
    571
    Distro
    Ubuntu

    Combine Video with no Audio with Video that Has Audio

    I have 3 video files I need to combine. Two of them have audio, and one of them I sped up with mencoder and the "noaudio" option since it runs at 360fps to speed through a portion of what I was recording. However, when I try to join the sped up video with the two normal ones, mencoder tells me:
    Code:
    Cannot mix video-only files with audio and video files. Try -nosound.
    After speeding up the video with no audio, I re-sampled the video so it actually runs at 30 fps so it matches up with the other two videos.

    I strung them together with OpenShot, except every time I use OpenShot the video/audio sync gets way off after a minute or two, and AVIDemux crashes constantly, all you can do is edit one video file and cut/edit parts out of it, but appending a video, opening a menu, anything but editing one video causes it to crash with no output if ran from the terminal.
    "Civilization is the limitless multiplication of unnecessary necessities."
    -- Mark Twain

  2. #2
    Join Date
    Sep 2006
    Beans
    3,713

    Re: Combine Video with no Audio with Video that Has Audio

    1. You should get a recent ffmpeg build. If you're lazy you can do:
    Code:
    wget http://ffmpeg.gusari.org/static/32bit/ffmpeg.static.32bit.$(date +"%F").tar.gz
    tar xzvf ffmpeg.static.32bit.$(date +"%F").tar.gz
    or compile ffmpeg.

    2. Then show some information about your inputs (notice the ./ for using the static build):
    Code:
    ./ffmpeg -i input0.mp4 -i input1.mp4 -i imput2.mp4
    Please show the complete ffmpeg console output.

  3. #3
    Join Date
    Feb 2006
    Location
    Kentucky
    Beans
    571
    Distro
    Ubuntu

    Re: Combine Video with no Audio with Video that Has Audio

    Thanks for your reply,
    I figured out before your reply that I could just open the video in OpenShot, then export it with a silent audio track, and that allowed it to be joined with the other videos. That way it had an audio track mencoder detected, it was just a silent one.
    "Civilization is the limitless multiplication of unnecessary necessities."
    -- Mark Twain

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •