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 8th March 2015, 18:22   #1961  |  Link
Kein
Registered User
 
Kein's Avatar
 
Join Date: Mar 2010
Posts: 79
I just recorded another clip from this and another game with the same codec and same options and then opened it just fine (with your version of the plugin, ffms2_r940c64-avs_vsp). But that particular clip I cannot.

It works just fine elsewhere. It is not damaged. There is nothing special about it. You can open. Why I can't?
Kein is offline   Reply With Quote
Old 10th March 2015, 10:41   #1962  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,843
Can we have ffmpegsource based on "current" (2.6) ffmpeg, please?
kolak is offline   Reply With Quote
Old 10th March 2015, 10:51   #1963  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by Kein View Post
I just recorded another clip from this and another game with the same codec and same options and then opened it just fine (with your version of the plugin, ffms2_r940c64-avs_vsp). But that particular clip I cannot.

It works just fine elsewhere. It is not damaged. There is nothing special about it. You can open. Why I can't?
Did you load ffms2.dll with "LoadCPlugin" or just copy it to your auto-load directory? Your file also works for me with r940c64.

Last edited by Groucho2004; 10th March 2015 at 10:53.
Groucho2004 is offline   Reply With Quote
Old 15th March 2015, 07:27   #1964  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Possibly ffms2 misses to release a file handle, I use the avifile API, after releasing and cleaning everything the process still locks the source, I tried other source filters and it happens only with ffms2.
stax76 is offline   Reply With Quote
Old 16th March 2015, 19:50   #1965  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
With latest C plugin build when I open 2-3 movies seeking around in StaxRip's preview memory grow up quickly causing a out of memory exception at 1,5 GB.

With the 2.20 release memory stays always below 850 MB.

Specs of test file: http://pastebin.com/MxqcTkRh

Last edited by stax76; 16th March 2015 at 19:56.
stax76 is offline   Reply With Quote
Old 17th March 2015, 03:02   #1966  |  Link
qyot27
...?
 
qyot27's Avatar
 
Join Date: Nov 2005
Location: Florida
Posts: 1,419
This has been a mysterious leak for a while. It came up regarding MeGUI a year ago, and I could reproduce it in VirtualDub:
http://forum.doom9.org/showthread.ph...11#post1674911

But I wasn't able to find where it was doing it in the C interface part of FFMS2.
qyot27 is offline   Reply With Quote
Old 17th March 2015, 03:11   #1967  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Any ideas on the file lock?

edit: happens also with c plugin only

Last edited by stax76; 18th March 2015 at 17:21.
stax76 is offline   Reply With Quote
Old 23rd March 2015, 00:34   #1968  |  Link
Kein
Registered User
 
Kein's Avatar
 
Join Date: Mar 2010
Posts: 79
Another issue with Dxtory and FFmpeg.

For some reason ffms detects source as 1920x1080@44FPS while it was recorded in 60. What gives?
Kein is offline   Reply With Quote
Old 27th March 2015, 00:16   #1969  |  Link
qyot27
...?
 
qyot27's Avatar
 
Join Date: Nov 2005
Location: Florida
Posts: 1,419
FFMS2 C-plugin r944+69

Optimized for Pentium-III and SSE.

ffmpeg version r70952 git-db4234c Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.9.2 (GCC)
Code:
  libavutil      54. 20.100 / 54. 20.100
  libavcodec     56. 29.100 / 56. 29.100
  libavformat    56. 26.101 / 56. 26.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 13.101 /  5. 13.101
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100

  configuration:
    --prefix=/home/qyot27/win32_build
    --cross-prefix=i686-w64-mingw32-
    --enable-gpl
    --enable-version3
    --disable-w32threads
    --enable-avresample
    --disable-encoders
    --disable-decoder=utvideo
    --enable-libutvideo
    --disable-decoder=dca
    --enable-libdcadec
    --disable-muxers
    --disable-doc
    --disable-debug
    --disable-devices
    --cpu=pentium3
    --extra-cflags='-mfpmath=sse -march=pentium3 -msse -mtune=pentium3 -DPTW32_STATIC_LIB'
    --target-os=mingw32
    --arch=x86
Uses libdcadec, although due to the currently fairly rapid development pace of libdcadec, consider it only a snapshot. Should still be better compared to the native decoder.

EDIT 2015-05-05: Newer build available here.

Last edited by qyot27; 6th May 2015 at 01:22.
qyot27 is offline   Reply With Quote
Old 27th March 2015, 12:14   #1970  |  Link
Pat357
Registered User
 
Join Date: Jun 2006
Posts: 452
Quote:
Originally Posted by qyot27 View Post
FFMS2 C-plugin r944+69

Uses libdcadec, although due to the currently fairly rapid development pace of libdcadec, consider it only a snapshot. Should still be better compared to the native decoder.
Thanks !
Finally a decent replace for the rather poor ffdca !!
Note : currently no support for 192 kHz sample rates , just up to 92 kHz !

see : https://github.com/foo86/dcadec

Last edited by Pat357; 27th March 2015 at 12:19.
Pat357 is offline   Reply With Quote
Old 28th March 2015, 00:53   #1971  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
I have a question about the license:

Quote:
The source is MIT licensed and can be obtained from https://github.com/FFMS/ffms2/. The precompiled binary is GPL3 licensed. (...)
I don't understand this construction. As I understand it you can only license the software (being the binary here). The binary can be released under different licenses, and you (if one wouldn't be the sole copyright-holder) can release it under a compatible license. It doesn't make any sense to me to say that the sourcecode is licensed under a particular license. Perhaps i'm missing something ...
Wilbert is offline   Reply With Quote
Old 28th March 2015, 01:06   #1972  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
Originally Posted by Wilbert View Post
I have a question about the license:


I don't understand this construction. As I understand it you can only license the software (being the binary here). The binary can be released under different licenses, and you (if one wouldn't be the sole copyright-holder) can release it under a compatible license. It doesn't make any sense to me to say that the sourcecode is licensed under a particular license. Perhaps i'm missing something ...
Well, to my understanding, the copyright-holder can put his/her own code under whatever license he/she wants. The code can even be released under multiple different licenses at the same time - as many projects do.

Now, if you combine your own code with someone else's code, then the combined work needs to be distributed under a compatible license, of course. So, if the authors of FFMS2 decide to release their own code under the MIT license, they are of course free to do so! But as soon as a binary is created, which unavoidably contains some FFmpeg code too, then the whole thing must be distributed under the LGPL or GPL - depending on what FFmpeg feature are enabled. That's because FFmpeg is released under the LGPL - and partly under the GPL. And the GPL/LGPL is more restrictive than the MIT license. You can combine MIT'ed code with GPL'ed or LGPL'ed code, but the combined work has to be distributed under GPL/LGPL then.

Unless I'm missing anything here, this should be fine
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 28th March 2015 at 01:19.
LoRd_MuldeR is offline   Reply With Quote
Old 28th March 2015, 01:11   #1973  |  Link
captainadamo
Guest
 
Posts: n/a
Quote:
Originally Posted by Wilbert View Post
I have a question about the license:

Quote:
The source is MIT licensed and can be obtained from https://github.com/FFMS/ffms2/. The precompiled binary is GPL3 licensed. (...)
I don't understand this construction. As I understand it you can only license the software (being the binary here). The binary can be released under different licenses, and you (if one wouldn't be the sole copyright-holder) can release it under a compatible license. It doesn't make any sense to me to say that the sourcecode is licensed under a particular license. Perhaps i'm missing something ...
What exactly is the confusion? Certain source files in ffms2 are licensed under something like the MIT license, but the project also contains GPLed code. So as a whole the combined work, the binary, is licensed under the GPL per the way the GPL works. It's no different than how countless other projects such as the Linux kernel work. The Linux kernel is overarching GPLv2, but it contains MIT/BSD/etc. more permissive licensed code in it as well. There is nothing exotic or out-of-the-ordinary here.

Last edited by captainadamo; 28th March 2015 at 01:14.
  Reply With Quote
Old 28th March 2015, 01:29   #1974  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
Guess i should think a little bit before asking. I forgot that you are combining GPL en MIT code. How stupid.
Wilbert is offline   Reply With Quote
Old 28th March 2015, 05:27   #1975  |  Link
mariner
Registered User
 
Join Date: Nov 2005
Posts: 583
Quote:
Originally Posted by qyot27 View Post
FFMS2 C-plugin r944+69

Optimized for Pentium-III and SSE.

ffmpeg version r70952 git-db4234c Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.9.2 (GCC)
Code:
  libavutil      54. 20.100 / 54. 20.100
  libavcodec     56. 29.100 / 56. 29.100
  libavformat    56. 26.101 / 56. 26.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 13.101 /  5. 13.101
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100

  configuration:
    --prefix=/home/qyot27/win32_build
    --cross-prefix=i686-w64-mingw32-
    --enable-gpl
    --enable-version3
    --disable-w32threads
    --enable-avresample
    --disable-encoders
    --disable-decoder=utvideo
    --enable-libutvideo
    --disable-decoder=dca
    --enable-libdcadec
    --disable-muxers
    --disable-doc
    --disable-debug
    --disable-devices
    --cpu=pentium3
    --extra-cflags='-mfpmath=sse -march=pentium3 -msse -mtune=pentium3 -DPTW32_STATIC_LIB'
    --target-os=mingw32
    --arch=x86
Uses libdcadec, although due to the currently fairly rapid development pace of libdcadec, consider it only a snapshot. Should still be better compared to the native decoder.
Greetings qyot27. Appreciate your continuing effort to update ffms2.

Is this to be used with Avisynth 2.58?

Many thanks and best regards.
mariner is offline   Reply With Quote
Old 28th March 2015, 07:23   #1976  |  Link
qyot27
...?
 
qyot27's Avatar
 
Join Date: Nov 2005
Location: Florida
Posts: 1,419
Quote:
Originally Posted by mariner View Post
Is this to be used with Avisynth 2.58?
2.5 is still supported, at the moment. But the C plugin's purpose had shifted to giving 2.6 precedence years ago.
qyot27 is offline   Reply With Quote
Old 28th March 2015, 12:55   #1977  |  Link
mariner
Registered User
 
Join Date: Nov 2005
Posts: 583
Quote:
Originally Posted by qyot27 View Post
2.5 is still supported, at the moment. But the C plugin's purpose had shifted to giving 2.6 precedence years ago.
Thanks for the kind reply, qyot27.
I take it yours is the preferred version to the official 2.2 built?
Many thanks and best regards.
mariner is offline   Reply With Quote
Old 28th March 2015, 20:02   #1978  |  Link
qyot27
...?
 
qyot27's Avatar
 
Join Date: Nov 2005
Location: Florida
Posts: 1,419
My builds of the C plugin are simply updated more often. 'Preferred' is purely subjective.
qyot27 is offline   Reply With Quote
Old 28th March 2015, 21:08   #1979  |  Link
Kein
Registered User
 
Kein's Avatar
 
Join Date: Mar 2010
Posts: 79
Quote:
Originally Posted by Kein View Post
Another issue with Dxtory and FFmpeg.

For some reason ffms detects source as 1920x1080@44FPS while it was recorded in 60. What gives?

No ideas?
Kein is offline   Reply With Quote
Old 28th March 2015, 21:10   #1980  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Make a bug report with a sample on the tracker. Best chance to get someone to look at it.
https://github.com/FFMS/ffms2/issues
sneaker_ger 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 05:45.


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