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 27th January 2015, 11:46   #81  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,782
It is in fact very interesting and entertaining. Things to avoid in your algorithms to avoid patent infrigement ... that requires a fundamentally different look on very conventional methods to encode video. Just one example: Do not calculate differences between pixels of video frames to get the residual as base for motion prediction; instead, calculate differences of already transformed parameters.

Highlight of the video around 42:10 is the demonstration of a Daala decoder implemented in JavaScript.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid

Last edited by LigH; 27th January 2015 at 13:11.
LigH is offline   Reply With Quote
Old 28th January 2015, 00:10   #82  |  Link
Nintendo Maniac 64
Registered User
 
Nintendo Maniac 64's Avatar
 
Join Date: Nov 2009
Location: Northeast Ohio
Posts: 447
Quote:
Originally Posted by ckmox View Post
technical explanation about Daala https://www.youtube.com/watch?v=Dmho4gcRvQ4
Well that's interesting - they claim currently better than x265 at texture and, above 1bit per pixel, also on clean edges. I wonder how this compares for the overall image quality?

Last edited by Nintendo Maniac 64; 28th January 2015 at 00:22.
Nintendo Maniac 64 is offline   Reply With Quote
Old 28th January 2015, 01:09   #83  |  Link
ckmox
Registered User
 
Join Date: Feb 2009
Posts: 136
this is the javascript demo of daala he presented on the youtube video https://people.xiph.org/~xiphmont/de...yer-demo.shtml

the bitrate is high though, i wish they made a low bitrate video one like 400kbps to really compare its video quality to x265 at the moment
ckmox is offline   Reply With Quote
Old 28th January 2015, 01:41   #84  |  Link
vivan
/人 ◕ ‿‿ ◕ 人\
 
Join Date: May 2011
Location: Russia
Posts: 643
Nice demo ;D


Those parts that decode correctly look pretty badly, so I see no point in decreasing bitrate even more...
vivan is offline   Reply With Quote
Old 28th January 2015, 02:08   #85  |  Link
foxyshadis
Angel of Night
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,559
Quote:
Originally Posted by LigH View Post
Just one example: Do not calculate differences between pixels of video frames to get the residual as base for motion prediction; instead, calculate differences of already transformed parameters.
I thought they got rid of that. Well, the logs say that Frequency Domain Intra Prediction was removed, which is what a couple of Monty's demos were about, but I'm not sure if they've reworked it since.

Daala's had quite a bit of activity this week, more than in the last two months! Here's a fresh build.

Edit: Haha, vivan, very nice.
foxyshadis is offline   Reply With Quote
Old 28th January 2015, 09:29   #86  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,782
The encoder_example still does not yet support piping a video source?

And: For me as half-educated video enthusiast, motion compensation is inter-frame prediction, not intra, correct? But yes, there were more topics covered in this video. And some parts may cover previous efforts as well as current ones.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid

Last edited by LigH; 28th January 2015 at 09:32.
LigH is offline   Reply With Quote
Old 28th January 2015, 09:56   #87  |  Link
foxyshadis
Angel of Night
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,559
It supports y4m, ffmpeg and all of the common avisynth pipes work with it. 8-bit YV12 only, though.
foxyshadis is offline   Reply With Quote
Old 28th January 2015, 10:17   #88  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,782
Well, the help screen does not mention any way to feed it with something that's not a physical file.

Code:
Usage: encoder_example [options] video_file
...
 encoder_example accepts only uncompressed YUV4MPEG2 video.
Documentation is very sparse here. If "-" as input file name is supported for piping, then I guess Selur may add it to Hybrid soon...

BTW: I am impressed how small the static-built encoder still is.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid

Last edited by LigH; 28th January 2015 at 10:22.
LigH is offline   Reply With Quote
Old 28th January 2015, 14:04   #89  |  Link
Kurtnoise
Swallowed in the Sea
 
Kurtnoise's Avatar
 
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,191
Quote:
Originally Posted by LigH View Post
Well, the help screen does not mention any way to feed it with something that's not a physical file.
it's just an example of how to use the library...this should be tuned as well in the future.
Kurtnoise is offline   Reply With Quote
Old 28th January 2015, 14:27   #90  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,782
OK, a command line like this works:

Code:
avs2yuv *.avs -o - | encoder_example -o *.ogm -
Count the dashes carefully.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 28th January 2015, 15:16   #91  |  Link
Tommy Carrot
Registered User
 
Tommy Carrot's Avatar
 
Join Date: Mar 2002
Posts: 863
Thanks for the build, Foxyshadis.

Quote:
Originally Posted by Nintendo Maniac 64 View Post
Well that's interesting - they claim currently better than x265 at texture and, above 1bit per pixel, also on clean edges. I wonder how this compares for the overall image quality?
Daala is nowhere near as mature as the other codecs. It still has fairly strong ringing and chroma artifacts, and the overall efficiency is not competitive with them yet. However, daala has some promising characteristics, like it tries to preserve the low contrast textures, so the fine details or the grain doesn't get smoothed out, like in x265 or vp9.

The latest build is quite a big improvement on the last one, the motion stability has improved a lot in the last month. If the development continues at this pace, and they can fix the ringing without blurring out the image, in half a year or so daala could become quite interesting.

Last edited by Tommy Carrot; 29th January 2015 at 00:56.
Tommy Carrot is offline   Reply With Quote
Old 28th January 2015, 17:21   #92  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,782
A little something to compare: Tears of Steel, 640×272, 60 s action

x265 --crf 25 (v1.4+424-2b93cf2a5ac8)

Daala encoder_example -v 50 (daala-20150127, ^foxyshadis)

Most annoying: The Daala player_example runs in full CPU speed...

File sizes are as close as it gets without trying for hours in 1-pass quality modes...
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 28th January 2015, 19:49   #93  |  Link
foxyshadis
Angel of Night
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,559
Oh yeah, I guess it'd be handy to specify that the exact git rev was bf0663a65926 (still the current head).
foxyshadis is offline   Reply With Quote
Old 11th February 2015, 06:11   #94  |  Link
Gravitator
Registered User
 
Join Date: May 2014
Posts: 292
Quote:
Originally Posted by vivan View Post
Nice demo ;D


Those parts that decode correctly look pretty badly, so I see no point in decreasing bitrate even more...
Imperceptibly this artifact from the speech > https://www.youtube.com/watch?v=Dmho...ailpage#t=2548
Gravitator is offline   Reply With Quote
Old 12th February 2015, 09:19   #95  |  Link
uneedme
Registered User
 
Join Date: Sep 2007
Posts: 41
Using -v 30 to encode a clip, the output is pretty good. But I found no player could play the daala-clip.

Should it be any containers support?
uneedme is offline   Reply With Quote
Old 12th February 2015, 09:32   #96  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,782
The player_example in the daala package is about the only player supporting this video format at all. The development may still be too early and experimental for authors of usual players and decoder libraries (libav, ffmpeg, vlc) to consider including it already.

Unfortunately, it plays it as fast as the decoder works, doesn't care about frame rates.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid

Last edited by LigH; 12th February 2015 at 09:34.
LigH is offline   Reply With Quote
Old 12th February 2015, 13:31   #97  |  Link
qyot27
...?
 
qyot27's Avatar
 
Join Date: Nov 2005
Location: Florida
Posts: 1,420
VLC supports playing back Daala-encoded files (I even mentioned it in this thread back in September), but unless something's changed with the official builds, you'd have to build it yourself to get it to do that since the decoder is disabled by default.

The particular posts on VLC-devel about API stability concerns:
https://mailman.videolan.org/piperma...st/099405.html
https://mailman.videolan.org/piperma...st/099407.html


I'd far prefer it to get in libavcodec instead, since I really don't want to try building VLC for Windows. I'm in the mplayer (well, mpv now) camp, always have been. mpv is simple to build for Windows.
qyot27 is online now   Reply With Quote
Old 13th February 2015, 00:43   #98  |  Link
foxyshadis
Angel of Night
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,559
You don't really need to build all of VLC to build the daala decoder, it's just more convenient that way. You could build it from Daala, too, so I might try that with my next build. It's handy that VLC already has all the glue code ready to go, it's just a matter of keeping it up to date.
foxyshadis is offline   Reply With Quote
Old 13th February 2015, 09:41   #99  |  Link
qyot27
...?
 
qyot27's Avatar
 
Join Date: Nov 2005
Location: Florida
Posts: 1,420
I meant that enabling Daala support in VLC requires rebuilding VLC, because VLC doesn't have its libdaala support enabled by default, not that building Daala itself doesn't build the decoder.

When I build Daala, I usually rename/move the *_example binaries to alternate names in the /bin directory. player_example becomes daalaplay, decoder_example becomes daaladec, encoder_example becomes daalaenc.
qyot27 is online now   Reply With Quote
Old 13th February 2015, 12:49   #100  |  Link
foxyshadis
Angel of Night
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,559
Because it's just a dll/so, you should be able to build libdaala in and add it into the codecs folder, without rebuilding everything. I haven't tried it yet, but as long as the headers aren't too tangled, it should be fairly simple. Software that uses monolithic codec files like ffmpeg are more annoying.
foxyshadis is offline   Reply With Quote
Reply

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 21:54.


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