You are not logged in.

#1 2011-12-26 14:38:19

Big_Brother
Member
Registered: 2011-12-13
Posts: 13

Encoding multiple videos together

I have Sony Vegas Pro 10.0 64-bit on Windows 7 but I can't for the life of me figure out why the colors come out either extra dark or perfectly normal. Is it possible to encode some 20 videos together into one video on Arch?

Offline

#2 2011-12-26 14:53:44

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,583
Website

Re: Encoding multiple videos together

Yes.

But there are so many ways that more info is needed on what you want to be able to do.

The simplest to just append videos together, that works at least with mpg files is

cat file1.mpg file2.mpg file3.mpg > file_new.mpg

For more functionality there are a number of video editing packages such as these five.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2011-12-26 14:59:17

Big_Brother
Member
Registered: 2011-12-13
Posts: 13

Re: Encoding multiple videos together

I use "FRAPS" which only outputs to .AVI files. The problem with FRAPS is that it, for some unknown reason, limits the files to 4GB/ea. What's more, FRAPS has no compression for the videos which means if I want a fair video record, I only get 1-1.5min video clips and around 2 dozen of them at that.

Basically, I need to convert those 20 videos to one video and compress it nicely to a fair size of about 500MB. The videos are 1920x1080.

Offline

#4 2011-12-26 15:24:14

Darksoul71
Member
Registered: 2010-04-12
Posts: 319

Re: Encoding multiple videos together

AFAIK FRAPS has its own video codec which is installed on the system where FRAPS resides. So you could merge those AVIs under Windows 7 with Virtual Dub and compress them to a better codec such as DivX, XVid and so on.

Edit: From their FAQ (http://www.fraps.com/faq.php):

where can I find the custom Fraps FPS1 codec?

The Fraps codec (FPS1) is put on the system when you install Fraps. If you've reinstalled Windows you will also need to reinstall Fraps in order to play back your movies.

Please keep in mind that if you want to give your raw footage to another person they will also need to have Fraps installed.

Last edited by Darksoul71 (2011-12-26 15:28:45)


My archlinux x86_64 host:
AMD E350 (2x1.6GHz) / 8GB DDR3 RAM / GeForce 9500GT (passive) / Arch running from 16GB USB Stick

Offline

#5 2011-12-26 15:25:26

Lars Stokholm
Member
From: Denmark
Registered: 2009-03-17
Posts: 223

Re: Encoding multiple videos together

Take a look at ffmpeg, something along the lines of:

ffmpeg -i infile1.avi -i infile2.avi -acodec aac -vcodec libx264 outfile.mkv

Offline

#6 2011-12-26 17:00:31

nathrakh
Member
Registered: 2011-12-22
Posts: 19

Re: Encoding multiple videos together

About the dark/saturated videos that you mentioned in the OP:

I have to apply the "Computer RGB to Studio RGB" -filter (I *think* that's the correct one.. under "Color Correction") if encode into AVC/AAC in Sony Vegas.

You might want to test it - works for me (normal color). And I use Fraps too. Oh and for me the default settings in the filter are ok.

Offline

#7 2011-12-26 17:07:39

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Encoding multiple videos together

Trilby wrote:

The simplest to just append videos together, that works at least with mpg files is

cat file1.mpg file2.mpg file3.mpg > file_new.mpg

This will cause problems with the headers of the files. The output and the primary header will not be the same often causing issues with the timestamps.

There are tools to do just this depending on the format. If mkv is the target container, I would use mkvmerge from mkvtoolnix. In fact, I'd probably use that anyway as it's rock solid in its handling of timestamps which keeps audio and video in sync. If another format is later desired, then I would use avconv from libav or ffmpeg to do it afterwards.

Last edited by skottish (2011-12-26 17:08:42)

Offline

#8 2011-12-27 02:53:02

Big_Brother
Member
Registered: 2011-12-13
Posts: 13

Re: Encoding multiple videos together

I'm making SOME headway here with ffmpeg.

http://screenshotcomparison.com/comparison/100363

Offline

Board footer

Powered by FluxBB