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.

 

Go Back   Doom9's Forum > Video Encoding > New and alternative video codecs

Reply
 
Thread Tools Search this Thread Display Modes
Old 13th March 2006, 20:26   #41  |  Link
smok3
brontosaurusrex
 
smok3's Avatar
 
Join Date: Oct 2001
Posts: 2,395
a. tnx a lot, so i guess for huff it is similar? like :
vcodec=huffyuv:format=bgr32 - will that store alpha as well?

---

b. another question, what version of ffdshow should one get (and where?) for proper win playback of ffv1?

---

c. and another thing concerning mplayer and avs, is it possible that mplayer forces avisynth to always return only yv12?
(i was trying to use '-vo md5sum' to find out that:
original != ffv1 when
huff = ffv1
p.s. when i compare using avisynth compare function, then:
original = huff
at least i cant seem to find any other explanation.... )

Last edited by smok3; 14th March 2006 at 02:52.
smok3 is offline   Reply With Quote
Old 14th March 2006, 10:38   #42  |  Link
akupenguin
x264 developer
 
akupenguin's Avatar
 
Join Date: Sep 2004
Posts: 2,393
a. ffmpeg's huffyuv does rgb decoding, but can only encode yv12 or yuy2.
b. ffv1 hasn't changed in a while, so any build >= 2005 february should work. I can't recommend one in particular.
c. Yes, mplayer invokes ConvertToYV12() if the avs isn't already. There's no particular reason for this, just whoever is in charge of demux_avs.c never implemented other colorspaces.

Last edited by akupenguin; 14th March 2006 at 10:42.
akupenguin is offline   Reply With Quote
Old 5th September 2006, 09:42   #43  |  Link
Ahmedbrave
Registered User
 
Join Date: Aug 2006
Posts: 2
I been tested Logarith codec (ver. 1.3.9) wich I downloaded from site (http://lags.leetcode.net).

And found that it have the same issue as 1.3.8 ver.: a bug that allowed YUY2 and YV12 video to be decoded as RGB16.

So i looked at files in archive wich I downloaded more carefully (it`s name was Lagarith_139.zip): in properties of lagarith.dll i looked at version, it was 1.3.8!!!

May be author made a wrong version build?... (or just uploaded a wrong file?...)

stupidies marked by gray...
i`m sorry.. codec work fine.. mixed out some thing...

Last edited by Ahmedbrave; 7th September 2006 at 13:04.
Ahmedbrave is offline   Reply With Quote
Old 7th September 2006, 09:47   #44  |  Link
wereHamster
Registered User
 
Join Date: Dec 2004
Posts: 21
What does lagarith do differently then huffyuv? Prediction? huffman encoding? I'm using a modified huffyuv codec with the median prediction and a simplified huffman table (one table for all three YUV planes) and it's working fine, but maybe I could 'borrow' something from lagarith to make my codec faster?
wereHamster is offline   Reply With Quote
Old 7th September 2006, 13:07   #45  |  Link
Ahmedbrave
Registered User
 
Join Date: Aug 2006
Posts: 2
wereHamster
...don't really know, what different, anyway compression is grater, but encoding is slower.
Ahmedbrave is offline   Reply With Quote
Old 13th November 2006, 21:57   #46  |  Link
video_magic
Registered User
 
Join Date: Jan 2005
Posts: 368
Version 1.3.11 released on 11-12-2006

http://lags.leetcode.net/Changes.html
http://lags.leetcode.net/codec.html
__________________
Thankyou!, I am grateful for any help
video_magic is offline   Reply With Quote
Old 14th November 2006, 00:01   #47  |  Link
akupenguin
x264 developer
 
akupenguin's Avatar
 
Join Date: Sep 2004
Posts: 2,393
Quote:
Originally Posted by wereHamster View Post
What does lagarith do differently then huffyuv?
Arithmetic coding instead of huffman.
akupenguin is offline   Reply With Quote
Old 14th November 2006, 20:10   #48  |  Link
TEB
Registered User
 
Join Date: Feb 2003
Location: Palmcoast of Norway
Posts: 325
Hi. I did some very rudementary tests here on my DualCore Athlon 4200 in VDUB 1.6.17 DVCAM AVI file 4:2:2 -->

Lagarith 1.3.11 RGB24 SMP 42 Sec 328MB
Lagarith 1.3.11 RGB24 NON-SMP 53 Sec 328MB
Lagarith 1.3.11 YV12 SMP 37 Sec 165MB
Lagarith 1.3.11 YV12 NON-SMP 38 Sec 165MB
UNCOMPRESSED RGB32 36 Sec 2324MB
MSU 0.6 Balanced, yv12 4:01 167MB
FFV1 RGB32 VLC 2.07 301MB
FFV1 RGB32 AC 2.05 297MB
FFV1 YV12 VLC 1:12 181MB
FFV1 YV12 AC 1:12 176MB
HUFFY YV12 : 35sec 522MB


Note:

The files from lagarith differ in size based on using SMP or not, just a 200-300bytes, but still worrying

Anyway, Lagarith in yv12 is VERY impressive imo. ITs just a 2 sec slower than huffy and 3times as efficient

This gotta be the worst comparison ever but i thought id share my results

teb
TEB is offline   Reply With Quote
Old 14th November 2006, 20:31   #49  |  Link
TEB
Registered User
 
Join Date: Feb 2003
Location: Palmcoast of Norway
Posts: 325
btw, anyone know the parameters for running x264 in lossless mode?
TEB is offline   Reply With Quote
Old 14th November 2006, 21:19   #50  |  Link
Inventive Software
Turkey Machine
 
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
Constant Quality mode 0. Think the commandline's:

Code:
x264.exe -q0
But search for it, or do:
Code:
x264.exe --help
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld
Inventive Software is offline   Reply With Quote
Old 17th November 2006, 00:53   #51  |  Link
totya
Registered User
 
Join Date: Feb 2004
Posts: 127
This is very-very good codec, fast and result small file, uses 2 processors too... But very often freeze if "use multithreaded" is checked. I use only YUY2 mode.

Well I see, new version 1.3.11, Good news.

Problem with new codec (and last version) : codec uninstall not working (under programs add/remove)

Sorry my poor english, and thanks of developer : this is very good lossless video codec.
totya is offline   Reply With Quote
Old 17th November 2006, 03:26   #52  |  Link
johnsonlam
Registered User
 
johnsonlam's Avatar
 
Join Date: Nov 2003
Location: Kowloon, Hong Kong
Posts: 167
Great codec, did someone did a comparsion table?

I mean, with HuffYUV.

Still lots of people didn't know Lagarith, a direct comparison table can easily let them choose the codec they want. I'm capturing with Lagarith and it works great.
__________________
Hong Kong - International Joke Center (after 1997-6-30)
johnsonlam is offline   Reply With Quote
Old 19th November 2006, 19:43   #53  |  Link
TEB
Registered User
 
Join Date: Feb 2003
Location: Palmcoast of Norway
Posts: 325
Lagarith 1.3.12 is out
TEB is offline   Reply With Quote
Old 25th November 2006, 19:36   #54  |  Link
johnsonlam
Registered User
 
johnsonlam's Avatar
 
Join Date: Nov 2003
Location: Kowloon, Hong Kong
Posts: 167
Quote:
Originally Posted by TEB View Post
Lagarith 1.3.12 is out
I found that if using Largarith with some filter combination in Vdub, the output will have a lot of vertical and horizontal color lines, up to now I can't exactly reproduce it, seems it happen under certain criteria ...

Will report here if I have any progress.
__________________
Hong Kong - International Joke Center (after 1997-6-30)
johnsonlam is offline   Reply With Quote
Old 14th December 2006, 01:38   #55  |  Link
Chainmax
Huh?
 
Chainmax's Avatar
 
Join Date: Sep 2003
Location: Uruguay
Posts: 3,103
I recently used Lagarith v1.3.12 to make an intermediate file. The process went through perfectly, but when trying to make the final MPEG2 I get two consecutive error messages:



That happens when loading the plain intermediate AVI file and a simple script with a couple extra filtering steps. Any ideas as to what could be causing this? I'm using AviSynth_160906 and VDubMod v1.5.4.1b2066.
__________________
Read Decomb's readmes and tutorials, the IVTC tutorial and the capture guide in order to learn about combing and how to deal with it.
Chainmax is offline   Reply With Quote
Old 18th December 2006, 10:02   #56  |  Link
johnsonlam
Registered User
 
johnsonlam's Avatar
 
Join Date: Nov 2003
Location: Kowloon, Hong Kong
Posts: 167
Quote:
Originally Posted by Chainmax View Post
I recently used Lagarith v1.3.12 to make an intermediate file. The process went through perfectly, but when trying to make the final MPEG2 I get two consecutive error messages:

That happens when loading the plain intermediate AVI file and a simple script with a couple extra filtering steps. Any ideas as to what could be causing this? I'm using AviSynth_160906 and VDubMod v1.5.4.1b2066.
Sometimes many filters and scripts together will conflict, did you try removing the filter one by one, or just replacing Lagarith with Huffyuv to see still crash or not?
__________________
Hong Kong - International Joke Center (after 1997-6-30)
johnsonlam is offline   Reply With Quote
Old 21st July 2007, 09:23   #57  |  Link
video_magic
Registered User
 
Join Date: Jan 2005
Posts: 368
Lagarith version 1.3.14

Lagarith codec updated:

http://lags.leetcode.net/codec.html
__________________
Thankyou!, I am grateful for any help
video_magic is offline   Reply With Quote
Old 21st July 2007, 10:29   #58  |  Link
totya
Registered User
 
Join Date: Feb 2004
Posts: 127
Quote:
Originally Posted by video_magic View Post
Lagarith codec updated:

http://lags.leetcode.net/codec.html
Good news, thank you!

Fixed a bug that would cause crashes when downsampling to YV12. - This is occurred me with v1.3.13.
totya is offline   Reply With Quote
Old 14th April 2008, 16:27   #59  |  Link
GrofLuigi
Member of a Library
 
Join Date: Oct 2002
Posts: 463
Version 1.3.15 released on 4-13-2008

Codec updated:

Homepage

Changelog

GL
GrofLuigi is offline   Reply With Quote
Old 1st May 2008, 04:30   #60  |  Link
LeeWilson
Registered User
 
Join Date: Apr 2008
Posts: 2
RGBA and Alpha

Hi,

I am currently trying to implement AVI support into a OpenGL game engine. I have successfully got the engine to decompress AVI frames and render them in RGB. For various reasons I really need to get the alpha channel. I cannot seem to get a reliable AVI file, with alpha and Lagarith compression. I tried VirtualDub-1.7.8 and it seems that it does not support alpha channels in its conversions. I tried the Color Depth option for 32 bit RGB (888) (dummy alpha channel) and it made my movie go all semi transparent with vertical black lines. I also tried creating an uncompressed .mov with alpha, and using the movtoavi from http://lags.leetcode.net/Codec_mac.html and the avi result was black and white gibberish.

Does anyone know a reliable way of creating Lagarith compressed AVI's with the alpha channel?

Cheers in advance,

Lee
LeeWilson is offline   Reply With Quote
Reply

Tags
lagarith

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:50.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.