Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
|
Thread Tools | Search this Thread | Display Modes |
16th July 2021, 23:29 | #1 | Link |
Registered User
Join Date: Sep 2020
Posts: 138
|
What are some good alternatives to Lagarith Lossless in Windows XP?
I mostly use Lagarith to record my gaming videos but it seems as though that there some games that will not agree with the codec or even playback on VLC Media player. I do not want to go back to Xvid or Full Frames uncompressed but it seems Lagarith isn't really agreeing with some games that I am playing right now. I know TASVideos recommends that I use this but what should I do just in case in may not work for some games? And what codecs are just as good as Lagarith? I just need something so that record with until I export it to my laptop for editing.
|
17th July 2021, 00:39 | #2 | Link |
Registered User
Join Date: Apr 2010
Location: I have a statue in Hakodate, Japan
Posts: 757
|
Try with UTVideo Codec, but since it stopped being compatible with XP some time ago (I think the last compatible version was 15), you could try Reino's FFMPEG builds, which in my opinion distributes the only versions compatible of FFMPEG with XP, as follows:
Code:
FFMpeg.exe -i "video" -vcodec utvideo -pred medían -an -y "output.avi" Last edited by GMJCZP; 17th July 2021 at 01:12. |
17th July 2021, 22:52 | #4 | Link |
Moderator
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,931
|
Lossless HEVC can do really well with gaming content, particularly if your encoder can use transform skip or lossless cus. Sharp-edged text and aliasing is hard to losslessly encode with any codec with only DCT-like transforms.
Do you need mathematically lossless, or is visually lossless sufficient? Real-time encoding required? |
19th July 2021, 02:00 | #5 | Link |
Registered User
Join Date: Sep 2020
Posts: 138
|
I was looking for some real visually lossless codecs that use RGB and can encode in real time. I mostly use Lagarith prior to editing (via cutting some clips and upscaling with x264/h264) so I need something that is similar to that.
|
19th July 2021, 04:42 | #6 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,042
|
You say RGB, [Lagarith rgb(RGB24), rgba(RGB32), YV12, YV16, YUY2].
My version Lagarith v1.3.27, shown in VirtualDub2, Menu, Video/Compression/Lagarith Lossless Codec/Configure (Version @ top RHS). Maybe try HuffYUV, UtVideo, and MagicYUV. [all have RGB modes]
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
19th July 2021, 18:20 | #8 | Link |
Moderator
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,931
|
Ah, visually, not mathematically. Much better! Do you really need visually lossless RGB? Would visually lossless YUV not suffice? Or YUV 444?
Using an encoder built-in to your GPU will reduce CPU load that might impact your game. A high bitrate HEVC could be really good for this. As someone who was a heavy user of Lagarith WAY back in the day, I'm amused to learn that it's become a real-time codec for gaming capture! Moore's Law is a wonderful thing. |
22nd July 2021, 02:08 | #9 | Link | |
Registered User
Join Date: Sep 2020
Posts: 138
|
Quote:
|
|
24th July 2021, 23:29 | #11 | Link | |
Registered User
Join Date: Sep 2020
Posts: 138
|
Quote:
I will give those a shot as I need to experiment to see which one works for me. UTVideo does have RGB and RGBA options but UTVideo so many options that it is easy to get voerwhelmed. Same with Magic YUV but I am experimenting and I am also looking into FFV1 as well. |
|
25th July 2021, 01:03 | #12 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,042
|
@GAP,
You have not told what you are using to capture the video, [nor codec versions], nor what the options you are having trouble with are. (best see the documentation, if you find the home site for whatever version codec).
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
26th July 2021, 02:03 | #13 | Link |
李姗倩 Lǐ Shān Qiàn
Join Date: Nov 2002
Posts: 1,340
|
These are just workarounds, but no harm in trying in case you didn't try them yet...
Plan 1. Lightly throttle the game process with Battle Encoder Shirasé so that it won't use CPU more than say 99%. This might give Lagarith more CPU time, and so it might work better. Plan 2. Similarly, Task Manager -> Set Affinity [tweak] Plan 3. Lagarith -> Use Multithreading [check/uncheck] |
26th July 2021, 13:05 | #14 | Link | ||
Registered User
Join Date: Sep 2020
Posts: 138
|
Quote:
Quote:
|
||
26th July 2021, 14:27 | #15 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,042
|
[EDIT: Arh, emulator eh!, I did not know they did that. I dont play games ]
Well if uncompressed works fine, maybe a simple extra step might be a work around. Below is bat file demo I already posted somewhere, I edited it to the option to convert video to UT_Video and copy audio, however result is in MKV [Can just change the output extension at end of uncommented line to ".AVI" instead (if required)]. The "ACTIVE" line in BLUE, and Extension to change in RED. Input YUV will output UT_Video YUV, and input RGB will output UT_Video RGB. [audio is copied, see other lines for examples to use output pcm]. Should be reasonably easy to figuire out. Demo.Bat Code:
REM https://forum.doom9.org/showthread.php?p=1908619#post1908619 REM We DO NOT LIKE SPACES IN FILE NAMES (REM == REMark ie comment) REM We DO NOT LIKE ACCENTS IN FILE NAMES. setlocal REM Where to Find ffmpeg set FFMPEG="C:\BIN\ffmpeg.exe" REM Where to get INPUT files, No terminating Backslash, "." = current directory (ie same as dir .bat file) set INDIR="." REM Where to place OUTPUT files, No terminating Backslash. "." would be same as .bat file, ".\OUT" = OUT folder in same directory as bat file. set OUTDIR="D:" REM Below, can add INPUT extensions as eg *.WEBM (SPACE separated, Batch Processes all INPUT type files in INDIR) FOR %%A IN (*.AVI *.MKV *.MP4 *.MOV *.QT *.3GP *.DVB *.VOB *.MPG *.MPEG *M2P *.PS *.TS *.DIVX *.XVID *.FLV *.WMV *.ASF *.MXF) DO ( REM ****** Un-REM [ie SELECT] ONLY one of below lines, Comment out ie REM the remaining lines. REM %FFMPEG% -i "%INDIR%\%%A" -vcodec utvideo -acodec pcm_s16le "%OUTDIR%\%%~nxA.AVI" REM %FFMPEG% -i "%INDIR%\%%A" -vcodec huffyuv -acodec pcm_s16le "%OUTDIR%\%%~nxA.AVI" REM %FFMPEG% -i "%INDIR%\%%A" -vcodec magicyuv -acodec pcm_s16le "%OUTDIR%\%%~nxA.AVI" REM %FFMPEG% -i "%INDIR%\%%A" -vcodec v410 -acodec pcm_s16le "%OUTDIR%\%%~nxA.AVI" REM %FFMPEG% -i "%INDIR%\%%A" -vcodec r210 -acodec pcm_s16le "%OUTDIR%\%%~nxA.AVI" REM %FFMPEG% -i "%INDIR%\%%A" -vcodec copy -acodec copy -sn "%OUTDIR%\%%~nxA.MKV" %FFMPEG% -i "%INDIR%\%%A" -vcodec utvideo -acodec copy "%OUTDIR%\%%~nxA.MKV" REM %FFMPEG% -i "%INDIR%\%%A" -vn -acodec pcm_s16le "%OUTDIR%\%%~nxA.WAV" REM %FFMPEG% -i "%INDIR%\%%A" -vcodec rawvideo -f rawvideo -an "%OUTDIR%\%%~nxA.rawvideo" REM *****************************************************************************************. ) Pause REM ... Above Command lines, What they do if UnREM'ed (and all others REM'ed, UnREM=UnCOMMENT ) : REM (1) Convert Video to UtVideo lossless, Convert Audio to 16 bit PCM audio (output AVI). REM (2) Convert Video to HuffYUV lossless, Convert Audio to 16 bit PCM audio (output AVI). REM (3) Convert Video to MagicYUV lossless, Convert Audio to 16 bit PCM audio (output AVI). REM (4) Convert Video to v410 Uncompressed 4:4:4 10-bit lossless, Convert Audio to 16 bit PCM audio (output AVI). REM (5) Convert Video to r210 Uncompressed RGB 10-bit lossless, Convert Audio to 16 bit PCM audio (output AVI). REM (6) Remux NO SUBTITLES, copy both video and audio but NOT subtitles(output MKV - see file extension at the end of the Remux line, ie MKV). REM (7) Convert Video to UtVideo lossless, copy audio (output MKV). REM (8) Skip any video, Convert Audio to 16 bit PCM (output WAV). REM (9) Convert Video to rawvideo uncompressed, Convert Audio to 16 bit PCM audio (output y4m). REM *****************************************************************************************. REM In the UnREM'ed command Line [ie without a preceding REM]:- REM '-vcodec utvideo' means convert video using utvideo codec. REM '-vcodec copy' means copy video rather than convert. REM '-vn' means no video output, use instead of eg '-vcodec utvideo' REM '-acodec pcm_s16le' means convert audio using pcm_s16le codec. REM '-acodec copy' means copy audio rather than convert. REM '-an' means no audio output, use instead of eg '-acodec pcm_s16le' REM The file extension at end of the line determines output container, eg '.AVI' REM REM From Command line with ffmpeg somewhere in your environment PATH:- REM 'ffmpeg -codecs >D:\ffmpeg_codecs.txt' REM Writes a txt file of ffmpeg available codecs to D:\ REM At start of txt file it shows a 'legend' or 'key' for codecs that can be used for video and audio, REM use only ENCODING SUPPORTED codecs, prefereably LOSSLESS. REM Supported codecs will vary with ffmpeg version. REM *****************************************************************************************.
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 26th July 2021 at 14:45. |
27th July 2021, 00:37 | #16 | Link | |
Moderator
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,931
|
Quote:
Recording uncompressed video is a great use case for RAID, if that's an option for you. |
|
30th July 2021, 05:25 | #17 | Link | ||
Registered User
Join Date: Sep 2020
Posts: 138
|
Quote:
Quote:
|
||
30th July 2021, 08:44 | #18 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,042
|
Yes copy to Bat file, but DO READ the instructions in REM's.
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
6th August 2021, 12:28 | #20 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,042
|
I would copy "as is", you might want REM's for reminder in future [but they dont do anything].
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
Thread Tools | Search this Thread |
Display Modes | |
|
|