When I import DxTory footage recorded with the Lagarith lossless codec into Vegas, Vegas is unable to detect the correct colour depth of the clip. Whether it is Lagarith RGBA, RGB, YUY2 or YV12 footage, it will always be detected as RGBA in Vegas. If the Lagarith footage comes from another recording software, like CamStudio, Vegas is able to detect the correct colour depth. Any ideas?
MediaInfo:
General
Complete name : Lag RGB 24.avi
Format : AVI
Format/Info : Audio Video Interleave
File size : 46.2 MiB
Duration : 7 s 192 ms
Overall bit rate : 53.9 Mb/s
Original source form/Distributed by : Video:Lagarith Lossless Codec Audio:Speakers (Realtek High Definition Audio)
Writing application : DxtoryCore ver2.0.0.122
Video
ID : 0
Format : Lagarith
Codec ID : LAGS
Duration : 7 s 67 ms
Bit rate : 53.2 Mb/s
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate : 30.000 FPS
Color space : RGB
Bit depth : 8 bits
Bits/(Pixel*Frame) : 1.926
Stream size : 44.9 MiB (97%)
Audio
ID : 1
Format : PCM
Format settings, Endianness : Little
Format settings, Sign : Signed
Codec ID : 1
Duration : 7 s 192 ms
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 : 1.32 MiB (3%)
Alignment : Aligned on interleaves
Interleave, duration : 883 ms (26.50 video frames)
Do you know that it's definitely a problem with Sony Vegas? For example, have you tried viewing the file with VLC AND Media Player?
I don't think it's a problem with Sony Vegas, I believe it's a problem with DxTory. Vegas is normally able to detect the correct colour depth of Lagarith Lossless clips, but not when the writing application is DxToryCore. The clips play fine in VLC and Media Player, and VLC codec information shows the same as my attached MediaInfo.
QuoteWriting application : DxtoryCore ver2.0.0.122
why the ancient dxtory version? use the latest one.
Thank you for pointing out. I tried using the latest version 2.0.136 instead, but nothing changed. The same problem occurs.
Lagarith lossless codec clips from DxTory are still detected with wrong colour depth in Sony Vegas, even when I use the latest version of DxTory.
MediaInfo:
General
Complete name : Dxtory_lagarith_32bit_codec_RGB24.avi
Format : AVI
Format/Info : Audio Video Interleave
File size : 23.1 MiB
Duration : 7 s 733 ms
Overall bit rate : 25.0 Mb/s
Original source form/Distributed by : Video:Lagarith Lossless Codec
Writing application : DxtoryCore ver2.0.0.136
Video
ID : 0
Format : Lagarith
Codec ID : LAGS
Duration : 7 s 733 ms
Bit rate : 25.0 Mb/s
Width : 854 pixels
Height : 480 pixels
Display aspect ratio : 16:9
Frame rate : 30.000 FPS
Color space : RGB
Bit depth : 8 bits
Bits/(Pixel*Frame) : 2.034
Stream size : 23.1 MiB (100%)
There is a bug with Lagarith in dxtory, just change codec. I propose UTVideo. It is free too, lossless to, but use less resources...
QuoteThere is a bug with Lagarith in dxtory
Yes, it does seem like a bug, but I would like to know if it is DxTory or the Lagarith Lossless Codec itself that is causing it.
Could be either or, but worth noting is that Lagarith hasn't been updated since 2011, and even its changelog mentions existing bugs.
I'd recommend checking out UTVideo Codec and MagicYUV, both lossless and perform better than lagarith. They do produce slightly bigger files though, but to me it's worth it due to better performance in capture & editing.