Log in

View Full Version : FFmpegSource


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 [55] 56 57 58 59 60

FranceBB
20th April 2022, 21:42
Who downloaded ffms2_6ad7738 (https://ppp.woelkli.com/s/NMk6MyD6LZR7nYH) (pass: u7Uezbh3fTHM), download it again. FFmpeg was built without zlib (FFImageSource couldn't open png files), now it's fixed.

I generally use ImageSource(), that's why I didn't notice.
Thanks for the heads up, though. :)

Ceppo
26th April 2022, 21:49
Is ffvideosource frame accurate with trim/temporal filter when importing a m2v file (DVD source)? I'm asking because I noticed it is x2 faster than regular d2v source filters :eek:

FranceBB
26th April 2022, 22:06
Is ffvideosource frame accurate with trim/temporal filter when importing a m2v file (DVD source)? I'm asking because I noticed it is x2 faster than regular d2v source filters :eek:

Technically it should.
The only issues I had with FFVideoSource() were with some MPEG-2 .ts files in which interlacing was screwed up once indexed while DGIndex did it right and a DNxHD 25i which had the interlacing screwed up once indexed due to a rather complicated bug which incidentally LWLibav also had, but that got fixed straight away in LWLibavVideoSource. Anyway, if FFVideoSource ever gives you problem, the sensible thing is to report the bug and then try with LSMASH.dll and call LWLibavVideoSource (). ;)

Ceppo
26th April 2022, 22:44
I had no problem at all, just wanting to check since another user didn't raccomanded to use it that way.

Thank you.

jlw_4049
26th July 2022, 17:19
Who downloaded ffms2_6ad7738 (https://ppp.woelkli.com/s/NMk6MyD6LZR7nYH) (pass: u7Uezbh3fTHM), download it again. FFmpeg was built without zlib (FFImageSource couldn't open png files), now it's fixed.

Works significantly better then the official release one! Thanks!

kedautinh12
4th August 2022, 13:44
Who downloaded ffms2_6ad7738 (https://ppp.woelkli.com/s/NMk6MyD6LZR7nYH) (pass: u7Uezbh3fTHM), download it again. FFmpeg was built without zlib (FFImageSource couldn't open png files), now it's fixed.

Your FFmpeg can't index my video in Megui. Example: https://mega.nz/file/eHQSWJxB#eSXcMype583W9Bij7L0jpot5Hse3WNdg9B2t4mxACPw

StvG
4th August 2022, 14:16
I can't help (not using MeGUI). The file is opening normally when MeGUI is not used.

kedautinh12
4th August 2022, 14:40
I can't help (not using MeGUI). The file is opening normally when MeGUI is not used.

My error logs in Megui:
-[Information] Log for job1 (idx, 2208012100.ts -> 2208012100.ts.ffindex)
--[Information] [04/08/2022 8:38:48 CH] Started handling job
--[Information] [04/08/2022 8:38:48 CH] Preprocessing
--[Information] [04/08/2022 8:38:48 CH] Job command line: "C:\Megui\MeGUI-2924-64\tools\ffms\ffmsindex.exe" -t -1 -f "C:\Users\ADMIN\Downloads\2208012100.ts" "C:\Users\ADMIN\Downloads\2208012100.ts.ffindex"
--[Information] [04/08/2022 8:38:48 CH] Process started
--[Information] [04/08/2022 8:38:48 CH] Standard output stream
--[Information] [04/08/2022 8:38:48 CH] Standard error stream
---[Information] [04/08/2022 8:38:48 CH] Indexing error: Audio decoding error
--[Error] [04/08/2022 8:38:48 CH] Process exits with error: 1
--[Information] [04/08/2022 8:38:48 CH] Job completed

FranceBB
4th August 2022, 15:01
Your FFmpeg can't index my video in Megui. Example: https://mega.nz/file/eHQSWJxB#eSXcMype583W9Bij7L0jpot5Hse3WNdg9B2t4mxACPw

It must be limited to MeGUI then, 'cause with AVSPmod it indexes it... https://i.imgur.com/BxAPDPW.png


--[Information] [04/08/2022 8:38:48 CH] Standard error stream
---[Information] [04/08/2022 8:38:48 CH] Indexing error: Audio decoding error
--[Error] [04/08/2022 8:38:48 CH] Process exits with error: 1
--[Information] [04/08/2022 8:38:48 CH] Job completed

Well, but I can see that the audio is indexed correctly...

https://i.imgur.com/Dn2LcS0.png

StvG
5th August 2022, 19:41
My error logs in Megui:
-[Information] Log for job1 (idx, 2208012100.ts -> 2208012100.ts.ffindex)
--[Information] [04/08/2022 8:38:48 CH] Started handling job
--[Information] [04/08/2022 8:38:48 CH] Preprocessing
--[Information] [04/08/2022 8:38:48 CH] Job command line: "C:\Megui\MeGUI-2924-64\tools\ffms\ffmsindex.exe" -t -1 -f "C:\Users\ADMIN\Downloads\2208012100.ts" "C:\Users\ADMIN\Downloads\2208012100.ts.ffindex"
--[Information] [04/08/2022 8:38:48 CH] Process started
--[Information] [04/08/2022 8:38:48 CH] Standard output stream
--[Information] [04/08/2022 8:38:48 CH] Standard error stream
---[Information] [04/08/2022 8:38:48 CH] Indexing error: Audio decoding error
--[Error] [04/08/2022 8:38:48 CH] Process exits with error: 1
--[Information] [04/08/2022 8:38:48 CH] Job completed

Try to index only the video stream without the audio one.

Kurtnoise
8th August 2022, 16:27
My error logs in Megui:
-[Information] Log for job1 (idx, 2208012100.ts -> 2208012100.ts.ffindex)
--[Information] [04/08/2022 8:38:48 CH] Started handling job
--[Information] [04/08/2022 8:38:48 CH] Preprocessing
--[Information] [04/08/2022 8:38:48 CH] Job command line: "C:\Megui\MeGUI-2924-64\tools\ffms\ffmsindex.exe" -t -1 -f "C:\Users\ADMIN\Downloads\2208012100.ts" "C:\Users\ADMIN\Downloads\2208012100.ts.ffindex"
--[Information] [04/08/2022 8:38:48 CH] Process started
--[Information] [04/08/2022 8:38:48 CH] Standard output stream
--[Information] [04/08/2022 8:38:48 CH] Standard error stream
---[Information] [04/08/2022 8:38:48 CH] Indexing error: Audio decoding error
--[Error] [04/08/2022 8:38:48 CH] Process exits with error: 1
--[Information] [04/08/2022 8:38:48 CH] Job completed
Looks like ffmsindex does not like -1 arg when only one audio stream is in TS files. Thats works correctly when several audio streams are there though...So, forcing the command line to -t 1 should work.

kedautinh12
8th August 2022, 17:10
Try to index only the video stream without the audio one.

Only video should work. Thanks

kedautinh12
8th August 2022, 17:10
Looks like ffmsindex does not like -1 arg when only one audio stream is in TS files. Thats works correctly when several audio streams are there though...So, forcing the command line to -t 1 should work.

In megui is auto app. I think can't add command line

Kurtnoise
9th August 2022, 07:15
In megui is auto app. I think can't add command line
make a bug report on megui tracker, I will have a look...

kedautinh12
9th August 2022, 08:29
make a bug report on megui tracker, I will have a look...

Ok, here
https://sourceforge.net/p/megui/bugs/972/

SilSinn9801
18th August 2022, 09:22
Who downloaded ffms2_6ad7738 (https://ppp.woelkli.com/s/NMk6MyD6LZR7nYH) (pass: u7Uezbh3fTHM), download it again. FFmpeg was built without zlib (FFImageSource couldn't open png files), now it's fixed.

Is this build compatible with the new VapourSynth R55+ method of storing alpha (from RGB+alpha PNG image sources) as a VideoNode property (rather than as a second clip in a 2-clip array like what the last official FFMS2 build –2.40– still does)? (This in reference to the issue I’m having here (https://forum.doom9.org/showthread.php?p=1973343).)

EDIT: Nevermind, it does after I tested it (https://forum.doom9.org/showthread.php?p=1973347#post1973347).

wonkey_monkey
28th January 2023, 21:50
I don't know if anyone knows, or needs to know, but I've been playing around with FFMS2 versions and I find I get seeking inaccuracies with myrsloik's 2.40 (original file was .mkv, but I also remuxed to .ts and .mp4 to no avail).

There is no problem with StvG's latest, nor with myrsloik's 2.23.1.

Edit: just found this: https://github.com/FFMS/ffms2/issues/394

StvG
29th January 2023, 18:57
ffms2_41af11c (https://ppp.woelkli.com/s/oJxxHkSrfqWeXYN) (pass: 6mO5osne0aCG):
- ffms2@780e931;
- ffmpeg@b95b2c;
- zlib 1.2.13;
- libxml2 v2.10.3;
- dav1d 1.0.0;
- AviSynth: set Dolby Vision RPU data in frame props.

StvG
15th February 2023, 07:43
ffms2_ad42af1 (https://ppp.woelkli.com/s/Zntfn8yMSdJDJn7) (pass: dhNsmKt69th1):
- ffms2@1031029;
- ffmpeg@4113445;
- dav1d 1.1.0.

FranceBB
15th February 2023, 12:24
Ah. A new update? Sweet.
Thanks for the new build, will test soon, right after lunch!

filler56789
15th February 2023, 13:25
ffms2_ad42af1 (https://ppp.woelkli.com/s/Zntfn8yMSdJDJn7) (pass: dhNsmKt69th1):
- ffms2@1031029;
- ffmpeg@4113445;
- dav1d 1.1.0.

:thanks: for the fresh build.

FranceBB
17th February 2023, 12:57
So far so good with the new build, I haven't received any errors on the jobs that have been running in our farm since the upgrade.

https://i.imgur.com/AgxIhKd.png

all the social x264 stuff, the streamix x262 stuff and the Remaster tape stuff went through successfully and the indexing was always with ffms2, so... looks good! :)

kedautinh12
17th February 2023, 14:40
So far so good with the new build, I haven't received any errors on the jobs that have been running in our farm since the upgrade.

https://i.imgur.com/AgxIhKd.png

all the social x264 stuff, the streamix x262 stuff and the Remaster tape stuff went through successfully and the indexing was always with ffms2, so... looks good! :)
Are you test with latest commit ffms mainstream??
https://github.com/FFMS/ffms2

FranceBB
17th February 2023, 16:43
@kedautinh12 it's the latest StvG build.

- ffms2@1031029;
- ffmpeg@4113445;
- dav1d 1.1.0.

He posted it here the other day, so I would assume yes:

ffms2_ad42af1 (https://ppp.woelkli.com/s/Zntfn8yMSdJDJn7) (pass: dhNsmKt69th1):
- ffms2@1031029;
- ffmpeg@4113445;
- dav1d 1.1.0.

manuelin
2nd March 2023, 02:40
ffms2_ad42af1 (https://ppp.woelkli.com/s/Zntfn8yMSdJDJn7) (pass: dhNsmKt69th1):
- ffms2@1031029;
- ffmpeg@4113445;
- dav1d 1.1.0.

ffms2_41af11c (https://ppp.woelkli.com/s/oJxxHkSrfqWeXYN) (pass: 6mO5osne0aCG):
- ffms2@780e931;
- ffmpeg@b95b2c;
- zlib 1.2.13;
- libxml2 v2.10.3;
- dav1d 1.0.0;
- AviSynth: set Dolby Vision RPU data in frame props.

ffms2_6ad7738 (https://ppp.woelkli.com/s/NMk6MyD6LZR7nYH) (pass: u7Uezbh3fTHM):
- ffms2@90975ec;
- ffmpeg n5.1@1764a6887b;
- zlib 1.2.12;
- dav1d 1.0.0;
- AviSynth: set Dolby Vision RPU data in frame props.

Hello!
I wanted to report a bug that occurs in the latest versions and did not occur in older versions.

The problem is that when I use FFVideoSource(), if the file path has some special character (for example letters like "á", "é", "í", "ó", "ú", "ñ", etc.) it fails and can't find the file.
This happens in ad42af1 and 41af11c, however in 6ad7738 (and I think older versions as well) it works fine without any problem.

It would be greatly appreciated if it could be fixed and work like old versions again.
Thank you so much!

LeXXuz
2nd March 2023, 05:39
Second that. Noticed the very same thing with German umlauts in file names.

StvG
2nd March 2023, 23:32
Hello!
I wanted to report a bug that occurs in the latest versions and did not occur in older versions.

The problem is that when I use FFVideoSource(), if the file path has some special character (for example letters like "á", "é", "í", "ó", "ú", "ñ", etc.) it fails and can't find the file.
This happens in ad42af1 and 41af11c, however in 6ad7738 (and I think older versions as well) it works fine without any problem.

It would be greatly appreciated if it could be fixed and work like old versions again.
Thank you so much!

Second that. Noticed the very same thing with German umlauts in file names.

Tested with FFVideoSource("Aá.mov"):
- using the latest AvsPmod (https://forum.doom9.org/showthread.php?p=1983578#post1983578) - error "Can't open file 'Aa.mov`;
- using ffmpeg/avsmeter64/VirtualDub2_44282 - no issues.

Are you using AvsPmod? Can you try to run the script with ffmpeg? Can you open the file with VirtualDub2?

LeXXuz
3rd March 2023, 09:28
Tested with FFVideoSource("Aá.mov"):
- using the latest AvsPmod (https://forum.doom9.org/showthread.php?p=1983578#post1983578) - error "Can't open file 'Aa.mov`;
- using ffmpeg/avsmeter64/VirtualDub2_44282 - no issues.

Are you using AvsPmod? Can you try to run the script with ffmpeg? Can you open the file with VirtualDub2?

I use MeGUI for indexing. Indexing starts and runs through the file after that MeGui is unable to open the indexfile in its AVS script creator stating file not found. In the log I can see the filename for opening the file doesn't have German umlauts but functional characters. Like its having the wrong char set.

Thought it's a MeGUI problem but it doesn't occur with older ffms versions.

manuelin
3rd March 2023, 11:00
Tested with FFVideoSource("Aá.mov"):
- using the latest AvsPmod (https://forum.doom9.org/showthread.php?p=1983578#post1983578) - error "Can't open file 'Aa.mov`;
- using ffmpeg/avsmeter64/VirtualDub2_44282 - no issues.

Are you using AvsPmod? Can you try to run the script with ffmpeg? Can you open the file with VirtualDub2?

Yes, I use AvsPmod.

But I think there is no problem with AvsPmod neither with AviSynth nor with script, since using the same AvsPmod and the same AviSynth and the same script and simply replacing the "ffms2.dll" and "ffmsindex.exe" files of the 3 versions I mentioned, FFVideoSource() works or does not work depending on the ffms2.dll/ffmsindex.exe files you use.

I previously reported the problem in the ffms2 repository but they replied to me that it is not ffms2 problem:
https://github.com/FFMS/ffms2/issues/414
So then I decided to report it here, since I use the files shared in this thread.

Thank you very much!

FranceBB
3rd March 2023, 16:35
Tested in AVSPmod mod 2.7.3.6 x64 on Windows Server 2019 and indeed "L'uomo che Ingannò la Morte MPEG-2 FULL HD SDR BT709 YUV422 25i TFF 8bit.mxf" doesn't seem to be an acceptable title due to the accent on "ò" resulting in the error "FFIndex: Can't open..." etc

https://i.imgur.com/5QWJLCu.png


Testing the very same script in Virtual Dub x64 also shows the issue:

https://i.imgur.com/0qMnZbJ.png

and so does ffplay:

https://i.imgur.com/55CYfda.png

and so does x264:

https://i.imgur.com/lOVvdnl.png

qyot27
3rd March 2023, 19:49
Make sure the script is UTF-8 encoded.

Set Windows' systemwide codepage to UTF-8.

Do CLI work in Windows Terminal, since it can correctly display international characters.

Use ffmsindex to index the files.

StvG
4th March 2023, 00:22
Is ffms2_ad42af1_v1_x64 (https://ppp.woelkli.com/s/H4kXCaZczp6cksc) (pass: BLxmx6YsVJ03) any better?

LeXXuz
4th March 2023, 15:54
Is ffms2_ad42af1_v1_x64 (https://ppp.woelkli.com/s/H4kXCaZczp6cksc) (pass: BLxmx6YsVJ03) any better?

Yes. This version works fine for me. :) :thanks:

kedautinh12
5th March 2023, 02:58
Is ffms2_ad42af1_v1_x64 (https://ppp.woelkli.com/s/H4kXCaZczp6cksc) (pass: BLxmx6YsVJ03) any better?

how about x86??

filler56789
5th March 2023, 22:34
Is ffms2_ad42af1_v1_x64 (https://ppp.woelkli.com/s/H4kXCaZczp6cksc) (pass: BLxmx6YsVJ03) any better?
how about x86??
:goodpost: +1.
There are VfW codecs which are 32-bit only,
such as the olde and goode DivX.

FranceBB
5th March 2023, 23:40
how about x86??

Not quite as updated, but there are x86 builds from Reino. (https://rwijnsma.home.xs4all.nl/files/ffms2/?C=M;O=D)


:goodpost: +1.
There are VfW codecs which are 32-bit only,
such as the olde and goode DivX.

He released those in January 2023: https://forum.doom9.org/showthread.php?t=181802&page=4

Specifically, this is the 08-01-2023 ffms2 build: Link (https://rwijnsma.home.xs4all.nl/files/ffms2/ffms2-2.18-756-4d45afc-avs-vsp_ffmpeg-5.2-2131-fcd557a-win32-xpmod-sse.7z)
and of course his x86 builds are also XP compatible ;)
Perhaps, if you want a more updated one, like one from March instead of January, you can ask him in his dedicated topic and I'm sure he'll be happy to do that. ;)

filler56789
6th March 2023, 00:35
...
Perhaps

Not perhaps, surely.
I still don't know if you really misunderstood what kedautinh12 and I said,
OR if you just simulate misunderstandings for having some reason to post something. :D

FranceBB
6th March 2023, 00:50
Not perhaps, surely.
I still don't know if you really misunderstood what kedautinh12 and I said

It's midnight.
It's been a long day... Sorry about that

Reel.Deel
6th March 2023, 00:50
:goodpost: +1.
There are VfW codecs which are 32-bit only,
such as the olde and goode DivX.

Not sure what VfW has to do with FFMS2. FFmpeg has its own decoding libraries and does not rely on VfW.

StvG
6th March 2023, 17:22
how about x86??

Redownload ffms2_ad42af1_v1.

manuelin
7th March 2023, 11:00
Is ffms2_ad42af1_v1_x64 (https://ppp.woelkli.com/s/H4kXCaZczp6cksc) (pass: BLxmx6YsVJ03) any better?

It is still giving error, but now the problem is different...

Now the problem of the characters may be solved. I mean, I think there is another problem now.

Now every time I try to load the script, every time I reload it with F5, it shows me a different error... Something very strange.
The different errors that are displayed each time I press F5 are the following:
Failed to open 'XXXX.ffindex'
Failed to open 'XXXX.mkv'
Can't open 'XXXX.mkv'
The index does not match the source file

In fact, after reloading and trying many (many, many) times, sometimes it does work and loads the video..... Very strange.


Thank you very much for everything!

filler56789
7th March 2023, 19:29
Redownload ffms2_ad42af1_v1.

Thanks :thanks: again.

StvG
8th March 2023, 07:28
It is still giving error, but now the problem is different...

Now the problem of the characters may be solved. I mean, I think there is another problem now.

Now every time I try to load the script, every time I reload it with F5, it shows me a different error... Something very strange.
The different errors that are displayed each time I press F5 are the following:


In fact, after reloading and trying many (many, many) times, sometimes it does work and loads the video..... Very strange.


Thank you very much for everything!

What happens if you run the script with AVSMeter?

manuelin
8th March 2023, 09:50
Is ffms2_ad42af1_v1_x64 (https://ppp.woelkli.com/s/H4kXCaZczp6cksc) (pass: BLxmx6YsVJ03) any better?

It is still giving error, but now the problem is different...

Now the problem of the characters may be solved. I mean, I think there is another problem now.

Now every time I try to load the script, every time I reload it with F5, it shows me a different error... Something very strange.
The different errors that are displayed each time I press F5 are the following:
Failed to open 'XXXX.ffindex'
Failed to open 'XXXX.mkv'
Can't open 'XXXX.mkv'
The index does not match the source file

In fact, after reloading and trying many (many, many) times, sometimes it does work and loads the video..... Very strange.


Thank you very much for everything!

What happens if you run the script with AVSMeter?

I have tried AVSMeter and the same thing happens.

Every time I run the command, each time it shows me a different error from those I indicated in my previous comment.

Emulgator
8th March 2023, 10:16
What happens if you delete the old index file first and then F5 ?

manuelin
8th March 2023, 12:47
What happens if you delete the old index file first and then F5 ?

There is no ffindex file, it starts to process and load the video but finally it gives an error and the ffindex file is not generated.

kakaze
19th April 2023, 00:49
Is ffms2_ad42af1_v1_x64 (https://ppp.woelkli.com/s/H4kXCaZczp6cksc) (pass: BLxmx6YsVJ03) any better?
no, the same problems, typical errors, if the language in the path/file names is not English (in my case Cyrillic). This is both in AvsPmod and in the console script.
there is no such problem in ffms2_6ad7738.

LeXXuz
19th April 2023, 09:23
Yes. This version works fine for me. :) :thanks:

Have to revoke this as well. Still problems with files with German umlauts in the path name. No idea why it worked with the one file I tested it back then.

StvG
24th April 2023, 00:35
ffms2_r1360 (https://ppp.woelkli.com/s/H4kXCaZczp6cksc) (pass: BLxmx6YsVJ03):
- AviSynth: input filenames converted to UTF-8.
- ffms2@cf7c4b2;
- ffmpeg@7ecf1bf;
- libxml2 v2.10.4.

kakaze
26th April 2023, 20:17
ffms2_r1360 (https://ppp.woelkli.com/s/H4kXCaZczp6cksc) (pass: BLxmx6YsVJ03):
- AviSynth: input filenames converted to UTF-8.
- ffms2@cf7c4b2;
- ffmpeg@7ecf1bf;
- libxml2 v2.10.4.
now it works, thx