VideoHelp Forum
+ Reply to Thread
Results 1 to 14 of 14
Thread
  1. Member
    Join Date
    Nov 2010
    Location
    Amsterdam
    Search PM
    I have many flv videos (AVC/AAC) which I want to mux into a mkv video. Is there a way to mux all the videos at once. Because doing it one by one is taking to long. Thanks in advance
    Quote Quote  
  2. ffmpeg

    1) download ffmpeg, place copy of ffmpeg.exe in same folder as flv files

    2) write the following in notepad, save it, rename extension .txt to .bat

    for %%a in ("*.flv") do ffmpeg -i %%a -vcodec copy -acodec copy %%~na.mkv

    3) double click .bat file
    Quote Quote  
  3. Member bat999's Avatar
    Join Date
    Feb 2008
    Location
    United Kingdom
    Search Comp PM
    kudos to poisondeathray.
    Neat solution.

    The ffmpeg website is a bit confusing. This is where the Windows versions are, ffmpeg-latest :- http://tripp.arrozcru.org/
    Quote Quote  
  4. Member
    Join Date
    Nov 2010
    Location
    Amsterdam
    Search PM
    Thanx it does exactly what i wanted
    Quote Quote  
  5. Member
    Join Date
    Jul 2009
    Location
    Spain
    Search Comp PM
    Originally Posted by bat999 View Post
    This is where the Windows versions are, ffmpeg-latest :- http://tripp.arrozcru.org/
    That site is quite out of date - latest version there is from April 2009.
    More recent builds can be found at http://ffmpeg.arrozcru.org/autobuilds/, but that site too is no longer being updated - last 'daily' build is from 17th Jan 2011.
    Quote Quote  
  6. Member bat999's Avatar
    Join Date
    Feb 2008
    Location
    United Kingdom
    Search Comp PM
    Originally Posted by Gavino View Post
    Originally Posted by bat999 View Post
    This is where the Windows versions are, ffmpeg-latest :- http://tripp.arrozcru.org/
    That site is quite out of date - latest version there is from April 2009.
    No it isn't, this is the version from ffmpeg-latest:-

    Code:
    FFmpeg version SVN-r26268, Copyright (c) 2000-2011 the FFmpeg developers
      built on Jan  8 2011 18:14:39 with gcc 4.4.1
    Quote Quote  
  7. Member
    Join Date
    Jul 2009
    Location
    Spain
    Search Comp PM
    Odd - I don't see that version on http://tripp.arrozcru.org/ - latest I see is r18639 from 21 April 2009.

    (In any case, it's still older than the last one created on http://ffmpeg.arrozcru.org/autobuilds/, which is r26400 from 17 Jan.)
    Quote Quote  
  8. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    I suppose there is some reason that this isn't on Sourceforge?
    Quote Quote  
  9. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    ffmpeg has moved from SVN to GIT.
    The latest SVN build of ffmpeg @ SourceForge is 26112.
    The autobuilds @ arrozcru used SVN.

    Let's hope someone will write an idiot-proof guide to compiling ffmpeg on Windows.
    Quote Quote  
  10. Member
    Join Date
    Nov 2008
    Location
    United States
    Search Comp PM
    Ok but how do you mux multiple .flv's into one .mkv in the ffmpeg command line?
    Quote Quote  
  11. Try on Drag Drop Convert, it can mux multiple file to MKV.
    Quote Quote  
  12. Originally Posted by poisondeathray View Post
    ffmpeg

    1) download ffmpeg, place copy of ffmpeg.exe in same folder as flv files

    2) write the following in notepad, save it, rename extension .txt to .bat

    for %%a in ("*.flv") do ffmpeg -i %%a -vcodec copy -acodec copy %%~na.mkv

    3) double click .bat file
    That is wonderfully elegant, but it does not word with files that have non-ASCII characters in the name. Can this solution be made Unicode-friendly?
    Quote Quote  
  13. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    Originally Posted by kotekzot View Post
    That is wonderfully elegant, but it does not word with files that have non-ASCII characters in the name. Can this solution be made Unicode-friendly?
    Lots of command line programs can't cope with non-DOS names.
    You need to reference the short filename, using the ~s modifier

    I think :
    Code:
    for %%I in ("*.flv") do ffmpeg -i %%~sI -vcodec copy -acodec copy %%~nsI.mkv
    would work. (Haven't tested it.)
    Quote Quote  
  14. Thanks, AlanHK, it works!
    Quote Quote  



Similar Threads

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