benvanik/node-transcoding

node-transcoding fails to compile

Opened this issue · 1 comments

seams like deprecated constants are issue (2 me):

../src/io.cpp: In member function ‘virtual AVIOContext* transcoding::FileHandle::OpenRead()’:
../src/io.cpp:39: error: ‘AVIO_RDONLY’ was not declared in this scope
../src/io.cpp: In member function ‘virtual AVIOContext* transcoding::FileHandle::OpenWrite()’:
../src/io.cpp:48: error: ‘AVIO_WRONLY’ was not declared in this scope
../src/io.cpp: In function ‘AVFormatContext* transcoding::createInputContext(transcoding::IOHandle_, int_)’:
../src/io.cpp:167: error: ‘AVERROR_NOMEM’ was not declared in this scope
../src/io.cpp:173: error: ‘AVERROR_NOENT’ was not declared in this scope
../src/io.cpp:182: warning: ‘av_find_stream_info’ is deprecated (declared at /usr/local/include/libavformat/avformat.h:1476)
../src/io.cpp:182: warning: ‘av_find_stream_info’ is deprecated (declared at /usr/local/include/libavformat/avformat.h:1476)
../src/io.cpp: In function ‘AVFormatContext* transcoding::createOutputContext(transcoding::IOHandle_, int_)’:
../src/io.cpp:204: error: ‘AVERROR_NOMEM’ was not declared in this scope
../src/io.cpp:210: error: ‘AVERROR_NOENT’ was not declared in this scope

Having the same issue. Is this project still being worked on?