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. |
![]() |
#2941 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,822
|
My results for ffms2 5.0
![]()
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
![]() |
![]() |
![]() |
#2942 | Link |
Registered User
Join Date: Jun 2022
Posts: 139
|
What does it mean?
"Fixed all issues with FFmpeg 6.1 which is now the minimum requirement" Can I load the avs file into "ffmpeg version 2024-02-26-git-a3ca4beeaa-full_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers built with gcc 12.2.0 (Rev10, Built by MSYS2 project)" ? |
![]() |
![]() |
![]() |
#2943 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 7,199
|
FFmpegSource contains an own core of FFmpeg (libavcodec, libavformat) to be able to read different source media formats into AviSynth. It does not matter where you load that AviSynth script into.
Version 6.1 of FFmpeg is the minimum requirement for FFmpeg sources to build the FFmpegSource AviSynth plugin with. If you don't compile it, it doesn't matter to you. Last edited by LigH; 9th October 2024 at 15:17. |
![]() |
![]() |
![]() |
#2944 | Link |
Formerly davidh*****
Join Date: Jan 2004
Posts: 2,641
|
Is there any way (for me, as a user) to speed up FFmpegSource audio seeking?
I'm opening some blu-ray rips (my own) with multiple DTS-MA/DTS tracks and I'm getting significant pauses, sometimes of several seconds, when jumping around in the video and hitting play in VirtuaDub2. It seems to be due to audio, because if I open the files without audio, or remove the audio track in Avisynth, the pauses disappear. LSmashSource2 failed to open it; LibavSource2 worked and doesn't have any pauses. I've always used FFmpegSource up until now though, and it's quite a bit quicker to load initially. Last edited by wonkey_monkey; 15th January 2025 at 22:17. |
![]() |
![]() |
![]() |
#2945 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,606
|
Quote:
But why are you even using this for latency sensitive previewing?
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
![]() |
![]() |
![]() |
#2946 | Link | |
Formerly davidh*****
Join Date: Jan 2004
Posts: 2,641
|
Quote:
Edit: I don't think FFmpegSource is indexing audio properly in MKV files. Last edited by wonkey_monkey; 2nd February 2025 at 01:25. |
|
![]() |
![]() |
![]() |
#2947 | Link |
Registered User
Join Date: Jul 2010
Location: Berlin, Germany
Posts: 50
|
I'd also love to see a 32bit version of this plugin since I'm forced to use a couple older programs which do support AVISynth, but are only availabe as 32bit/x86 making me stick to the older v2.40 of FFMS2.
|
![]() |
![]() |
![]() |
#2948 | Link |
Registered User
Join Date: Jun 2022
Posts: 139
|
FFMS2 (last version) can't open a file when the AviSynth script is encoded in e.g. CP-1250, not UTF.
The old version of FFMS2 (2390), LWLibavVideoSource and BestSource don't have this problem (but the latter has been indexing my file for a few minutes and there's no end in sight - but at least it works). ![]() Last edited by rgr; 30th January 2025 at 09:54. |
![]() |
![]() |
![]() |
#2949 | Link |
Registered User
Join Date: Jul 2018
Posts: 556
|
I don't know what you're referring by "newer version than r2390" but there is no newer version than r2390. The plugin from github and this from codeberg are different so they shouldn't be treated as just "older / newer".
|
![]() |
![]() |
![]() |
#2950 | Link | |
Moderator
![]() Join Date: Feb 2005
Location: Spain
Posts: 7,206
|
Of course are different versions, but your r2390 is older (2020) than 5.0 (2024) from Myrsloik.
The question is this file: Quote:
But using C:\Test\5.0\ffms2.dll only work saved as UTF8 (without BOM). There are other differences (see the links and the ChaosKing tests #2617 and #2941) and select your preference. |
|
![]() |
![]() |
![]() |
#2952 | Link | |
Registered User
Join Date: Jul 2018
Posts: 556
|
Quote:
The official ffms2 doesn't handle ANSI and will not handle it until there is change in its code. If you don't see changes in the changelog about it don't expect to magically work. |
|
![]() |
![]() |
![]() |
#2953 | Link | |
Moderator
![]() Join Date: Feb 2005
Location: Spain
Posts: 7,206
|
Quote:
BTW the preference must be by other differences, not by not support ANSI avs files when there are free tools (notepad++) to easy change ANSI <-> UTF8 codification. I don't know how rgr make the avs files but some tools (like MeGUI) make avs with UTF8 already. |
|
![]() |
![]() |
![]() |
#2954 | Link | |||
Moderator
![]() Join Date: Feb 2005
Location: Spain
Posts: 7,206
|
I don't know if is still valid the differences here:
Quote:
2 and 6) I don't know when is needed GetParity, _FieldBased and _ColorRange set per frame 7) Use Avs+ older than 3.7.3 it is not recommended at all. 5) Problem already commented 3 and 4) rffmode removed in 5.0. To evaluate the impact read the help in RC 4: Quote:
The help about this parameter can be interesting: Quote:
Last edited by tebasuna51; 2nd February 2025 at 13:31. Reason: typo |
|||
![]() |
![]() |
![]() |
#2955 | Link | ||
Registered User
Join Date: Jul 2018
Posts: 556
|
Quote:
7 - keep in mind the official ffms2 will just crash instead to give error message. The latest official ffms2 5.0 (2024-05-28) have changes that significantly impact the decoding (https://github.com/FFMS/ffms2/pull/437). This is the main reason that I wrote that both variants shouldn't be considered as just newer/older. |
||
![]() |
![]() |
![]() |
#2956 | Link | |
Registered User
Join Date: Jun 2022
Posts: 139
|
Quote:
- 2390 does not set PAR for each frame separately (but rather sets it, but from the stream property, not from the frame property) - 2390 for AVI files (captured from a DV camera) recognizes incorrect fps (50.32 or 49.68 or similar instead of 50) - 2390 does not handle VFR correctly, but I don't think any ffms2 does |
|
![]() |
![]() |
![]() |
#2957 | Link | |
Registered User
Join Date: Jul 2018
Posts: 556
|
Quote:
- PAR: can you show example of what you mean? - AVI fps: it looks like rounding errors. Can you share short video sample with this issue? |
|
![]() |
![]() |
![]() |
#2958 | Link |
Registered User
Join Date: Jun 2022
Posts: 139
|
- PAR
When I read an AVI file from a DV camera that is partly recorded in 4:3 and partly in 16:9, the 2390 version returns the same PAR for each frame. LWLibavVideoSource changes the PAR to the correct one for each frame, MPC also changes the aspect ratio from where the PAR changes. - AVI (M2TS) My mistake -- it's an M2T file. I'll give the link privately, because ffms2 has bigger problems with it anyway ![]() - VFR https://files.fm/u/cemhy7vrmx (upload in progress... 6 files) Last edited by rgr; 7th February 2025 at 23:04. |
![]() |
![]() |
![]() |
#2959 | Link |
Registered User
Join Date: Jul 2018
Posts: 556
|
The tebasuna51 comment you quoted is about the differences between the ffms2 version not between ffms2 and LSMASHSource/other source filter.
To be clear - the differences you wrote are between ffms2 and LSMASHSource not between the ffms2 versions. Thanks for the samples. You can test this version. It sets _SARxxx frames props per frame and uses more robust fps calculation. Edit: The file you shared (M2T one) is damaged (has video corrupted packages) - https://i.ibb.co/TxCGxwTR/Untitled.png Last edited by StvG; 9th February 2025 at 04:08. |
![]() |
![]() |
![]() |
#2960 | Link |
Broadcast Encoder
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 3,210
|
Hey StvG, thank you for picking up ffms2 and maintaining it while Myrsloyk was away, I think everyone here appreciates what you've done during this time.
To me and plenty others your builds are now the de facto standard and main branch of ffms2. ![]() After talking to asd-g, he introduced a new parameter in LWLibavAudioSource() which I think FFAudioSource() would also greatly benefit from. Such a parameter is a boolean called "fill_audio_gaps" which can be set to either true or false. What it does is basically read the PTS while indexing and - if there's a gap in the audio track - it fills it with silence so that the audio stays synced with the video and ends up having the same duration instead of being shortened (and therefore desynced) from the point of the gap onwards. Here's the commit: https://github.com/HomeOfAviSynthPlu...d62c4fffc512a5 I tested it and it seems to be working reliably well and it could help in plenty of occasions, especially with .ts and .mxf containers in which CRC Errors are very common as there might be plenty of issues with incoming signals that are recorded, so my question is: would you be interested in adding a similar parameter/feature in FFAudioSource()? Last edited by FranceBB; 13th February 2025 at 16:36. |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|