2015-09-18, 20:29
I have merged my SDL changes. If you `git pull` and `make` it should create a new `comskip-gui` binary that contains the debugwindow. Make sure you install libsdl1.2-dev first.
(2015-09-18, 19:21)tmm1 Wrote:(2015-09-18, 19:04)schumi2004 Wrote: Can this also be (cross) compiled for a Synology DS715 (alpine) ?
Yes, but you will have to cross-compile ffmpeg first to link against.
(2015-09-21, 10:19)schumi2004 Wrote: For my understanding. What does comskip-gui do?
Does it give Linux users a GUI to configure Comskip, if yes, how does it look like?
(2015-09-10, 02:51)tmm1 Wrote:Quote:Can we rebuild a linux version off the latest windows?
I've ported the latest version of comskip to be POSIX compatible, and it now works on both mac and linux.
Furthermore, Erik has graciously accepted my patches back into the official version. This means all three major platforms can now use the latest and greatest comskip features.
You can build comskip for linux or mac directly from the git repository under Erik's account: https://github.com/erikkaashoek/Comskip
(2015-09-29, 21:39)schumi2004 Wrote:(2015-09-18, 19:21)tmm1 Wrote:Is it really neccesary to link against ffmpeg or will a seperate ffmpeg do the trick also?(2015-09-18, 19:04)schumi2004 Wrote: Can this also be (cross) compiled for a Synology DS715 (alpine) ?
Yes, but you will have to cross-compile ffmpeg first to link against.
sudo make -i
make: sdl-config: Command not found
cc -c -g -pipe -Wall -W -Wno-address -Wno-unused-parameter -Wno-unused-label -Wno-unused-result -O2 -DDONATOR -DPROCESS_CC -I. -o comskip.o comskip.c
comskip.c:675:24: error: expected declaration specifiers or ‘...’ before numeric constant
comskip.c:675:34: error: unknown type name ‘histogram’
comskip.c:676:24: error: expected declaration specifiers or ‘...’ before numeric constant
comskip.c:676:34: error: unknown type name ‘lastHistogram’
comskip.c:9406:24: error: expected declaration specifiers or ‘...’ before numeric constant
comskip.c:9406:33: error: unknown type name ‘own_histogram’
comskip.c: In function ‘ScanBottom’:
comskip.c:9445:13: error: ‘own_histogram’ undeclared (first use in this function)
comskip.c:9445:13: note: each undeclared identifier is reported only once for each function it appears in
comskip.c: In function ‘ScanTop’:
comskip.c:9495:13: error: ‘own_histogram’ undeclared (first use in this function)
comskip.c: In function ‘ScanLeft’:
comskip.c:9545:13: error: ‘own_histogram’ undeclared (first use in this function)
comskip.c: In function ‘ScanRight’:
comskip.c:9595:13: error: ‘own_histogram’ undeclared (first use in this function)
comskip.c: In function ‘CheckSceneHasChanged’:
comskip.c:9646:12: error: ‘lastHistogram’ undeclared (first use in this function)
comskip.c:9646:27: error: ‘histogram’ undeclared (first use in this function)
comskip.c:9652:12: error: ‘own_histogram’ undeclared (first use in this function)
Makefile:76: recipe for target 'comskip.o' failed
make: [comskip.o] Error 1 (ignored)
cc -c -g -pipe -Wall -W -Wno-address -Wno-unused-parameter -Wno-unused-label -Wno-unused-result -O2 -DDONATOR -DPROCESS_CC -I. -o mpeg2dec.o mpeg2dec.c
mpeg2dec.c: In function ‘audio_packet_process’:
mpeg2dec.c:641:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
mpeg2dec.c:644:99: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
mpeg2dec.c:716:63: error: ‘AVFrame’ has no member named ‘channels’
mpeg2dec.c:721:92: error: ‘AVFrame’ has no member named ‘channels’
mpeg2dec.c:724:38: error: ‘AVFrame’ has no member named ‘channels’
mpeg2dec.c: In function ‘Set_seek’:
mpeg2dec.c:945:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
mpeg2dec.c: In function ‘DecodeOnePicture’:
mpeg2dec.c:1048:79: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
mpeg2dec.c:1049:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
mpeg2dec.c: In function ‘video_packet_process’:
mpeg2dec.c:1191:9: warning: implicit declaration of function ‘av_stream_get_parser’ [-Wimplicit-function-declaration]
mpeg2dec.c:1191:89: error: invalid type argument of ‘->’ (have ‘int’)
mpeg2dec.c:1196:9: warning: implicit declaration of function ‘av_frame_get_best_effort_timestamp’ [-Wimplicit-function-declaration]
mpeg2dec.c:1199:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
mpeg2dec.c:1206:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
mpeg2dec.c:1207:87: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
mpeg2dec.c:1217:109: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
mpeg2dec.c:1218:76: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
mpeg2dec.c:1329:66: error: ‘AVStream’ has no member named ‘r_frame_rate’
mpeg2dec.c: In function ‘stream_component_open’:
mpeg2dec.c:1579:35: error: ‘CODEC_ID_MPEG1VIDEO’ undeclared (first use in this function)
mpeg2dec.c:1579:35: note: each undeclared identifier is reported only once for each function it appears in
mpeg2dec.c:1587:35: error: ‘CODEC_ID_H264’ undeclared (first use in this function)
mpeg2dec.c:1664:9: warning: ‘lowres’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:2524) [-Wdeprecated-declarations]
mpeg2dec.c:1664:9: warning: implicit declaration of function ‘av_codec_get_max_lowres’ [-Wimplicit-function-declaration]
mpeg2dec.c: In function ‘log_callback_report’:
mpeg2dec.c:1735:5: warning: implicit declaration of function ‘av_log_format_line’ [-Wimplicit-function-declaration]
mpeg2dec.c: In function ‘file_open’:
mpeg2dec.c:1777:23: error: ‘AVFormatContext’ has no member named ‘max_analyze_duration2’
mpeg2dec.c:1834:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
mpeg2dec.c:1841:24: error: ‘AVStream’ has no member named ‘r_frame_rate’
mpeg2dec.c:1841:58: error: ‘AVStream’ has no member named ‘r_frame_rate’
mpeg2dec.c:1843:42: error: ‘AVStream’ has no member named ‘r_frame_rate’
mpeg2dec.c: In function ‘main’:
mpeg2dec.c:2140:79: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
mpeg2dec.c:2141:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
mpeg2dec.c:2238:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
Makefile:76: recipe for target 'mpeg2dec.o' failed
make: [mpeg2dec.o] Error 1 (ignored)
cc -g -o comskip comskip.o platform.o mpeg2dec.o video_out_dx.o ccextratorwin/608.o ccextratorwin/ccextractor.o ccextratorwin/encoding.o ccextratorwin/general_loop.o ccextratorwin/myth.o -lavutil -lavformat -lavcodec -largtable2 -pthread -lm
cc: error: comskip.o: No such file or directory
cc: error: mpeg2dec.o: No such file or directory
Makefile:96: recipe for target 'comskip' failed
make: [comskip] Error 1 (ignored)
[email protected]:~/comskip/Comskip$ sudo make -i
(2015-10-27, 18:30)tmm1 Wrote: Yes mkv is supported