How to convert HuffYUV to Lagarith?
I'm picking up my project after a long post-Covid hiatus (hope everyone is OK).
I have a bunch of captured AVIs w/HuffYUV and want to convert them to Lagarith because I'm just about out of disk space. Can someone please point me to a doc on this? I had this all pretty well in my head 2 years ago but it's not coming back the way it used to :-( My NLE (Corel VideoStudio) can read/write both so I suppose that's a fallback. Thanks. |
Why not use VirtualDub or Avidemux?
|
Thanks for your response.
I've searched around the forum and haven't found any kind of a doc to describe the process, or any scripts/settings. I had all this in my head a couple of years ago, but it's leaked out in the interim. |
http://www.digitalfaq.com/forum/vide...-lagarith.html
One note on what sanlyn said about YV12. If you want to preserve YUY2 (i.e. 4:2:2), instead of converting down to YV12 (4:2:0) color. When selecting Lagarith in the Code list, click on Configure to set the mode to YUY2 and click OK. |
Your time would be an order of magnitude better spent working a 2nd job so you can buy a new 8TB+ drive.
|
Quote:
... but only due to still taking precautions. Not everybody is lucky enough to be blindly carefree and dismissive of COVID (to quote my ignorant neighbor: "I ain't livin' in fear ya'll!"), some have immunocompromise situations, mild COVID is potentially deadly, even with shots and boosters. Going out means masking up! Quote:
Quote:
Quote:
It wasn't meant to be harsh. Don't read it as such. But merely humorously truthful. If you're running out of space, add/buy another drive. Don't punish yourself (video S&M) reconverting video, maybe even lowering quality. It's not worth it, and it's probably won't work anyway. Eventually you'll be forced to buy a new drive (or just stop using computer; yeah, right!), and then scold yourself for being an idiot, or cheap, or both. FYI, most of know that because of "been there, done there". :o |
Probably true, but:
--retired --fixed income --inflation --parsimonious SO I'll stop there ;-) If I can dumb it down enough I won't have to do it, either. |
keaton, thanks for the link
ls, good to hear from you. When I got my workflow from you, you had some stuff going on. Glad you're still OK. We mask up indoors still--don't see the big deal. Quite a change from the polio days traal, another drive will be politically difficult. All - I have one cap that's 3:26 and 241GB as HuffYUV, trimmed as Lagarith it's 3:08 and 70GB. That's 1/3 the size, seems significant. But as I think about it, maybe I should just delete each original cap and keep only the trimmed version anyway? |
241 GB over 3h26m is 70.2 GB/hour which is crazy high for HuffYUV. Is what you trimmed mostly static? If so, then trimming it without re-encoding using something like AviDemux should bring it down to maybe 90-95 GB and take 30 minutes or less.
70 GB over 3h8m (Lagarith) is 22.3 GB/hour which is low for Lagarith. Is it 4:2:2 like the HuffYUV file, or 4:2:0? |
Quote:
AviDemux wasn't something I was aware of when I was last doing this, it looks like it could handle much of the work we need. Yes the LAGS file is 4:2:2 - here's the mediainfo report: General Complete name : E:\01 Captured Tapes\Tape-033-Trim.avi Format : AVI Format/Info : Audio Video Interleave Format profile : OpenDML File size : 71.0 GiB Duration : 3 h 8 min Overall bit rate : 53.9 Mb/s IsTruncated : Yes Video ID : 0 Format : Lagarith Codec ID : LAGS Duration : 3 h 8 min Bit rate : 52.4 Mb/s Width : 720 pixels Height : 480 pixels Display aspect ratio : 3:2 Frame rate : 29.970 (30000/1001) FPS Standard : NTSC Color space : YUV Chroma subsampling : 4:2:2 Bit depth : 8 bits Bits/(Pixel*Frame) : 5.057 Stream size : 68.9 GiB (97%) Audio ID : 1 Format : PCM Format settings : Little / Signed Codec ID : 1 Duration : 3 h 8 min Bit rate mode : Constant Bit rate : 1 536 kb/s Channel(s) : 2 channels Sampling rate : 48.0 kHz Bit depth : 16 bits Stream size : 2.02 GiB (3%) Alignment : Aligned on interleaves Interleave, duration : 500 ms (15.00 video frames) |
If you don't mind using ffv1 instead of lagarith, here's a batch file you can use. Just save the following code as a .cmd file in the same directory as ffmpeg.exe, then you can drag a bunch of .avi files onto the .cmd file all at once and it will convert them one by one.
Code:
for %%X in (%*) do ( |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.