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

Reply
 
Thread Tools Search this Thread Display Modes
Old 20th June 2018, 17:31   #2421  |  Link
l33tmeatwad
Registered User
 
l33tmeatwad's Avatar
 
Join Date: Jun 2007
Posts: 152
Quote:
Originally Posted by ChaosKing View Post
Win10 x64 Pro 17134 (the latest one)
Could you give an error log? Also, what version of vcredist do you have installed?
l33tmeatwad is offline   Reply With Quote
Old 20th June 2018, 20:45   #2422  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 692
I haven't changed anything but now it's working O_O
I know that I restarted my pc, tried it in vs editor and with vspipe. It didn't work ... and now magically it works.
__________________
Search and denoise
ChaosKing is offline   Reply With Quote
Old 9th July 2018, 13:14   #2423  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 692
Not that I need this, but I noticed that your ffms2 dll can not load http links like this:
Code:
clip = core.ffms2.Source("https://www.animemusicvideos.org/guides/avtech31/images/avs/rainbow-orig.jpg").std.DuplicateFrames([0]*20)
It works with Myrsloiks ffms2 dll.
__________________
Search and denoise
ChaosKing is offline   Reply With Quote
Old 9th July 2018, 17:08   #2424  |  Link
l33tmeatwad
Registered User
 
l33tmeatwad's Avatar
 
Join Date: Jun 2007
Posts: 152
Quote:
Originally Posted by ChaosKing View Post
Not that I need this, but I noticed that your ffms2 dll can not load http links like this:
Code:
clip = core.ffms2.Source("https://www.animemusicvideos.org/guides/avtech31/images/avs/rainbow-orig.jpg").std.DuplicateFrames([0]*20)
It works with Myrsloiks ffms2 dll.
I disabled a few things to reduce the size of the dependencies so that probably does not work because when compiling FFmpeg I used the option "--disable-network".
l33tmeatwad is offline   Reply With Quote
Old 19th July 2018, 09:38   #2425  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 692
@l33tmeatwad I know now why I had crashes with your ffms2 version. It crashes with a "Basic Windows bitmap format" avi.
I have one script where a logo.avi is imported with a BMP format and I didn't realise this immediately.


Code:
Writing application                      : Adobe After Effects CC 2018 (Windows)

Video
ID                                       : 0
Format                                   : RGB
Codec ID                                 : 0x00000000
Codec ID/Info                            : Basic Windows bitmap format. 1, 4 and 8 bpp versions are palettised. 16, 24 and 32bpp contain raw RGB samples
Duration                                 : 12 s 971 ms
Bit rate                                 : 922 Mb/s
Width                                    : 1 484 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 1.374
Frame rate                               : 23.976 (24000/1001) FPS
Bit depth                                : 8 bits
Bits/(Pixel*Frame)                       : 24.000
Time code of first frame                 : 00:00:00:00 / 00:00:00:00
Time code source                         : Adobe tc_A / Adobe tc_O
Stream size                              : 1.39 GiB (100%)
__________________
Search and denoise
ChaosKing is offline   Reply With Quote
Old 19th July 2018, 16:14   #2426  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,791
For such uncompressed DIB AVI sources, AviSource() is by far superior, because it lets Windows decode a bitmap format it knows best. FFMS2 is more suitable for compressed source formats.

A severe problem for AviSynth is reading video sources with a low number of palette colors. It does not support such indirect palette color modes, only "direct color" formats.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is online now   Reply With Quote
Old 20th July 2018, 03:05   #2427  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 3,722
I can replicate ChaosKing's issue with uncompressed 8bit RGB

some other observations (only x64 vpy versions tested, partly because his original crash was in vapoursynth). Tested both 1484x1080 and 1920x1080 (in case it was some weird frame dimension component contributing). And export from vdub2 (in case some weird metadata component was contributing from Adobe/AE)

l33tmeatwad => crash
ffms2000-test8 => ok
ffms2-2.23.1-msvc => crash
ffms2-2.23-clang => crash


And AVISource works fine on Win as expected, but do linux/mac users have access AVISource() in vapoursynth ?

Last edited by poisondeathray; 20th July 2018 at 03:19.
poisondeathray is offline   Reply With Quote
Old 20th July 2018, 08:33   #2428  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,791
Probably not as in "use VfW - ICM", because it won't require WINE, it would have to interpret DIB frames on its own ... apart from that, I don't know VapourSynth well, I don't know if it can handle palette color modes at all. If it does, basically, then you should convert it to a direct color mode ASAP.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is online now   Reply With Quote
Old 23rd November 2018, 10:34   #2429  |  Link
HolyWu
Registered User
 
HolyWu's Avatar
 
Join Date: Aug 2006
Location: Taiwan
Posts: 538
For people who are eager to load AV1 videos: ffms2-20181016-f3c6b00-win64.7z
HolyWu is offline   Reply With Quote
Old 23rd November 2018, 10:57   #2430  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 692
NICE! Some avi files that I tested yesterday that had problems with random seeking are now fixed too. thx

I get 50fps with "Holi Festival" 1080p from here https://www.elecard.com/videos
__________________
Search and denoise
ChaosKing is offline   Reply With Quote
Old 10th December 2018, 21:32   #2431  |  Link
zambelli
Doom9ing since 2001
 
zambelli's Avatar
 
Join Date: Oct 2001
Location: Seattle, WA, USA
Posts: 1,967
Two questions about the colorspace parameter of FFVideoSource():

1. if an interlaced YUV 4:2:0 video is loaded with a colorspace parameter where the requested colorospace requires YUV 4:2:0 to be upsampled to 4:2:2 or 4:4:4 - e.g. "YUV422P10" or "YUV444P8" - does FFMS2 automatically decide whether to use progressive or interlaced chroma upsampling for each frame? Let's assume the interlaced video has proper metadata describing its interlaced coding methods.

2. if a YUV video is loaded with a colorspace parameter where the requested colorspace is RGB - e.g. "RGB24" or "RGBP10" - does FFMS2 automatically determine whether to use Rec.601, Rec.709 or Rec.2020 based on detected metadata? Or does it always default to one of them?
__________________
Alex Zambelli | Blog | Twitter
zambelli is offline   Reply With Quote
Old 10th December 2018, 21:42   #2432  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Ikea Chair
Posts: 1,891
Quote:
Originally Posted by zambelli View Post
Two questions about the colorspace parameter of FFVideoSource():

1. if an interlaced YUV 4:2:0 video is loaded with a colorspace parameter where the requested colorospace requires YUV 4:2:0 to be upsampled to 4:2:2 or 4:4:4 - e.g. "YUV422P10" or "YUV444P8" - does FFMS2 automatically decide whether to use progressive or interlaced chroma upsampling for each frame? Let's assume the interlaced video has proper metadata describing its interlaced coding methods.

2. if a YUV video is loaded with a colorspace parameter where the requested colorspace is RGB - e.g. "RGB24" or "RGBP10" - does FFMS2 automatically determine whether to use Rec.601, Rec.709 or Rec.2020 based on detected metadata? Or does it always default to one of them?
1. Maybe? Probably not? You should never use the internal conversion if at all possible anyway. That's my recommendation.

2. Maybe? Probably not? You should never use the internal conversion if at all possible anyway. That's my recommendation.

I hope that helps. Don't use the internal conversion. It only exists to give you the least bad output compromise based on the source format.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is online now   Reply With Quote
Old 30th January 2019, 21:37   #2433  |  Link
Stereodude
Registered User
 
Join Date: Dec 2002
Location: Region 0
Posts: 1,032
Is this the best plugin to use for opening a file with VP9 video? Also, does it support high-bit-depth AVIsynth+ color formats if the source is >8-bits?
Stereodude is offline   Reply With Quote
Old 30th January 2019, 23:28   #2434  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,791
VP9 should be supported by at least either FFMS2 or L-SMASH Works. Probably both.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is online now   Reply With Quote
Old 30th January 2019, 23:40   #2435  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,269
Quote:
Originally Posted by Stereodude View Post
Also, does it support high-bit-depth AVIsynth+ color formats if the source is >8-bits?
It does (automatically).
sneaker_ger is offline   Reply With Quote
Old 30th January 2019, 23:52   #2436  |  Link
Stereodude
Registered User
 
Join Date: Dec 2002
Location: Region 0
Posts: 1,032
Quote:
Originally Posted by LigH View Post
VP9 should be supported by at least either FFMS2 or L-SMASH Works. Probably both.
Am I allowed to ask why FFMS2 returns extra duplicated frames and an odd framerate for VP9 from YouTube? The same VP9 decodes with the LAV filters in MPC-HC without the duplicated frames and at the expected frame rate.

Last edited by Stereodude; 30th January 2019 at 23:56.
Stereodude is offline   Reply With Quote
Old 31st January 2019, 08:51   #2437  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,791
To let the developers check for reasons, it may be useful to provide a sample video ID hash and format ID number for youtube-dl... and did you compare with LwLibavVideoSource?
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is online now   Reply With Quote
Old 31st January 2019, 12:46   #2438  |  Link
Stereodude
Registered User
 
Join Date: Dec 2002
Location: Region 0
Posts: 1,032
Quote:
Originally Posted by LigH View Post
To let the developers check for reasons, it may be useful to provide a sample video ID hash and format ID number for youtube-dl... and did you compare with LwLibavVideoSource?
LwLibavVideoSource seems to decode it correctly. nGncW_ueyHA / 248

Using LwLibavVideoSource AVSmeter64 reports:
Code:
Number of frames:                12773
Length (hh:mm:ss.ms):     00:08:52.741
Frame width:                      1920
Frame height:                     1080
Framerate:                      23.976 (24000/1001)
Using FFMS2 AVSmeter64 reports:
Code:
Number of frames:                13304
Length (hh:mm:ss.ms):     00:08:39.229
Frame width:                      1920
Frame height:                     1080
Framerate:                      25.623 (250000/9757)
Stereodude is offline   Reply With Quote
Old 22nd February 2019, 08:22   #2439  |  Link
HolyWu
Registered User
 
HolyWu's Avatar
 
Join Date: Aug 2006
Location: Taiwan
Posts: 538
ffms2-20190214-7c36121-win64.7z

Libraries:
FFmpeg 4.1.1
libaom 20190221-88eaf8e
libvpx 20190222-d84bf53
HolyWu is offline   Reply With Quote
Old 22nd February 2019, 09:39   #2440  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 5,800
32bit version too please.
__________________
Hybrid here in the forum, homepage
Selur 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 10:09.


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