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 > Capturing and Editing Video > Avisynth Development

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 30th March 2017, 00:23   #21  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
Quote:
Originally Posted by sl1pkn07 View Post
fail build in linux

Code:
make: *** No rule to make target 'src/core/lavfaudio.cpp', needed by 'src/core/lavfaudio.lo'.  Stop.
make: *** Waiting for unfinished jobs....
fms2000 branch on ffms2 github
This isn't a Linux test
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is online now  
Old 31st March 2017, 09:38   #22  |  Link
amayra
Quality Checker
 
amayra's Avatar
 
Join Date: Aug 2013
Posts: 285
i think there performance issues in test2 it doesn't matters which source i use speed decrease even in 360p video
Is there any reason for that ?
__________________
I love Doom9
amayra is offline  
Old 31st March 2017, 10:00   #23  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
Quote:
Originally Posted by amayra View Post
i think there performance issues in test2 it doesn't matters which source i use speed decrease even in 360p video
Is there any reason for that ?
There shouldn't really be a difference. How much did it decrease?
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is online now  
Old 2nd April 2017, 09:57   #24  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Would it be possible to also export the HDR metadata (SMPTE 2086)? Specifically the gamut and min/max luminance of the mastering display?

That would be helpful for handling of HDR videos.

FWIW, LAV Splitter/Video Decoder already exports them, so maybe you can find out how from the LAV source code (if the license permits)?
madshi is offline  
Old 2nd April 2017, 10:39   #25  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
Quote:
Originally Posted by madshi View Post
Would it be possible to also export the HDR metadata (SMPTE 2086)? Specifically the gamut and min/max luminance of the mastering display?

That would be helpful for handling of HDR videos.

FWIW, LAV Splitter/Video Decoder already exports them, so maybe you can find out how from the LAV source code (if the license permits)?
You mean the stuff added in this commit? Looks simple enough.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is online now  
Old 2nd April 2017, 10:45   #26  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Yep, exactly that stuff! It's helpful when processing HDR content.

(JFYI: Blu-Ray style HDR uses a _Transfer of 16. Fortunately, ffms2 already reports that properly.)
madshi is offline  
Old 2nd April 2017, 11:15   #27  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
LAV also reads HDR metadata from mkv/webm container. (as used by Youtube for HDR)
sneaker_ger is offline  
Old 2nd April 2017, 11:38   #28  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Decoding speed using a UHD h.264 clip:

Code:
[OS/Hardware info]
Operating system:           Windows XP (x86) Service Pack 3.0 (Build 2600)
CPU:                        Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
CPU features:               MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AVX*
                            (* CPU feature not supported by OS)


[Avisynth core info]
VersionString:              AviSynth+ 0.1 (r2294, MT, i386)
VersionNumber:              2.60
File version:               0.1.0.0
Interface Version:          6
Multi-threading support:    Yes
Avisynth.dll location:      D:\WINNT\system32\avisynth.dll
Avisynth.dll time stamp:    2016-10-26, 17:29:37 (UTC)
PluginDir+   (HKLM, x86):   E:\Apps\VideoTools\AvisynthRepository\AVSPLUS_x86\plugins
PluginDir2_5 (HKLM, x86):   E:\Apps\VideoTools\AVSPlugins\AutoLoad


[Clip info]
Number of frames:                 1000
Length (hh:mm:ss.ms):     00:00:20.000
Frame width:                      3840
Frame height:                     2160
Framerate:                      50.000 (50/1)
Colorspace:                       i420

[Script]
FFVideoSource("420_4K.264")
AssumeFPS(50, 1)
qyot27's latest C-plugin (r1140):
Code:
[Runtime info]
Frames processed:               1000 (0 - 999)
FPS (min | max | average):      3.638 | 632.4 | 23.84
Memory usage (phys | virt):     500 | 531 MiB
Thread count:                   17
CPU usage (average):            88%
ffms2000:
Code:
[Runtime info]
Frames processed:               1000 (0 - 999)
FPS (min | max | average):      2.519 | 616.6 | 18.12
Memory usage (phys | virt):     403 | 422 MiB
Thread count:                   13
CPU usage (average):            84%
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline  
Old 2nd April 2017, 12:23   #29  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
You can't compare those. That one is compiled with mingw.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is online now  
Old 2nd April 2017, 12:45   #30  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
Quote:
Originally Posted by madshi View Post
Yep, exactly that stuff! It's helpful when processing HDR content.

(JFYI: Blu-Ray style HDR uses a _Transfer of 16. Fortunately, ffms2 already reports that properly.)
Are primaries and whitepoint even relevant? Isn't that effectively included in the already exported values?
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is online now  
Old 2nd April 2017, 13:04   #31  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Blu-Ray style HDR is always stored with BT.2020 matrix and BT.2020 primaries. BT.2020 is practically used as a "container". Most UHD Blu-Rays only use a subset of the BT.2020 container. The metadata tells us which primaries the master display was calibrated with. Which is usually DCI. This information can be used to pick a suitable gamut compression curve.
madshi is offline  
Old 2nd April 2017, 14:13   #32  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
Originally Posted by Myrsloik View Post
I posted test2 NOW WITH 100% MORE XP HATE!
but it's still work in xp
__________________
See My Avisynth Stuff
real.finder is offline  
Old 2nd April 2017, 14:55   #33  |  Link
raffriff42
Retried Guesser
 
raffriff42's Avatar
 
Join Date: Jun 2012
Posts: 1,373
Quote:
Originally Posted by MysteryX View Post
Only on doom9 you'll hear of 2000 as being the future
2000 still sounds impossibly futuristic. I can't get used to it.

In The Year 2000

Last edited by raffriff42; 18th April 2017 at 22:04.
raffriff42 is offline  
Old 2nd April 2017, 17:35   #34  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
Quote:
Originally Posted by madshi View Post
Blu-Ray style HDR is always stored with BT.2020 matrix and BT.2020 primaries. BT.2020 is practically used as a "container". Most UHD Blu-Rays only use a subset of the BT.2020 container. The metadata tells us which primaries the master display was calibrated with. Which is usually DCI. This information can be used to pick a suitable gamut compression curve.
I think I added support for it properly now. Do you happen to have a small sample I can use for testing?
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is online now  
Old 2nd April 2017, 17:37   #35  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
This one should do the trick:

http://demo-uhd3d.com/fiche.php?cat=uhd&id=145
madshi is offline  
Old 3rd April 2017, 07:57   #36  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by Myrsloik View Post
You can't compare those. That one is compiled with mingw.
Why would a user who for example just wants to decode a BD source care what compiler was used? Maybe I'm missing something but isn't this just another source filter for a variety of formats?
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline  
Old 3rd April 2017, 08:20   #37  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
There's a known speed difference between compilers. That's why. I can tell you the result long before you do the test. My test builds are never compiled for speed.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is online now  
Old 3rd April 2017, 16:45   #38  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by Groucho2004 View Post
Why would a user who for example just wants to decode a BD source care what compiler was used?
Quote:
Originally Posted by Myrsloik View Post
There's a known speed difference between compilers. That's why.
Apart from the fact that you're stating the obvious, are you sure you read my question?


Quote:
Originally Posted by Myrsloik View Post
My test builds are never compiled for speed.
That makes more sense.
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline  
Old 3rd April 2017, 16:48   #39  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
Quote:
Originally Posted by Groucho2004 View Post
Apart from the fact that you're stating the obvious, are you sure you read my question?


That makes more sense.
About statements, I'm obviously asking for correctness testing. If you desperately need OVER 9000 FPS you shouldn't be using the extra experimental versions of anything because us developers have a bad habit of turning on extra debug settings. Also corrupt output is much more likely which would slow things down even more when you have to REDO EVERYTHING!

Release builds are obviously different...
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is online now  
Old 3rd April 2017, 18:12   #40  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Feature request: Support .mpls parsing. It's really a pain to always load all the separate files a playlist makes up and later join them together,... (FFmpeg itself can handle playlist files fine when build with libbluray)
__________________
Hybrid here in the forum, homepage
Selur is offline  
Closed Thread

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:41.


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