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 25th July 2019, 16:52   #2501  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
if the convert between XYZ and YUV is lossless then it's ok, or maybe ffms2 need flag parameter

isn't CIE XYZ more close to RGB than YUV? and CIE Lab is more close to YUV as said here

maybe avs+ need to add those CIE things
__________________
See My Avisynth Stuff

Last edited by real.finder; 25th July 2019 at 16:57.
real.finder is offline   Reply With Quote
Old 31st July 2019, 02:22   #2502  |  Link
StvG
Registered User
 
Join Date: Jul 2018
Posts: 447
Quote:
Originally Posted by ChaosKing View Post
I've made a seeking test with "StvG ffms2" and it performs the same as "ffms2_test8.dll" https://forum.doom9.org/showthread.php?t=176231
This one (built against ffmpeg 4.1.4) has fixed VP9 seeking and AV1 support (aom).

Btw "lsmas.LWLibavSource()" is showing "ok" for "VP9.mkv" for most of the builds but the frames number is different than "ffms2.Source()" builds with "ok" for "VP9.mkv". How come?

Last edited by StvG; 31st July 2019 at 03:22. Reason: ffmpeg version
StvG is offline   Reply With Quote
Old 31st July 2019, 09:21   #2503  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
Quote:
Originally Posted by StvG View Post
This one (built against ffmpeg 4.1.4) has fixed VP9 seeking and AV1 support (aom).

Btw "lsmas.LWLibavSource()" is showing "ok" for "VP9.mkv" for most of the builds but the frames number is different than "ffms2.Source()" builds with "ok" for "VP9.mkv". How come?
This is something I noticed for some files too. In this case lsmas is not decoding it properly but still manages to return the correct frames (or at least the same frames while it was reading the file linearly)

I plan to make a new table with some more infos like detected total frame numer, fps, color space etc. ...

EDIT: And it seems I downloaded also some "problem" files where I don't know if testing these are a good thing or not.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database

Last edited by ChaosKing; 31st July 2019 at 09:26.
ChaosKing is offline   Reply With Quote
Old 7th August 2019, 18:31   #2504  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,883
Quote:
Originally Posted by HolyWu View Post
ffms2-r1275+2-win64-20190808
  • Update to FFmpeg 4.2.
  • Switch to libdav1d for AV1 decoding.
May I ask you an x86 version for ffms2 as well?

Thank you in advance,
Frank
FranceBB is offline   Reply With Quote
Old 26th August 2019, 15:05   #2505  |  Link
jlw_4049
Registered User
 
Join Date: Sep 2018
Posts: 391
Quote:
Originally Posted by HolyWu View Post
ffms2-r1275+2-20190811
  • Update to FFmpeg 4.2.
  • Switch to libdav1d for AV1 decoding.
This build takes about 7 minutes and 30 seconds after indexing to finish. Stvg's build takes about 1 minute and 10 seconds after on a 4k Remux. What is the difference?

Last edited by jlw_4049; 26th August 2019 at 15:37.
jlw_4049 is offline   Reply With Quote
Old 26th August 2019, 15:58   #2506  |  Link
jlw_4049
Registered User
 
Join Date: Sep 2018
Posts: 391
Quote:
Originally Posted by HolyWu View Post
What program did you use for testing to get the indexing time? ffmsindex.exe?
I'm using StaxRip. Both of them actually index at the same speed. However, after they are done indexing StaxRip minimizes to the background for 1 or 8 minutes depending on the filter. Seems like the filter is looping or something, as it slowly makes 1 .avs file, then the 2nd .avs file like 6 minutes later before finally bringing the GUI back up.

I can't figure out if it's an issue with Stax or with the filters. I'm also talking to Stax76 as well. Hoping to figure it out :/
jlw_4049 is offline   Reply With Quote
Old 26th August 2019, 16:51   #2507  |  Link
jlw_4049
Registered User
 
Join Date: Sep 2018
Posts: 391
Quote:
Originally Posted by HolyWu View Post
The filter itself never makes .avs file.

Try testing with another program like AvsPmod or VirtualDub2 and see whether the issue persists.
You are right. The issue isn't with the indexer. My apologies!
jlw_4049 is offline   Reply With Quote
Old 30th August 2019, 13:18   #2508  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Quote:
Originally Posted by HolyWu View Post
The filter itself never makes .avs file.

Try testing with another program like AvsPmod or VirtualDub2 and see whether the issue persists.
I tried with VirtualDub2 (uses avifile api like staxrip) and the problem persists, it needs minutes to load, the reason is the amount of subtitles streams, in this case there are 45 subtitle streams. StvG's last build loads in ten seconds.

MediaInfo:

https://pastebin.com/5Qd4qjA8
stax76 is offline   Reply With Quote
Old 30th August 2019, 15:26   #2509  |  Link
Patman
Registered User
 
Patman's Avatar
 
Join Date: Jan 2015
Posts: 286
Quote:
Originally Posted by StvG View Post
This one (built against ffmpeg 4.1.4) has fixed VP9 seeking and AV1 support (aom).

Btw "lsmas.LWLibavSource()" is showing "ok" for "VP9.mkv" for most of the builds but the frames number is different than "ffms2.Source()" builds with "ok" for "VP9.mkv". How come?
Hi STvG,

can you make new build with ffmpeg 4.2?

Gesendet von meinem HMA-L09 mit Tapatalk
__________________
Tools for StaxRip | x264 - x265
Patman is offline   Reply With Quote
Old 30th August 2019, 21:26   #2510  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
@HolyWu

Thanks for the build, if it persists I try to reproduce it with a smaller file that I will upload then.

edit:

I'm still working on the issue but the first test shows that it's fixed!

Last edited by stax76; 30th August 2019 at 21:54.
stax76 is offline   Reply With Quote
Old 30th August 2019, 22:02   #2511  |  Link
StvG
Registered User
 
Join Date: Jul 2018
Posts: 447
Quote:
Originally Posted by Patman View Post
Hi STvG,

can you make new build with ffmpeg 4.2?

Gesendet von meinem HMA-L09 mit Tapatalk
Hi. Here is the updated version.
ffmpeg - n4.3-83e0b71
aom - 6788a07
StvG is offline   Reply With Quote
Old 30th August 2019, 22:42   #2512  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
@HolyWu

It's fixed, for my large test file the load time is now 25 seconds and the close time is 13 seconds, exactly identical to StvG's build, before the load time was several minutes, file is 50 GB, 3 audio and 45 subtitle tracks.

I've remuxed the file including all tracks and the load time was the same but after I remuxed it including only one audio and only one subtitle track the load time is 1 second !!!

edit:

3 audio tracks, 49 PGS subtitle tracks: 25 seconds load time
3 audio tracks, 0 PGS subtitle tracks: 1 second load time
1 audio tracks, 2 PGS subtitle tracks: 2 seconds load time
1 audio tracks, 10 PGS subtitle tracks: 3 seconds load time
1 audio tracks, 20 PGS subtitle tracks: 6 seconds load time

Last edited by stax76; 30th August 2019 at 23:58.
stax76 is offline   Reply With Quote
Old 31st August 2019, 07:32   #2513  |  Link
Patman
Registered User
 
Patman's Avatar
 
Join Date: Jan 2015
Posts: 286
Quote:
Originally Posted by StvG View Post
Hi. Here is the updated version.
ffmpeg - n4.3-83e0b71
aom - 6788a07
Thanks a lot.
Patman is offline   Reply With Quote
Old 31st August 2019, 09:52   #2514  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
Quote:
Originally Posted by StvG View Post
Hi. Here is the updated version.
ffmpeg - n4.3-83e0b71
aom - 6788a07
It seems FFmpeg 4.3 fixes some issues with frame seeking accuracity.

__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote
Old 31st August 2019, 11:22   #2515  |  Link
Natty
Noob
 
Join Date: Mar 2017
Posts: 221
Quote:
Originally Posted by StvG View Post
Hi. Here is the updated version.
ffmpeg - n4.3-83e0b71
aom - 6788a07
Natty is offline   Reply With Quote
Old 31st August 2019, 11:38   #2516  |  Link
StvG
Registered User
 
Join Date: Jul 2018
Posts: 447
Quote:
Originally Posted by ChaosKing View Post
It seems FFmpeg 4.3 fixes some issues with frame seeking accuracity.

Can you test the previous version with ffmpeg 4.1.4? I'm curious what is the difference.
Thanks.
StvG is offline   Reply With Quote
Old 31st August 2019, 18:03   #2517  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
Quote:
Originally Posted by ChaosKing View Post
It seems FFmpeg 4.3 fixes some issues with frame seeking accuracity.

Nice table. You've really captured why I hate to develop FFMS2.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is online now   Reply With Quote
Old 1st September 2019, 08:50   #2518  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
Quote:
Originally Posted by StvG View Post
Can you test the previous version with ffmpeg 4.1.4? I'm curious what is the difference.
Thanks.
4.1 looks the same except it can't open the MXF file. The problems started with FFmpeg 4.2 (but only for ffms2, lsmash is still frame accurate for almost everything.)
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database

Last edited by ChaosKing; 1st September 2019 at 08:52.
ChaosKing is offline   Reply With Quote
Old 1st September 2019, 22:31   #2519  |  Link
StvG
Registered User
 
Join Date: Jul 2018
Posts: 447
Quote:
Originally Posted by ChaosKing View Post
https://www.dropbox.com/sh/bxwibb20m...-PvwyU6Aa?dl=0

I wished the newer ffmpeg (ffms2) versions would also be frame accurate for the h264 mp4 files...
Here updated version. "ffms2_seeking_issue.mp4" is again "ok".
ffmpeg - n4.3-cc78783
aom - 05b3304

Last edited by StvG; 4th September 2019 at 20:58. Reason: updated link
StvG is offline   Reply With Quote
Old 1st September 2019, 22:57   #2520  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
Quote:
Originally Posted by StvG View Post
Here updated version. "ffms2_seeking_issue.mp4" is again "ok".
ffmpeg - n4.3-cc78783
aom - 05b3304
Can confirm. Seems like the "best" ffms2 version since the "ffms2-test8.dll" release.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing 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 19:18.


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