I'm rendering a timelapse video out of a number of still shots.
I'm using VideoMach because it is the best software I've found so far (if you know something better, I'm all ears).
I tried rendering Full-Frame uncompressed, but the file limit is 2GB for some reason.
So, I'm using Xvid. I've set everything to unrestricted and have tweaked the settings (as best as I know how) a thousand times.
However, there is still a degradation in quality.
Here is an example:
This is the original.
This is an image taken from the video encoded.
This is at 250%. I know that at 100% you can't tell the difference, but I'm picky and I don't want to delete the original files without having something that could re-create the same quality if need be.
If anyone can tell me what I'm doing wrong, I'd very much appreciate it.
Thank you.
+ Reply to Thread
Results 1 to 30 of 57
-
-
So, how can you render uncompressed without a 2GB file limit?
Doesn't the file limit make rendering uncompressed futile? -
However, there is still a degradation in quality.
a. Xvid is a MPEG-4 ASP based encoder and MPEG-4 ASP is never lossless.
b. you do a color space conversion from RGB (4:4:4) to Yv12 (4:2:0), see: https://en.wikipedia.org/wiki/YUV
So, how can you render uncompressed without a 2GB file limit?
-> there are multiple lossless video codecs which are ment as intermediate formats.
----
2GB is the limit either because it's an AVI created through vfw (see: http://neuron2.net/LVG/filesize.html, most applications nowadays support opendml avi files which do not have this restriction), or due to a design flaw of the tool used. -
So, if I don't convert the color space, it will look the same?
If not, where do I find lossless video codecs? All I know is where to find decoding codec (K-Lite Codec Pack).
Actually, I've always wanted to know more about encoding codec. I find myself always feeling like I'm converting or re-encoding certain video files and losing quality, no matter what I do.
I'd love to know that I was encoding MKV at the highest quality-to-filesize ratio.
Thanks again. -
Converting Xvid to Xvid will always result in a video that looks worse than the original.
Take a smooth piece of aluminum foil. Crush it into a ball (compress it). Now open it up (decompress it). Notice all the wrinkles? Now crush it into a ball again. And open it up again. Did it get more wrinkles? -
You were shown about the lossless codec in my reply above - just click the link. Here it is again >>>>> Lagarith.
But it seems that the program is flawed - I just took a quick look at it - there is a 'no-splitting' option but I doubt if that applies to avi. It is not BTW a 2 gig limit but the file will be split into 2 gig sections but of no use unless you can join them up.
And, to be honest, any program that suggests you download a codec pack really should be avoided. -
So, if I don't convert the color space, it will look the same?
If not, where do I find lossless video codecs?
most common lossless codecs from my point of view nowadays are:
- Ut Video Codec Suite
- Canopus LossLess Codec
- MSU Lossless Video Codec
- Lagarith
- FFV1
- HuffYuv
- x2645 lossless
- camstudio lossless
- ... there are tons of others
normally lossless codec only differ by:
a. encoding speed
b. decoding speed
c. compression ratio
-> if one is good at least one other normally suffers + not all tools support all codecs
I'd love to know that I was encoding MKV at the highest quality-to-filesize ratio.
Also lossless codecs are normally ment as intermediate and are huge in file size.
-> if you state more detailed what you are trying to do, some of us here might post some suggestions regarding codec choice.
Cu Selur -
I think there has been a misrepresentation on my part.
I am not converting Xvid to Xvid.
I am creating a Time-Lapse video from photo stills using the program VideoMach.
Would it be possible to load the lossless codec into it?
EDIT: I have successful implemented Lagarith into VideoMach.
However, the quality is still exactly the same. There is a noticeable difference at 250%.Last edited by Track; 25th Apr 2013 at 08:03.
-
Yes. I don't know anything about VideoMach but if your photos are sequentially numbered I would use VirtualDub for this. It's free and easy to use. Just open the first photo (File -> Open Video File) and it will automatically append all the sequentially numbered photos. Set the desired frame rate (Video -> Frame Rate). Then set select the codec and configure it (if necessary, Video -> Compression, Configure). And finally save the file (File -> Save as AVI).
-
Okay, I followed your instructions and used Lagarith. The file size was a little over 2GB, which is LARGER than all the photos combined in a folder, and it STILL has artefacts/blockiness.
It's odd.. the overall file size is 2GB but when I capture a single image frame, it's 1/5 the size of the actual photo.
This is starting to become quite perplexing.
EDIT: I honestly don't know what I'm doing wrong..
I decided to render everything completely uncompressed, and the file size was 16GB(!)
However, upon capturing a single frame, it's no different than the 2GB file. -
Jpeg photos? Remember they are compressed with a lossy codec. Decompressing them and saving with a lossless codec is expected make them grow, usually.
That wasn't caused by the Lagarith compression. Look elsewhere.
How big the losslessly compressed frame is varies depending on what's in the photo. If there's little detail and little noise you might get very small file. If there's lots of detail and noise you will get a large file. -
When I encode the JPEGs with Lagarith, the outcome simply looks worse.
What can I do to keep the same quality?
Essentially, all I want is to combine all the photos into one video file that is as large as the sum size of all the photos that make it up.
200MB worth of photos should transfer to a 15fps video file that is also around 200MB. That way, I render my timelapse and have the ability to capture individual photos from the frames. -
Well, what else could it be?
The photos are stored on my SSD.
I've made the changes in VirtualDub that you've instructed.
I save to .AVI using Lagarith.
I've tried different settings within Lagarith, but the outcome is always the same.
What I'm saying is, I'm not doing anything else to process the images, so I don't know what else it could be..
Perhaps the frame capture in Media Player Classic is flawed..?
I'm honestly stumped. -
What kind of problems are you seeing now? MPC could indeed be the problem. Open your Lagarith AVI with VirtualDub. How does that look compared to opening your JPEG files in VirtualDub? (You can run mulitple instances of VirtualDub at the same time.)
In VirtualDub try forcing the input and output colorspaces to YV12 (JPEG photos normally use 4:2:0 chroma subsampling) using Video -> Color Depth. Configure Lagarith to work in YV12. See if that makes any difference. -
may i ask.. what camera make and model series are you using ?
bc u might have a "raw" format.. that is lossless. then take that and transfer it to a lossless codec. i believe the UT code suite (was recently updated) can give you 4:4:4 output. you would need to install that codec and then your sw will (should) open that.
edit: oh, just realized.. these are pics already compressed to jpeg by your camera. but, moving forward, you should set your camera to "raw" if it has that feature.Last edited by vhelp; 25th Apr 2013 at 09:44.
-
PicVideo's MJPEG codec has a 4:4:4 mode (you have to feed it RGB and the output will be RGB). If I remember correctly they call it "1:1:1". But even cameras with "raw" modes don't really produce 4:4:4 chroma subsamples. The bayer pattern of the sub pixels in the sensor results in lower color resolution than luma resolution. 4:4:4 encoding of the raw source might still give slightly better results though.
-
I can't view the file in VirtualDub because it's an 18MP file and I zoom in 650%. I haven't found a way to pan the video, so it only shows me the top left corner. There is also no way of capturing and saving a single frame (that I could see.)
There is no difference whatsoever. -
-
Video -> Copy Source Frame To Clipboard. Then in a photo editor paste as a new image.
Or if you use VirtualDubMod (it's outdated but useful for this), select Video -> Snapshot Source Frame then save as BMP or PNG. -
[QUOTE=Track;2237271]When I encode the JPEGs with Lagarith, the outcome simply looks worse.
.
.
200MB worth of photos should transfer to a 15fps video file that is also around 200MB. QUOTE]
Video does not work like that.
The filesize depends on the run-length of the video and the bit-rate.
so you could have 400 mb of photos but that does not mean that the video will be twice the size.
On a more technical point, I do not think I read how many photos you have that make up the 200 meg but they inevidably will be low quality. How many mega-pixels ?. Applying video codecs to these might well amplify that matter. You really must start off with high quality photos. -
I'm not sure what you mean "High Quality Photos". I shoot with my T2i and a 500$ lens.
Wow, I don't believe it..
Using VirtualDub, the capture looks identical to the photo!
Wow, I can't believe Media Player Classic would do this
Btw, I saved as JPEG, not BMP or PNG. Is there a difference? -
-
Well I do not have a $500 lens on my DSLR. But I do know what mega-pixels my camera is capable of. Do you ?
I was just asking how many pics made up that 200 meg? I can get over 900 on a 4 gig card . Lower the quality (nothing to do with the lens) and I can get more.
But let us get back to video. I see you create a 15 fps video. Is that wise ? -
Well, it wouldn't make much sense to own a 500$ lens if I didn't know that.
As I said above, it's a Canon T2i, so it shoots 18MP.
Lower the quality? It's already low enough as it is as a JPEG.
I honestly have no idea. My next step is to figure it out.
Should I render 30fps and then slow it down with Sony Vegas? That would be more smooth, no?
I am also wondering two things:
1. If I'm going to slow the video down, I'll have to essentially re-encode it, which would lower the quality, no?
2. Is there another piece of software, like VirtualDub, that takes ACCURATE screen grabs? VirtualDub for some reason does not support the files output from XviD4PSP.. -
What I was asking was what your intended destination was. Let's just say that your vid ended up on youtube or some other similar showcase. Can you be sure that it would not be converted to normal ie 30fps playback which would ruin its structure.
Similar Threads
-
Premiere rendering jerkyness or acceleration rendering with MJPEG sources.
By Sennyotai in forum Video ConversionReplies: 4Last Post: 12th Jan 2013, 13:29 -
Mac Or Linux Users - Who's Worse?
By hech54 in forum ComputerReplies: 9Last Post: 2nd Oct 2011, 19:25 -
Exporting from uncompressed AVI to uncompressed MOV
By courtneye in forum Video ConversionReplies: 0Last Post: 9th Jul 2010, 08:20 -
Original AVI uncompressed to DVD
By santolina in forum Newbie / General discussionsReplies: 5Last Post: 5th Jul 2010, 21:10 -
which one is worse, Vista or 7?
By deadrats in forum ComputerReplies: 16Last Post: 23rd Feb 2010, 17:15