Results 1 to 7 of 7

Thread: How to join/merge audio and video files in ubuntu?

  1. #1
    Join Date
    Nov 2010
    Beans
    69

    Thumbs down How to join/merge audio and video files in ubuntu?

    This commands doesn't work for me..
    Code:
    cat file1 file2 file3 > joinedfile
    I found also avimerge, transcode and mencoder but you must install them and i want to avoid this .. so is there any package installed that with a command it joins/merges audio and video files?

  2. #2
    Join Date
    Nov 2010
    Beans
    69

    Thumbs down Re: How to join/merge audio and video files in ubuntu?

    With mencoder it works just fine!

    Code:
    mencoder -oac copy -ovc copy -idx -o output.avi video1.avi video2.avi video3.avi
    But is mencoder the best one ( the fastest, more reliable )?

  3. #3
    Join Date
    Jan 2006
    Beans
    Hidden!
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: How to join/merge audio and video files in ubuntu?

    mencoder is a good option. you won't find something inherently "better"
    I am infallible, you should know that by now.
    "My favorite language is call STAR. It's extremely concise. It has exactly one verb '*', which does exactly what I want at the moment." --Larry Wall
    (02:15:31 PM) ***TimToady and snake oil go way back...
    42 lines of Perl - SHI - Home Site

  4. #4
    Join Date
    Nov 2010
    Beans
    69

    Re: How to join/merge audio and video files in ubuntu?

    Guys i am ok on how to join videos.. But i do not know how to join audio files.. Any ideas?

  5. #5
    Join Date
    Sep 2007
    Location
    Christchurch, New Zealand
    Beans
    1,328
    Distro
    Ubuntu

    Re: How to join/merge audio and video files in ubuntu?

    Quote Originally Posted by Bong.Da.City View Post
    Guys i am ok on how to join videos.. But i do not know how to join audio files.. Any ideas?
    Did you try ffmpeg ?
    Take nothing but photographs. Leave nothing but footprints.

  6. #6
    Join Date
    Nov 2010
    Beans
    69

    Re: How to join/merge audio and video files in ubuntu?

    Quote Originally Posted by worksofcraft View Post
    Did you try ffmpeg ?
    Yes i know ffmpeg... i am using ffmpeq in my program.. but what is the command to join/merge audio files with ffmpeg?

  7. #7
    Join Date
    Nov 2008
    Location
    Toronto
    Beans
    76
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: How to join/merge audio and video files in ubuntu?

    To tell ffmpeg to use multiple files, you need to use the 'concat' protocol when specifying the input parameter. For example, to say that input should come from file1.avi, then file2.avi, then file3.avi, you would write a cmd line that started:
    Code:
        ffmpeg -i concat:file1.avi\|file2.avi\|file3.avi   ...
    (The file names are separated by the pipe char, which needs to be escaped with the backslash to prevent it being interpreted by the command shell.)

Tags for this Thread

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
  •