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. |
14th September 2013, 02:54 | #1801 | Link |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,416
|
EDIT 2013-10-04: Newer build here:
http://forum.doom9.org/showthread.php?p=1646661#post1646661 FFMS2 C-plugin r836 Optimized for Pentium III and SSE. Explanation of the revision number: the difference between trunk and Git's internal revision counting is 67 commits, so it's just the dumb math of running 'git rev-list --count HEAD' on the cplugin_master branch and then adding 67 to it. The short version: ignore the revision number right now, it's caught up to the master branch. Since FFmpeg got the Opus-in-Matroska stuff sorted out over the last couple days, it's been patched to also be capable of handling that. Built against ffmpeg version r56269 git-108b91c. FFmpeg configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avresample --enable-libopus --disable-decoder=utvideo --enable-libutvideo --disable-decoder=vp8 --enable-libvpx --disable-encoders --enable-avisynth --disable-muxers --disable-debug --disable-network --disable-hwaccels --disable-indevs --disable-outdevs --cpu=pentium3 --extra-cflags='-mfpmath=sse -march=pentium3 -msse -mtune=pentium3 -DPTW32_STATIC_LIB' --target-os=mingw32 --arch=x86 Last edited by qyot27; 4th October 2013 at 15:02. |
18th September 2013, 15:52 | #1802 | Link |
warpsharpened
Join Date: Feb 2007
Posts: 787
|
ffms2-2.19.7z
2.19 is the same as 2.18 except it actually compiles outside of msvc, hence the skip to 2.19. See the 2.18 release post for a changelog. Code:
2.19 20130917 Built with MSVC 2012 Update 3: c99-to-c89 7e75aa9 https://github.com/libav/c99-to-c89 ffmpeg 78f680c http://www.ffmpeg.org/ opencore-amr 0.13 http://sourceforge.net/projects/opencore-amr/ zlib 1.28 http://www.zlib.net ../ffmpeg/configure --enable-gpl --enable-version3 --enable-runtime-cpudetect \ --disable-debug --samples=/f/build/fate-ffmpeg-samples --toolchain=msvc \ --enable-w32threads --enable-avresample --enable-zlib \ --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-inline-asm \ --disable-muxers --disable-encoders --disable-filters --disable-hwaccels \ --disable-network --disable-devices |
4th October 2013, 15:02 | #1803 | Link |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,416
|
EDIT: Newer build available here..
FFMS2 C-plugin r783+33 Optimized for Pentium III and SSE. Includes a fix that allows the plugin to work with the current version of AviSynth+. I've settled on a different method of representing the revision number, which is why the number dropped. Built against FFmpeg r56888 git-bb9e9ee, has a single patch to avoid crashing on non-SSE2 processors FFmpeg configuration: Code:
--cross-prefix=i686-w64-mingw32- --enable-gpl --enable-version3 --disable-w32threads --enable-avresample --enable-libopus --disable-decoder=utvideo --enable-libutvideo --disable-decoder=vp8 --enable-libvpx --disable-encoders --enable-avisynth --disable-muxers --disable-debug --disable-network --disable-hwaccels --disable-indevs --disable-outdevs --cpu=pentium3 --extra-cflags='-mfpmath=sse -march=pentium3 -msse -mtune=pentium3 -DPTW32_STATIC_LIB' --target-os=mingw32 --arch=x86 Last edited by qyot27; 29th October 2013 at 11:35. |
28th October 2013, 14:30 | #1805 | Link | |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,416
|
Quote:
EDIT: Newer build available here. FFMS2 C-plugin r800+29 Optimized for Pentium III and SSE. Built against FFmpeg r57511 git-8930637: Code:
--enable-gpl --enable-version3 --disable-w32threads --disable-ffprobe --disable-avdevice --disable-swresample --disable-postproc --disable-avfilter --enable-avresample --disable-doc --disable-debug --disable-encoders --disable-muxers --disable-network --disable-hwaccels --enable-libilbc --enable-libopus --enable-libspeex --disable-decoder=utvideo --enable-libutvideo --enable-avisynth --cpu=pentium3 --extra-cflags="-mfpmath=sse -march=pentium3 -msse -mtune=pentium3 -DPTW32_STATIC_LIB" --target-os=mingw32 --arch=x86 Last edited by qyot27; 21st December 2013 at 10:53. |
|
29th October 2013, 08:23 | #1807 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,746
|
Works with HEVC video in MP4. But due to the complexity of the format, random seeking is a bit unreliable (or just very slow to get decoded to the target?), linear access strongly recommended.
|
31st October 2013, 14:21 | #1808 | Link |
Registered User
Join Date: May 2006
Posts: 237
|
When using an MKV source with multiple audio tracks, is there a way to get the native specs?
Often it's obvious, different languages or number of channels, but I have some with with AC3 stereo at a high bit rate and AAC stereo at a low rate. How can I be sure which one I'm decoding? Or what can reliably give me the same "atrack" number that ffms2 uses and the spec of that track? |
31st October 2013, 22:11 | #1809 | Link | |
Excessively jovial fellow
Join Date: Jun 2004
Location: rude
Posts: 1,100
|
Quote:
|
|
1st November 2013, 01:08 | #1810 | Link |
Retried Guesser
Join Date: Jun 2012
Posts: 1,373
|
>what can reliably give me the same "atrack" number that ffms2 uses and the spec of that track?
This little batch file will. FFprobe.exe (or ffmpeg.exe or ffplay.exe) will list the stream numbers and other information on any file it understands. In limited tests I have found the stream numbers to be compatible with FFMS. I keep this batch file in my Send To folder for quick info on any media file. Code:
"path\to\ffmpeg\ffprobe.exe" -i "%~dpnx1" pause |
13th November 2013, 13:54 | #1811 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,746
|
Using libav decoders, FFMS2 is apparently able to decode Lagarith YUV 4:2:0; but Lagarith YUV 4:2:2 fails, according to tests by users in the German doom9/Gleitz forum. But this format is used by some people for e.g. analog capturing or intermediately for interlaced conversions.
Therefore I'd like to put a feature request to get Lagarith YUV 4:2:2 supported too. According to JEEB, it may be possible in conjunction with 4:2:0, if it doesn't differ severely. Provided any developer has enough time and interest in it. Are there better places to ask for it than here? __ P.S.: It is already implemented. Sorry for the noise. The reporter must have used an outdated version... Last edited by LigH; 13th November 2013 at 14:21. |
21st December 2013, 10:52 | #1813 | Link | |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,416
|
Quote:
FFMS2 C-plugin r809+35 Optimized for Pentium-III and SSE. FFmpeg configuration: Code:
ffmpeg version r59267 git-10a9f33 Copyright (c) 2000-2013 the FFmpeg developers built on Dec 20 2013 23:42:33 with gcc 4.8.2 (GCC) configuration: --prefix=/home/qyot27/win32_build --cross-prefix=i686-w64-mingw32- --enable-gpl --enable-version3 --disable-w32threads --enable-avresample --disable-doc --enable-libopus --disable-decoder=utvideo --enable-libutvideo --disable-encoders --disable-muxers --disable-doc --disable-debug --disable-network --disable-hwaccels --disable-indevs --disable-outdevs --cpu=pentium3 --extra-cflags='-mfpmath=sse -march=pentium3 -msse -mtune=pentium3 -DPTW32_STATIC_LIB' --target-os=mingw32 --arch=x86 Last edited by qyot27; 22nd March 2014 at 02:50. |
|
2nd January 2014, 01:03 | #1816 | Link |
Registered User
Join Date: Sep 2011
Posts: 37
|
@qyot27: Thanks for your build.
I replaced an more older oficial build with your build. And my program (a C# program) has stopped working. After investigation is because: In the oficial build the functions are exported as: _FFMS_Init@8 But in your build the functions are exported as: FFMS_Init@8, without the initial underscore. I don't know who is correct, but I would appreciate if both builds can follow the same schema. Windows like more the schema with the underscore, because I can name the function FFMS_Init and is automatically linked. With your dll i need to add a atributte (EntryPoint="FFMS_Init@8") to each function. Last edited by pandv2; 2nd January 2014 at 01:05. Reason: more info |
2nd January 2014, 01:47 | #1817 | Link | |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,416
|
Quote:
You'll probably just want to stick with the official releases: https://github.com/FFMS/ffms2/releases |
|
2nd January 2014, 02:16 | #1818 | Link |
Registered User
Join Date: Mar 2008
Posts: 26
|
All of ffms2's public API, including FFMS_Init, is declared as extern "C". GCC just doesn't default to the C name mangling scheme used for Windows DLLs. Building with -fleading-underscore should fix that, but may break loading it as an avs c plugin. If that's the case, a def file is probably required.
|
2nd January 2014, 02:41 | #1819 | Link |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Well, technically it is possible, I think. Different C++ compilers use different name mangling schemes, which causes this kind of problems. Since there is no official standard for name mangling, no compiler is "wrong" or "correct". But even in C++ code you can use extern "C" to have the function exported with a plain C name. Furthermore, even if you have an existing DLL, you can generate your own import library (.lib) for that DLL using the "lib" tool and a suitable DEF file. Using the DEF file method, the name of the DLL entry point and the corresponding C/C++ symbol name don't have to be the same (which is in contrast to the auto-generated import libraries). So you could do something like:
Code:
LIBRARY ffms2.dll EXPORTS _FFMS_Init@8=FFMS_Init@8
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 2nd January 2014 at 02:46. |
Thread Tools | Search this Thread |
Display Modes | |
|
|