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. |
![]() |
#162 | Link |
Registered User
Join Date: Jan 2017
Posts: 146
|
Thanks! Can't build on macOS, getting this after autogen and configure:
$ make CXX src/core/compat.lo CXX src/core/d2v.lo CXX src/core/decode.lo src/core/decode.cpp:450:45: warning: 'codec' is deprecated [-Wdeprecated-declarations] if (dctx->fctx->streams[i]->codec->codec_type == AVMEDIA... ^ /usr/local/Cellar/ffmpeg/3.2.4/include/libavformat/avformat.h:893:21: note: 'codec' has been explicitly marked deprecated here AVCodecContext *codec; ^ src/core/decode.cpp:491:13: warning: 'avcodec_decode_video2' is deprecated [-Wdeprecated-declarations] avcodec_decode_video2(dctx->avctx, out, &av_ret, &dctx->inpkt); ^ /usr/local/Cellar/ffmpeg/3.2.4/include/libavcodec/avcodec.h:4812:5: note: 'avcodec_decode_video2' has been explicitly marked deprecated here int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture, ^ /usr/local/Cellar/ffmpeg/3.2.4/include/libavcodec/avcodec.h:1578:16: warning: 'convergence_duration' is deprecated [-Wdeprecated-declarations] typedef struct AVPacket { ^ /usr/local/Cellar/ffmpeg/3.2.4/include/libavcodec/avcodec.h:1630:13: note: 'convergence_duration' has been explicitly marked deprecated here int64_t convergence_duration; ^ src/core/decode.cpp:510:25: warning: 'avcodec_decode_video2' is deprecated [-Wdeprecated-declarations] int r = avcodec_decode_video2(dctx->avctx, out, &av_ret... ^ /usr/local/Cellar/ffmpeg/3.2.4/include/libavcodec/avcodec.h:4812:5: note: 'avcodec_decode_video2' has been explicitly marked deprecated here int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture, ^ /usr/local/Cellar/ffmpeg/3.2.4/include/libavcodec/avcodec.h:1578:16: warning: 'convergence_duration' is deprecated [-Wdeprecated-declarations] typedef struct AVPacket { ^ /usr/local/Cellar/ffmpeg/3.2.4/include/libavcodec/avcodec.h:1630:13: note: 'convergence_duration' has been explicitly marked deprecated here int64_t convergence_duration; ^ /usr/local/Cellar/ffmpeg/3.2.4/include/libavcodec/avcodec.h:1578:16: warning: 'convergence_duration' is deprecated [-Wdeprecated-declarations] typedef struct AVPacket { ^ /usr/local/Cellar/ffmpeg/3.2.4/include/libavcodec/avcodec.h:1630:13: note: 'convergence_duration' has been explicitly marked deprecated here int64_t convergence_duration; ^ 6 warnings generated. CXX src/vs/applyrff.lo src/vs/applyrff.cpp:192:36: error: expected expression data->fields.push_back({ i, Progressive }); ^ src/vs/applyrff.cpp:193:36: error: expected expression data->fields.push_back({ i, Progressive }); ^ src/vs/applyrff.cpp:196:40: error: expected expression data->fields.push_back({ i, Progressive }); ^ src/vs/applyrff.cpp:197:40: error: expected expression data->fields.push_back({ i, Progressive }); ^ src/vs/applyrff.cpp:200:44: error: expected expression data->fields.push_back({ i, Progressive }); ^ src/vs/applyrff.cpp:201:44: error: expected expression data->fields.push_back({ i, Progressive }); ^ src/vs/applyrff.cpp:207:36: error: expected expression data->fields.push_back({ i, tff ? Top : Bottom }); ^ src/vs/applyrff.cpp:208:36: error: expected expression data->fields.push_back({ i, tff ? Bottom : Top }); ^ src/vs/applyrff.cpp:211:40: error: expected expression data->fields.push_back({ i, tff ? Top : Bottom }); ^ 9 errors generated. |
![]() |
![]() |
![]() |
#164 | Link | |
unsigned int
Join Date: Oct 2012
Location: 🇪🇺
Posts: 760
|
Quote:
Code:
make clean && ./configure CXXFLAGS='-std=c++11' && make
__________________
Buy me a "coffee" and/or hire me to write code! |
|
![]() |
![]() |
![]() |
#166 | Link |
Pajas Mentales...
Join Date: Dec 2004
Location: Spanishtán
Posts: 496
|
this is ok with the latest ffmpeg 4?
Code:
diff --git a/src/core/d2v.hpp b/src/core/d2v.hpp index f87b1a0..ecdae78 100644 --- a/src/core/d2v.hpp +++ b/src/core/d2v.hpp @@ -68,7 +68,7 @@ static const int idct_algo_conv[8] = { FF_IDCT_AUTO, FF_IDCT_AUTO, FF_IDCT_AUTO, - FF_IDCT_XVIDMMX, + FF_IDCT_XVID, FF_IDCT_SIMPLEMMX }; diff --git a/src/core/decode.cpp b/src/core/decode.cpp index b563697..11a0fef 100644 --- a/src/core/decode.cpp +++ b/src/core/decode.cpp @@ -242,12 +242,6 @@ decodecontext *decodeinit(d2vcontext *dctx, int threads, string& err) /* Set the thread count. */ ret->avctx->thread_count = threads; - /* - * Enable EMU_EDGE so that we can use buffers that are - * not padded by 32 pixels. - */ - ret->avctx->flags |= CODEC_FLAG_EMU_EDGE; - /* Use refcounted frames. */ ret->avctx->refcounted_frames = 1; Last edited by sl1pkn07; 20th May 2018 at 22:20. |
![]() |
![]() |
![]() |
#168 | Link |
Registered User
Join Date: Sep 2006
Posts: 1,645
|
Can this plugin works with D2VWitch to index video like this so I can skip a step?
Code:
core.d2v.Source(r"my_video.ts") |
![]() |
![]() |
![]() |
#169 | Link | |
unsigned int
Join Date: Oct 2012
Location: 🇪🇺
Posts: 760
|
Quote:
That's unlikely to be fixed in any way. Does DGIndex have a feature you need that D2V Witch doesn't have?
__________________
Buy me a "coffee" and/or hire me to write code! |
|
![]() |
![]() |
![]() |
#171 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,751
|
You don't have to use the full path in d2v. Just uncheck "Use full paths" in options in dgindex and only the file name will be stored.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database || https://github.com/avisynth-repository |
![]() |
![]() |
![]() |
#174 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,034
|
Trying to build d2vwitch using:
Code:
### d2vwitch if echo "$args" | grep -q -i -w -E 'all|d2vwitch' then mkdir build cd build top="$PWD" export PATH="$top:$PATH" export PKG_CONFIG_PATH="$top/libs/lib/pkgconfig" git clone --depth 1 https://github.com/dubhater/D2VWitch git clone --depth 1 https://github.com/FFmpeg/FFmpeg git clone --depth 1 https://github.com/vapoursynth/vapoursynth build_nasm cd FFmpeg ./configure --prefix="$top/libs" \ --enable-gpl \ --enable-version3 \ --disable-encoders \ --disable-muxers \ --disable-outdevs \ --disable-programs \ --disable-doc \ --disable-debug \ --disable-xlib \ --disable-sdl2 \ --extra-cflags="-ffunction-sections -fdata-sections" make $MAKEFLAGS make install cd ../D2VWitch autoreconf -if vapoursynth_CFLAGS="-I../vapoursynth/include" \ vapoursynth_LIBS=" " \ LDFLAGS="-Wl,--gc-sections" \ ./configure make $MAKEFLAGS strip d2vwitch cp -f d2vwitch ../.. cd .. cat <<EOL >../d2vwitch-sources.txt https://github.com/dubhater/D2VWitch $(git -C D2VWitch rev-parse HEAD) https://github.com/vapoursynth/vapoursynth $(git -C vapoursynth rev-parse HEAD) https://github.com/FFmpeg/FFmpeg $(git -C FFmpeg rev-parse HEAD) EOL cd .. rm -rf build fi problem is, the build stops at: Code:
checking for vapoursynth... no configure: error: Package requirements (vapoursynth) were not met: No package 'vapoursynth' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables vapoursynth_CFLAGS and vapoursynth_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. Cu Selur Last edited by Selur; 17th July 2021 at 15:36. |
![]() |
![]() |
![]() |
#176 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,034
|
Thanks for the suggestion, but using "-L." sadly didn't change much:
Code:
+ cd ../D2VWitch + autoreconf -if configure.ac:17: installing './compile' configure.ac:10: installing './config.guess' configure.ac:10: installing './config.sub' configure.ac:6: installing './install-sh' configure.ac:6: installing './missing' Makefile.am: installing './depcomp' + vapoursynth_CFLAGS=-I../vapoursynth/include + vapoursynth_LIBS=-L. + LDFLAGS=-Wl,--gc-sections + ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 checking for grep that handles long lines and -e... /bin/grep checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for vapoursynth... no configure: error: Package requirements (vapoursynth) were not met: No package 'vapoursynth' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables vapoursynth_CFLAGS and vapoursynth_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. it stops with the same error. ![]() Cu Selur |
![]() |
![]() |
![]() |
#177 | Link |
unsigned int
Join Date: Oct 2012
Location: 🇪🇺
Posts: 760
|
Code:
cd ../D2VWitch autoreconf -if vapoursynth_CFLAGS="-I../vapoursynth/include" \ vapoursynth_LIBS=" " \ LDFLAGS="-Wl,--gc-sections" \ ./configure
__________________
Buy me a "coffee" and/or hire me to write code! |
![]() |
![]() |
![]() |
#178 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,034
|
Code:
cd ../D2VWitch autoreconf -if vapoursynth_CFLAGS="-I../vapoursynth/include" vapoursynth_LIBS="-L." LDFLAGS="-Wl,--gc-sections" ./configure make $MAKEFLAGS |
![]() |
![]() |
![]() |
Tags |
d2v, dgindex, vapoursynth |
Thread Tools | Search this Thread |
Display Modes | |
|
|