VideoHelp Forum




+ Reply to Thread
Results 1 to 4 of 4
  1. Member
    Join Date
    Nov 2009
    Location
    United States
    Search Comp PM
    I am trying to take multiple .mpg clips and merge\convert them into 1 .wmv, here is the code that I have been tweaking. It will create an output file but will not play. Any Suggestions?

    ffmpeg -i C:\Clip1.mpg -i C:\Clip2.mpg -s 320x240 -b 1000k -vcodec wmv2 -ar 44100 -acodec wmav2 -ab 56k -ac 2 -y -vcodec copy -acodec copy -vcodec copy -acodec copy C:\output.wmv -newvideo -newaudio
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    If you don't join will it play then? How do you play it? What software?
    Quote Quote  
  3. If your .mpg files are all identical; I mean specifically they are all recorded to the same video dimensions, frame rate, audio specs. You could use AviDemux and use the "append function" and merge them together and then use AviDemux to convert them to a .wmv file.

    If they are of different specs you will run into trouble and get a distorted file. In this case convert each one to a specific .wmv file from what they are now and make sure each one is converted to the exact same specs, even to the point of making sure they have the same frame rate; then take the .wmv's and append them together using AviDemux. I use this technique with .flv's because if you had for example a several parts of a .flv file, lets say from YouTube, when you analzye them you see they are often time the same video dimension but all kinds of different frame rates. I find AviDemux a much more stable program than ffmpeg; alot of times I get corrupt files using ffmpeg or mencoder.

    I am grateful that alot of the new tv's have PC Input, and that the VLC Media Player plays just about everything, including .flvs and the need for converting is not all that great anymore.
    Quote Quote  
  4. Member
    Join Date
    Nov 2009
    Location
    United States
    Search Comp PM
    I can try playing the video in multiple players Media player, VLC Player, it will never work correctly. I can't use AVIdemux cause I am using this with in Visual Basic to create a shell command.

    Does the code look like it should work?
    Quote Quote  



Similar Threads

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