Hallo allerseits,
leider kann ich vdr2jpeg auf meinem ctvdr nicht kompilieren, Ausgabe vom Versuch siehe unten. Ich kommem anscheinend alleine nicht mehr weiter.
Danke für Hilfe
Thomas
vdr:~/XXV/vdr2jpeg# make
g++ -O2 -fPIC -Wall -Woverloaded-virtual -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -I/usr/include/ffmpeg/libavformat -I/usr/include/ffmpeg/libavcodec -I/usr/include/ffmpeg ffm.cpp
ffm.cpp: In function `void do_video_out(AVFormatContext*, AVOutputStream*,
AVInputStream*, AVPicture*, int*)':
ffm.cpp:135: error: invalid conversion from `int' to `AVPacket*'
/usr/include/ffmpeg/avformat.h:598: error: too many arguments to function `int
av_write_frame(AVFormatContext*, AVPacket*)'
ffm.cpp:135: error: at this point in file
ffm.cpp:143: Warnung: converting to `int' from `float'
ffm.cpp:149: error: invalid conversion from `int' to `AVPacket*'
/usr/include/ffmpeg/avformat.h:598: error: too many arguments to function `int
av_write_frame(AVFormatContext*, AVPacket*)'
ffm.cpp:149: error: at this point in file
/usr/include/ffmpeg/avcodec.h: In function `bool av_encode(AVFormatContext*,
AVFormatContext*, const tPackedList&)':
/usr/include/ffmpeg/avcodec.h:2081: error: too few arguments to function `
ImgReSampleContext* img_resample_full_init(int, int, int, int, int, int,
int, int, int, int, int, int)'
ffm.cpp:316: error: at this point in file
ffm.cpp: In function `int my_find_stream_info(AVFormatContext*, const
tPackedList&)':
ffm.cpp:616: error: 'struct AVStream' has no member named 'codec_info_state'
ffm.cpp:618: error: 'struct AVStream' has no member named 'codec_info_state'
ffm.cpp:619: error: 'struct AVStream' has no member named '
codec_info_nb_repeat_frames'
ffm.cpp:620: error: 'struct AVStream' has no member named '
codec_info_nb_real_frames'
ffm.cpp:632: error: 'struct AVStream' has no member named 'codec_info_state'
ffm.cpp:640: error: `AVFMT_NOHEADER' undeclared (first use this function)
ffm.cpp:640: error: (Each undeclared identifier is reported only once for each
function it appears in.)
ffm.cpp:664: error: 'struct AVStream' has no member named 'codec_info_state'
ffm.cpp:667: error: 'struct AVStream' has no member named 'codec_info_state'
ffm.cpp:681: error: 'struct AVStream' has no member named 'codec_info_state'
ffm.cpp:688: error: 'struct AVStream' has no member named 'codec_info_state'
ffm.cpp:729: error: 'struct AVStream' has no member named '
codec_info_nb_real_frames'
ffm.cpp:730: error: 'struct AVStream' has no member named '
codec_info_nb_repeat_frames'
ffm.cpp:735: error: 'struct AVStream' has no member named '
codec_info_nb_real_frames'
ffm.cpp:746: error: 'struct AVStream' has no member named '
codec_info_nb_real_frames'
ffm.cpp:749: error: 'struct AVStream' has no member named '
codec_info_nb_real_frames'
ffm.cpp:752: error: 'struct AVStream' has no member named '
codec_info_nb_repeat_frames'
ffm.cpp:762: error: 'struct AVStream' has no member named 'codec_info_state'
ffm.cpp:779: error: 'struct AVStream' has no member named 'codec_info_state'
ffm.cpp: In function `AVFormatContext* opt_input_file(const tPackedList&)':
ffm.cpp:852: error: 'struct AVCodecContext' has no member named 'aspect_ratio'
ffm.cpp: In function `AVFormatContext* opt_output_file(const char*)':
ffm.cpp:949: error: 'struct AVCodecContext' has no member named 'aspect_ratio'
make: *** [ffm.o] Fehler 1