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. |
9th July 2018, 12:14 | #2421 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
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)
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
9th July 2018, 16:08 | #2422 | Link | |
Registered User
Join Date: Jun 2007
Posts: 414
|
Quote:
|
|
19th July 2018, 08:38 | #2423 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
@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%)
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
19th July 2018, 15:14 | #2424 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
|
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. |
20th July 2018, 02:05 | #2425 | Link |
Registered User
Join Date: Sep 2007
Posts: 5,345
|
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 02:19. |
20th July 2018, 07:33 | #2426 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
|
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.
|
23rd November 2018, 10:57 | #2427 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
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
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
10th December 2018, 21:32 | #2428 | Link |
Doom9ing since 2001
Join Date: Oct 2001
Location: Seattle, WA, USA
Posts: 2,002
|
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? |
10th December 2018, 21:42 | #2429 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
Quote:
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 |
|
30th January 2019, 23:52 | #2433 | Link |
Registered User
Join Date: Dec 2002
Location: Region 0
Posts: 1,436
|
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. |
31st January 2019, 08:51 | #2434 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
|
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?
|
31st January 2019, 12:46 | #2435 | Link | |
Registered User
Join Date: Dec 2002
Location: Region 0
Posts: 1,436
|
Quote:
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) 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) |
|
22nd February 2019, 10:18 | #2437 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
Thx. I guess libdav1d will only be available in v4.2?
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
5th March 2019, 11:42 | #2440 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
Thx for compiling ffms2 with dav1d. Sadly the decoding of av1 files looks broken. pink blocks etc.
But I get 200fps with dav1d and no seeking issues xD
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database Last edited by ChaosKing; 5th March 2019 at 11:49. |
Thread Tools | Search this Thread |
Display Modes | |
|
|