mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2025-01-04 09:13:46 +00:00
21eaa3de04
* added python_extract to encoders_srt and the captions are being extracted in needed format. Search for an alternative to asprintf * Checking if the alternative to asprintf generate proper srts * CC captions accessible via python script * Removing python caption code from __wrap_write function * removing old cc_to_python functions * Removing python_subs structure and all the changes done for that struct * Removing filename functions from ccextractor.* * Renaming make_message to time_wrapper * Applying to python_extract codebase: SSA format * Added python_extract_time_based and done validation for ssa * pplying python_extract_time_based: Done validation for srt and webvtt * led attempt for SAMI support of python_extract. Code is commented * Appluing python_extract_time_based: validate support for SMPTETT * Added python_extract_transcript and made changes for time printing. * added show_extracted_captions_wtih_timings function * Added show_extracted_captions_with_timings to python script for testing purpose. * refactored extractors to api directory. commented out show captions in main() * build and build library working for the extractors. * made caption generator work with a 0.1 time sleep. Start refactoring * added asprintf for windows. * file being written in the running directory * Auto -deletion of python temporary file * Python captions printing status set to proper. * termination of tail successful * Writing successful for the sample * Generating unalternating output * adding api_support.py * Adding bld_flags in build_api * Added to build_library * Auto deletion of temporary file on SIGINT * Discussing Seg fault with Izaron * working for python and linux with samples. testing -out=pythonapi with stream * Done adding bitmap support * added -out=pythonapi support for bitmap * Setting the messages_target to 0 for output = pythonapi * Added wrapper for setting -out=pythonapi. Checking if -stdout value can be used in python. * adding the cc_to_stdout=1 value for -out=pythonapi. Thus generation of output file has been avoided. May be needed to change in future. * added extractor for g608 grid. removed sami extractor. need to work on overlap of -out=pythonapi and -out=g608 * Removed overlap of -out=pythonapi by adding -pythonapi and signal_python_api global variable. * added support for seperate c608 grid catching. Need to test the output via python. * added support for seperate printing of text font and color in CE608. Need to make sure that the function is inbuilt. * ADDED ce608 GRID SUPPORT FROM PYTHON need to discuss whether to keep the print_cc_grid function specific to the module or make it user accessible. Mostly it would be better to make it user accessible. * made changes in the call_from_python_api function such that only api_options is needed to be passed. An if statement before the call to g608_extractor has also been added. Waiting for Carlos to comment on the output generated till this stage. * added a signal_python_api check before calling every write function. Thus basic writing output can be avoided. * Commented all calls to python_extract_time_based. making changes to python_extract_g608 to be called only from the point when a g608 caption is detected. * Added pass_cc_buffer_to_python in encoders_common.c temporarily redefined get_*_encoded from static to normal included the above functions in encoders_common.h * Added if-else statement for switch in encode_sub function. This is done mainly for making sure no output is generated in the api call. * Added ccx_encoders_python.c Defined pass_cc_buffer_to_python in ccx_encoders_python.c added if else statement in encode_sub's switch to make sure that the output is not generated in case of -pythonapi call * Removed __wrap_write from the entire code base. It's declaration and definition are only present in CCExtractor.* * Commented out the /dev/null part in ccx_encoders_common.c. Proceeding further on checking for file generation. * Added output_filename in array global variable and is generated in init_write function. included ccextractor.h in output.c to access global variable signal_python_api for avoiding output generation in init_write and invalid free in dinit_write. * Modified the definition of init_write function for accessing signal_python_api. * Deleted the commented part of /dev/null in ccx_encoders_common.c. * Added target_message=0 in -pythonapi param parsing in param.c to avoid the API from printing to STDOUT. Deleted the commented part of -out=pythonapi. Thinking of adding a different param for silencing the output when the call is made from python api. * Removed __wrap_write from ccextractor.c and ccextractor.h. * Added ccx_to_python_g608 and modified api_support.py file. added documentation in ccextractor.c. * added the generate srt script. However, some random characters are coming in first line. Need to talk about this. * Added SRT generator for python. Using string to remove the garbage value. Add code for srt counter and also the start_time and end_time conversion. * removed the trash characters and added code to print the timings. However, the last blank frame also results in a print. Need to take care of this. * rectified the mistake of writing only timings and not captions. now next step is to just make the timings print properly * some minor changes before diving into extracting srt_counter from the made codebase * Added extraction of srt_counter in python_extract via fflush srt_counter-value. Need to modify the processing in python. * Added the entire method to extract captions and generate srt files. Next, step would be a to define a concise function for writing the srt * Processing into a srt working properly. Next step is to add the information of font into the caption text. * the data is getting generated for proper SRT counters. * A turning point to the appraoch. Added END OF FRAME line for printing the data for every particular srt_counter. Proceeding further with the generation of srt by data manipulation. * some minor bugs but the output srt is being generated correctly. However, The font and colour encoding needs to be done. * Taken care of random characters. Need to discuss this with Carlos. Moving further to font/color processing. * Taken care of random characters. Need to discuss this with Carlos. Moving further to font/color processing. * Added fflush and cleaned up the python code of srt generation * Added <i> tag for italics. Proceeding further with other types. * Added the code to check for underline. However, need to check how CCExtractor generates srt when both italics and underline are present. For now a new line is added if both are present. * Shifting for making changes in th i/O work. * Stable ouput for samples with italics is being generated. * Added the PYTHONAPI macro definition and testing for its existence in the set_python_api function. * build script for linux is working correctly. Build_library is showing error of invalid def of set_pythonapi. Moreover, extractor has some memory seg fault. * Added mod to set a MACRO as my_python_api to set the callback function. Till now all calls to the reporter are commented. Working on getting the reporter to print the lines. * Changes have been implemented to bring reporter in working state. For now a constant string is passed from extractor. Need to make the proper parsing possible. * Changed the code in extractor such that entire grid is returned to the callback function. Need to provide this grid to the write function and also cleanup the codebase. * Writing the outputted srt in a file called "temp.srt". Need to modify init_write to push filename that is to be created in python using callback. * Added code to get start and end time simultaneously. entire SRT is getting generated. * removed ccx_python_encoders.c * Compiling and executing on Windows * Moved definitions get_line_encoded, get_color_encoded, get_font_encoded from ccx_encoders_g608.c to ccx_encoders_common.c. Also, deleted the static definition of get_font_encoded from ccx_encoders_webvtt.c * added a write statement in write_cc_bitmap_as_srt * Rectified transfer of get_line_encoded, get_color_encoded and get_font_encoded from ccx_decoders_common.c to ccx_encoders_common.c.
608 lines
36 KiB
XML
608 lines
36 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<ItemGroup Label="ProjectConfigurations">
|
|
<ProjectConfiguration Include="Debug-Full|Win32">
|
|
<Configuration>Debug-Full</Configuration>
|
|
<Platform>Win32</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Debug-Full|x64">
|
|
<Configuration>Debug-Full</Configuration>
|
|
<Platform>x64</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Debug|Win32">
|
|
<Configuration>Debug</Configuration>
|
|
<Platform>Win32</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Debug|x64">
|
|
<Configuration>Debug</Configuration>
|
|
<Platform>x64</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Release-Full|Win32">
|
|
<Configuration>Release-Full</Configuration>
|
|
<Platform>Win32</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Release-Full|x64">
|
|
<Configuration>Release-Full</Configuration>
|
|
<Platform>x64</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Release|Win32">
|
|
<Configuration>Release</Configuration>
|
|
<Platform>Win32</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Release|x64">
|
|
<Configuration>Release</Configuration>
|
|
<Platform>x64</Platform>
|
|
</ProjectConfiguration>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClInclude Include="..\api\extractors\extractor.h" />
|
|
<ClInclude Include="..\api\wrappers\wrapper.h" />
|
|
<ClInclude Include="..\src\gpacmp4\gpac\avparse.h" />
|
|
<ClInclude Include="..\src\gpacmp4\gpac\base_coding.h" />
|
|
<ClInclude Include="..\src\gpacmp4\gpac\bitstream.h" />
|
|
<ClInclude Include="..\src\gpacmp4\gpac\configuration.h" />
|
|
<ClInclude Include="..\src\gpacmp4\gpac\config_file.h" />
|
|
<ClInclude Include="..\src\gpacmp4\gpac\constants.h" />
|
|
<ClInclude Include="..\src\gpacmp4\gpac\events_constants.h" />
|
|
<ClInclude Include="..\src\gpacmp4\gpac\ietf.h" />
|
|
<ClInclude Include="..\src\gpacmp4\gpac\internal\avilib.h" />
|
|
<ClInclude Include="..\src\gpacmp4\gpac\internal\isomedia_dev.h" />
|
|
<ClInclude Include="..\src\gpacmp4\gpac\internal\media_dev.h" />
|
|
<ClInclude Include="..\src\gpacmp4\gpac\internal\odf_dev.h" />
|
|
<ClInclude Include="..\src\gpacmp4\gpac\internal\odf_parse_common.h" />
|
|
<ClInclude Include="..\src\gpacmp4\gpac\internal\ogg.h" />
|
|
<ClInclude Include="..\src\gpacmp4\gpac\isomedia.h" />
|
|
<ClInclude Include="..\src\gpacmp4\gpac\list.h" />
|
|
<ClInclude Include="..\src\gpacmp4\gpac\math.h" />
|
|
<ClInclude Include="..\src\gpacmp4\gpac\media_tools.h" />
|
|
<ClInclude Include="..\src\gpacmp4\gpac\mpeg4_odf.h" />
|
|
<ClInclude Include="..\src\gpacmp4\gpac\network.h" />
|
|
<ClInclude Include="..\src\gpacmp4\gpac\revision.h" />
|
|
<ClInclude Include="..\src\gpacmp4\gpac\setup.h" />
|
|
<ClInclude Include="..\src\gpacmp4\gpac\sync_layer.h" />
|
|
<ClInclude Include="..\src\gpacmp4\gpac\tools.h" />
|
|
<ClInclude Include="..\src\gpacmp4\gpac\utf.h" />
|
|
<ClInclude Include="..\src\gpacmp4\gpac\version.h" />
|
|
<ClInclude Include="..\src\lib_ccx\ccx_common_option.h" />
|
|
<ClInclude Include="..\src\lib_ccx\ccx_share.h" />
|
|
<ClInclude Include="..\src\lib_ccx\ccx_sub_entry_message.pb-c.h" />
|
|
<ClInclude Include="..\src\lib_ccx\compile_info.h" />
|
|
<ClInclude Include="..\src\libpng\png.h" />
|
|
<ClInclude Include="..\src\libpng\pngconf.h" />
|
|
<ClInclude Include="..\src\libpng\pngdebug.h" />
|
|
<ClInclude Include="..\src\libpng\pnginfo.h" />
|
|
<ClInclude Include="..\src\libpng\pnglibconf.h" />
|
|
<ClInclude Include="..\src\libpng\pngpriv.h" />
|
|
<ClInclude Include="..\src\libpng\pngstruct.h" />
|
|
<ClInclude Include="..\src\lib_ccx\608_spupng.h" />
|
|
<ClInclude Include="..\src\lib_ccx\avc_functions.h" />
|
|
<ClInclude Include="..\src\lib_ccx\ccx_common_char_encoding.h" />
|
|
<ClInclude Include="..\src\lib_ccx\ccx_common_common.h" />
|
|
<ClInclude Include="..\src\lib_ccx\ccx_common_constants.h" />
|
|
<ClInclude Include="..\src\lib_ccx\ccx_common_platform.h" />
|
|
<ClInclude Include="..\src\lib_ccx\ccx_common_structs.h" />
|
|
<ClInclude Include="..\src\lib_ccx\ccx_common_timing.h" />
|
|
<ClInclude Include="..\src\lib_ccx\ccx_decoders_608.h" />
|
|
<ClInclude Include="..\src\lib_ccx\ccx_decoders_708.h" />
|
|
<ClInclude Include="..\src\lib_ccx\ccx_decoders_708_encoding.h" />
|
|
<ClInclude Include="..\src\lib_ccx\ccx_decoders_708_output.h" />
|
|
<ClInclude Include="..\src\lib_ccx\ccx_decoders_common.h" />
|
|
<ClInclude Include="..\src\lib_ccx\ccx_decoders_isdb.h" />
|
|
<ClInclude Include="..\src\lib_ccx\ccx_decoders_structs.h" />
|
|
<ClInclude Include="..\src\lib_ccx\ccx_decoders_xds.h" />
|
|
<ClInclude Include="..\src\lib_ccx\ccx_encoders_common.h" />
|
|
<ClInclude Include="..\src\lib_ccx\ccx_encoders_helpers.h" />
|
|
<ClInclude Include="..\src\lib_ccx\ccx_encoders_structs.h" />
|
|
<ClInclude Include="..\src\lib_ccx\disable_warnings.h" />
|
|
<ClInclude Include="..\src\lib_ccx\dvb_subtitle_decoder.h" />
|
|
<ClInclude Include="..\src\lib_ccx\lib_ccx.h" />
|
|
<ClInclude Include="..\src\lib_ccx\spupng_encoder.h" />
|
|
<ClInclude Include="..\src\lib_ccx\teletext.h" />
|
|
<ClInclude Include="..\src\lib_ccx\utility.h" />
|
|
<ClInclude Include="..\src\lib_hash\sha2.h" />
|
|
<ClInclude Include="..\src\microutf8\microutf8.h" />
|
|
<ClInclude Include="..\src\protobuf-c\protobuf-c.h" />
|
|
<ClInclude Include="..\src\utf8proc\utf8proc.h" />
|
|
<ClInclude Include="..\src\win_iconv\iconv.h" />
|
|
<ClInclude Include="..\src\win_spec_incld\dirent.h" />
|
|
<ClInclude Include="..\src\zlib\crc32.h" />
|
|
<ClInclude Include="..\src\zlib\deflate.h" />
|
|
<ClInclude Include="..\src\zlib\gzguts.h" />
|
|
<ClInclude Include="..\src\zlib\inffast.h" />
|
|
<ClInclude Include="..\src\zlib\inffixed.h" />
|
|
<ClInclude Include="..\src\zlib\inflate.h" />
|
|
<ClInclude Include="..\src\zlib\inftrees.h" />
|
|
<ClInclude Include="..\src\zlib\trees.h" />
|
|
<ClInclude Include="..\src\zlib\zconf.h" />
|
|
<ClInclude Include="..\src\zlib\zlib.h" />
|
|
<ClInclude Include="..\src\zlib\zutil.h" />
|
|
<ClInclude Include="..\src\zvbi\bcd.h" />
|
|
<ClInclude Include="..\src\zvbi\bit_slicer.h" />
|
|
<ClInclude Include="..\src\zvbi\macros.h" />
|
|
<ClInclude Include="..\src\zvbi\misc.h" />
|
|
<ClInclude Include="..\src\zvbi\raw_decoder.h" />
|
|
<ClInclude Include="..\src\zvbi\sampling_par.h" />
|
|
<ClInclude Include="..\src\zvbi\sliced.h" />
|
|
<ClInclude Include="..\src\zvbi\zvbi_decoder.h" />
|
|
<ClInclude Include="..\src\win_spec_incld\inttypes.h" />
|
|
<ClInclude Include="..\src\win_spec_incld\stdint.h" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClCompile Include="..\api\extractors\extractor.c" />
|
|
<ClCompile Include="..\api\wrappers\wrapper.c" />
|
|
<ClCompile Include="..\src\ccextractor.c" />
|
|
<ClCompile Include="..\src\gpacmp4\avc_ext.c" />
|
|
<ClCompile Include="..\src\gpacmp4\avilib.c" />
|
|
<ClCompile Include="..\src\gpacmp4\av_parsers.c" />
|
|
<ClCompile Include="..\src\gpacmp4\base_encoding.c" />
|
|
<ClCompile Include="..\src\gpacmp4\bitstream.c" />
|
|
<ClCompile Include="..\src\gpacmp4\box_code_3gpp.c" />
|
|
<ClCompile Include="..\src\gpacmp4\box_code_adobe.c" />
|
|
<ClCompile Include="..\src\gpacmp4\box_code_apple.c" />
|
|
<ClCompile Include="..\src\gpacmp4\box_code_base.c" />
|
|
<ClCompile Include="..\src\gpacmp4\box_code_drm.c" />
|
|
<ClCompile Include="..\src\gpacmp4\box_code_meta.c" />
|
|
<ClCompile Include="..\src\gpacmp4\box_funcs.c" />
|
|
<ClCompile Include="..\src\gpacmp4\configfile.c" />
|
|
<ClCompile Include="..\src\gpacmp4\data_map.c" />
|
|
<ClCompile Include="..\src\gpacmp4\descriptors.c" />
|
|
<ClCompile Include="..\src\gpacmp4\desc_private.c" />
|
|
<ClCompile Include="..\src\gpacmp4\drm_sample.c" />
|
|
<ClCompile Include="..\src\gpacmp4\error.c" />
|
|
<ClCompile Include="..\src\gpacmp4\gpac_ogg.c" />
|
|
<ClCompile Include="..\src\gpacmp4\hinting.c" />
|
|
<ClCompile Include="..\src\gpacmp4\ipmpx_code.c" />
|
|
<ClCompile Include="..\src\gpacmp4\ipmpx_parse.c" />
|
|
<ClCompile Include="..\src\gpacmp4\isom_intern.c" />
|
|
<ClCompile Include="..\src\gpacmp4\isom_read.c" />
|
|
<ClCompile Include="..\src\gpacmp4\isom_store.c" />
|
|
<ClCompile Include="..\src\gpacmp4\isom_write.c" />
|
|
<ClCompile Include="..\src\gpacmp4\list.c" />
|
|
<ClCompile Include="..\src\gpacmp4\math.c" />
|
|
<ClCompile Include="..\src\gpacmp4\media.c" />
|
|
<ClCompile Include="..\src\gpacmp4\media_odf.c" />
|
|
<ClCompile Include="..\src\gpacmp4\meta.c" />
|
|
<ClCompile Include="..\src\gpacmp4\movie_fragments.c" />
|
|
<ClCompile Include="..\src\gpacmp4\mp4.c" />
|
|
<ClCompile Include="..\src\gpacmp4\odf_code.c" />
|
|
<ClCompile Include="..\src\gpacmp4\odf_codec.c" />
|
|
<ClCompile Include="..\src\gpacmp4\odf_command.c" />
|
|
<ClCompile Include="..\src\gpacmp4\os_config_init.c" />
|
|
<ClCompile Include="..\src\gpacmp4\os_divers.c" />
|
|
<ClCompile Include="..\src\gpacmp4\os_file.c" />
|
|
<ClCompile Include="..\src\gpacmp4\qos.c" />
|
|
<ClCompile Include="..\src\gpacmp4\sample_descs.c" />
|
|
<ClCompile Include="..\src\gpacmp4\slc.c" />
|
|
<ClCompile Include="..\src\gpacmp4\stbl_read.c" />
|
|
<ClCompile Include="..\src\gpacmp4\stbl_write.c" />
|
|
<ClCompile Include="..\src\gpacmp4\track.c" />
|
|
<ClCompile Include="..\src\gpacmp4\tx3g.c" />
|
|
<ClCompile Include="..\src\gpacmp4\url.c" />
|
|
<ClCompile Include="..\src\gpacmp4\utf.c" />
|
|
<ClCompile Include="..\src\libpng\png.c" />
|
|
<ClCompile Include="..\src\libpng\pngerror.c" />
|
|
<ClCompile Include="..\src\libpng\pngget.c" />
|
|
<ClCompile Include="..\src\libpng\pngmem.c" />
|
|
<ClCompile Include="..\src\libpng\pngpread.c" />
|
|
<ClCompile Include="..\src\libpng\pngread.c" />
|
|
<ClCompile Include="..\src\libpng\pngrio.c" />
|
|
<ClCompile Include="..\src\libpng\pngrtran.c" />
|
|
<ClCompile Include="..\src\libpng\pngrutil.c" />
|
|
<ClCompile Include="..\src\libpng\pngset.c" />
|
|
<ClCompile Include="..\src\libpng\pngtrans.c" />
|
|
<ClCompile Include="..\src\libpng\pngwio.c" />
|
|
<ClCompile Include="..\src\libpng\pngwrite.c" />
|
|
<ClCompile Include="..\src\libpng\pngwtran.c" />
|
|
<ClCompile Include="..\src\libpng\pngwutil.c" />
|
|
<ClCompile Include="..\src\lib_ccx\activity.c" />
|
|
<ClCompile Include="..\src\lib_ccx\asf_functions.c" />
|
|
<ClCompile Include="..\src\lib_ccx\avc_functions.c" />
|
|
<ClCompile Include="..\src\lib_ccx\ccx_common_char_encoding.c" />
|
|
<ClCompile Include="..\src\lib_ccx\ccx_common_common.c" />
|
|
<ClCompile Include="..\src\lib_ccx\ccx_common_constants.c" />
|
|
<ClCompile Include="..\src\lib_ccx\ccx_common_option.c" />
|
|
<ClCompile Include="..\src\lib_ccx\ccx_common_timing.c" />
|
|
<ClCompile Include="..\src\lib_ccx\ccx_decoders_608.c" />
|
|
<ClCompile Include="..\src\lib_ccx\ccx_decoders_708.c" />
|
|
<ClCompile Include="..\src\lib_ccx\ccx_decoders_708_encoding.c" />
|
|
<ClCompile Include="..\src\lib_ccx\ccx_decoders_708_output.c" />
|
|
<ClCompile Include="..\src\lib_ccx\ccx_decoders_common.c" />
|
|
<ClCompile Include="..\src\lib_ccx\ccx_decoders_isdb.c" />
|
|
<ClCompile Include="..\src\lib_ccx\ccx_decoders_vbi.c" />
|
|
<ClCompile Include="..\src\lib_ccx\ccx_decoders_xds.c" />
|
|
<ClCompile Include="..\src\lib_ccx\ccx_demuxer.c" />
|
|
<ClCompile Include="..\src\lib_ccx\ccx_dtvcc.c" />
|
|
<ClCompile Include="..\src\lib_ccx\ccx_encoders_common.c" />
|
|
<ClCompile Include="..\src\lib_ccx\ccx_encoders_curl.c" />
|
|
<ClCompile Include="..\src\lib_ccx\ccx_encoders_g608.c" />
|
|
<ClCompile Include="..\src\lib_ccx\ccx_encoders_helpers.c" />
|
|
<ClCompile Include="..\src\lib_ccx\ccx_encoders_python.c" />
|
|
<ClCompile Include="..\src\lib_ccx\ccx_encoders_sami.c" />
|
|
<ClCompile Include="..\src\lib_ccx\ccx_encoders_smptett.c" />
|
|
<ClCompile Include="..\src\lib_ccx\ccx_encoders_splitbysentence.c" />
|
|
<ClCompile Include="..\src\lib_ccx\ccx_encoders_spupng.c" />
|
|
<ClCompile Include="..\src\lib_ccx\ccx_encoders_srt.c" />
|
|
<ClCompile Include="..\src\lib_ccx\ccx_encoders_ssa.c" />
|
|
<ClCompile Include="..\src\lib_ccx\ccx_encoders_transcript.c" />
|
|
<ClCompile Include="..\src\lib_ccx\ccx_encoders_webvtt.c" />
|
|
<ClCompile Include="..\src\lib_ccx\ccx_encoders_xds.c" />
|
|
<ClCompile Include="..\src\lib_ccx\ccx_gxf.c" />
|
|
<ClCompile Include="..\src\lib_ccx\ccx_share.c" />
|
|
<ClCompile Include="..\src\lib_ccx\ccx_sub_entry_message.pb-c.c" />
|
|
<ClCompile Include="..\src\lib_ccx\cc_bitstream.c" />
|
|
<ClCompile Include="..\src\lib_ccx\configuration.c" />
|
|
<ClCompile Include="..\src\lib_ccx\dvb_subtitle_decoder.c" />
|
|
<ClCompile Include="..\src\lib_ccx\dvd_subtitle_decoder.c" />
|
|
<ClCompile Include="..\src\lib_ccx\es_functions.c" />
|
|
<ClCompile Include="..\src\lib_ccx\es_userdata.c" />
|
|
<ClCompile Include="..\src\lib_ccx\ffmpeg_intgr.c" />
|
|
<ClCompile Include="..\src\lib_ccx\file_functions.c" />
|
|
<ClCompile Include="..\src\lib_ccx\general_loop.c" />
|
|
<ClCompile Include="..\src\lib_ccx\hardsubx.c" />
|
|
<ClCompile Include="..\src\lib_ccx\hardsubx_classifier.c" />
|
|
<ClCompile Include="..\src\lib_ccx\hardsubx_decoder.c" />
|
|
<ClCompile Include="..\src\lib_ccx\hardsubx_imgops.c" />
|
|
<ClCompile Include="..\src\lib_ccx\hardsubx_utility.c" />
|
|
<ClCompile Include="..\src\lib_ccx\lib_ccx.c" />
|
|
<ClCompile Include="..\src\lib_ccx\matroska.c" />
|
|
<ClCompile Include="..\src\lib_ccx\myth.c" />
|
|
<ClCompile Include="..\src\lib_ccx\networking.c" />
|
|
<ClCompile Include="..\src\lib_ccx\ocr.c" />
|
|
<ClCompile Include="..\src\lib_ccx\output.c" />
|
|
<ClCompile Include="..\src\lib_ccx\params.c" />
|
|
<ClCompile Include="..\src\lib_ccx\params_dump.c" />
|
|
<ClCompile Include="..\src\lib_ccx\sequencing.c" />
|
|
<ClCompile Include="..\src\lib_ccx\spupng_encoder.c" />
|
|
<ClCompile Include="..\src\lib_ccx\stream_functions.c" />
|
|
<ClCompile Include="..\src\lib_ccx\telxcc.c" />
|
|
<ClCompile Include="..\src\lib_ccx\ts_functions.c" />
|
|
<ClCompile Include="..\src\lib_ccx\ts_info.c" />
|
|
<ClCompile Include="..\src\lib_ccx\ts_tables.c" />
|
|
<ClCompile Include="..\src\lib_ccx\ts_tables_epg.c" />
|
|
<ClCompile Include="..\src\lib_ccx\utility.c" />
|
|
<ClCompile Include="..\src\lib_ccx\wtv_functions.c" />
|
|
<ClCompile Include="..\src\lib_hash\sha2.c" />
|
|
<ClCompile Include="..\src\protobuf-c\protobuf-c.c" />
|
|
<ClCompile Include="..\src\utf8proc\utf8proc.c" />
|
|
<ClCompile Include="..\src\win_iconv\win_iconv.c" />
|
|
<ClCompile Include="..\src\zlib\adler32.c" />
|
|
<ClCompile Include="..\src\zlib\crc32.c" />
|
|
<ClCompile Include="..\src\zlib\deflate.c" />
|
|
<ClCompile Include="..\src\zlib\inffast.c" />
|
|
<ClCompile Include="..\src\zlib\inflate.c" />
|
|
<ClCompile Include="..\src\zlib\inftrees.c" />
|
|
<ClCompile Include="..\src\zlib\trees.c" />
|
|
<ClCompile Include="..\src\zlib\zutil.c" />
|
|
<ClCompile Include="..\src\zvbi\bit_slicer.c" />
|
|
<ClCompile Include="..\src\zvbi\decoder.c" />
|
|
<ClCompile Include="..\src\zvbi\raw_decoder.c" />
|
|
<ClCompile Include="..\src\zvbi\sampling_par.c" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="..\src\lib_ccx\ccx_sub_entry_message.proto" />
|
|
</ItemGroup>
|
|
<PropertyGroup Label="Globals">
|
|
<ProjectGuid>{0F0063C4-BCBC-4379-A6D5-84A5669C940A}</ProjectGuid>
|
|
<RootNamespace>ccextractor</RootNamespace>
|
|
<Keyword>Win32Proj</Keyword>
|
|
</PropertyGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
|
<ConfigurationType>Application</ConfigurationType>
|
|
<PlatformToolset>v140_xp</PlatformToolset>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
|
<ConfigurationType>Application</ConfigurationType>
|
|
<PlatformToolset>v140</PlatformToolset>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
|
<ConfigurationType>Application</ConfigurationType>
|
|
<PlatformToolset>v140_xp</PlatformToolset>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
|
<ConfigurationType>Application</ConfigurationType>
|
|
<PlatformToolset>v140</PlatformToolset>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Full|Win32'" Label="Configuration">
|
|
<ConfigurationType>Application</ConfigurationType>
|
|
<PlatformToolset>v140_xp</PlatformToolset>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Full|x64'" Label="Configuration">
|
|
<ConfigurationType>Application</ConfigurationType>
|
|
<PlatformToolset>v140</PlatformToolset>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Full|Win32'" Label="Configuration">
|
|
<ConfigurationType>Application</ConfigurationType>
|
|
<PlatformToolset>v140_xp</PlatformToolset>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Full|x64'" Label="Configuration">
|
|
<ConfigurationType>Application</ConfigurationType>
|
|
<PlatformToolset>v140</PlatformToolset>
|
|
</PropertyGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
<ImportGroup Label="ExtensionSettings">
|
|
</ImportGroup>
|
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
</ImportGroup>
|
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
</ImportGroup>
|
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
</ImportGroup>
|
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
</ImportGroup>
|
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Full|Win32'" Label="PropertySheets">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
</ImportGroup>
|
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Full|x64'" Label="PropertySheets">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
</ImportGroup>
|
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-Full|Win32'" Label="PropertySheets">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
</ImportGroup>
|
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-Full|x64'" Label="PropertySheets">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
</ImportGroup>
|
|
<PropertyGroup Label="UserMacros" />
|
|
<PropertyGroup>
|
|
<_ProjectFileVersion>12.0.21005.1</_ProjectFileVersion>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
<OutDir>Debug\</OutDir>
|
|
<IntDir>Debug\</IntDir>
|
|
<LinkIncremental>true</LinkIncremental>
|
|
<TargetName>ccextractorwin</TargetName>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
<LinkIncremental>true</LinkIncremental>
|
|
<TargetName>ccextractorwin</TargetName>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Full|Win32'">
|
|
<OutDir>Debug-Full\</OutDir>
|
|
<IntDir>Debug-Full\</IntDir>
|
|
<LinkIncremental>true</LinkIncremental>
|
|
<TargetName>ccextractorwinfull</TargetName>
|
|
<IncludePath>$(IncludePath)</IncludePath>
|
|
<LibraryPath>$(LibraryPath)</LibraryPath>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Full|x64'">
|
|
<LinkIncremental>true</LinkIncremental>
|
|
<TargetName>ccextractorwin</TargetName>
|
|
<IncludePath>$(ProjectDir)\libs\include;$(IncludePath)</IncludePath>
|
|
<LibraryPath>$(ProjectDir)\libs\lib;$(VC_LibraryPath_x86);$(WindowsSDK_LibraryPath_x86)</LibraryPath>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Full|Win32'">
|
|
<OutDir>Release-Full\</OutDir>
|
|
<IntDir>Release-Full\</IntDir>
|
|
<LinkIncremental>false</LinkIncremental>
|
|
<TargetName>ccextractorwinfull</TargetName>
|
|
<IncludePath>$(IncludePath)</IncludePath>
|
|
<LibraryPath>$(LibraryPath)</LibraryPath>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Full|x64'">
|
|
<LinkIncremental>false</LinkIncremental>
|
|
<TargetName>ccextractorwin</TargetName>
|
|
<IncludePath>$(ProjectDir)\libs\include;$(IncludePath)</IncludePath>
|
|
<LibraryPath>$(ProjectDir)\libs\lib;$(VC_LibraryPath_x86);$(WindowsSDK_LibraryPath_x86)</LibraryPath>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
<OutDir>Release\</OutDir>
|
|
<IntDir>Release\</IntDir>
|
|
<LinkIncremental>false</LinkIncremental>
|
|
<TargetName>ccextractorwin</TargetName>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
<LinkIncremental>false</LinkIncremental>
|
|
<TargetName>ccextractorwin</TargetName>
|
|
</PropertyGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
<ClCompile>
|
|
<Optimization>Disabled</Optimization>
|
|
<AdditionalIncludeDirectories>..\src\win_spec_incld;..\src\lib_ccx;..\src\lib_hash;..\src\zvbi;..\src\protobuf-c;..\src\gpacmp4;..\src\win_iconv;..\src\zlib;..\src\libpng;..\src;libs\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_FILE_OFFSET_BITS=64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<MinimalRebuild>true</MinimalRebuild>
|
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
|
<PrecompiledHeader />
|
|
<WarningLevel>Level3</WarningLevel>
|
|
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
|
</ClCompile>
|
|
<Link>
|
|
<AdditionalDependencies>WS2_32.Lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
<ShowProgress>NotSet</ShowProgress>
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
<SubSystem>Console</SubSystem>
|
|
<TargetMachine>MachineX86</TargetMachine>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
<ClCompile>
|
|
<Optimization>Disabled</Optimization>
|
|
<AdditionalIncludeDirectories>../src/utf8proc;../src/win_spec_incld;../src/gpacmp4;../src/libpng;../src/zlib;../src;../src/lib_ccx;../src/zvbi;../src/protobuf-c;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_FILE_OFFSET_BITS=64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
|
<PrecompiledHeader>
|
|
</PrecompiledHeader>
|
|
<WarningLevel>Level3</WarningLevel>
|
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
</ClCompile>
|
|
<Link>
|
|
<AdditionalDependencies>WS2_32.Lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
<ShowProgress>NotSet</ShowProgress>
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
<SubSystem>Console</SubSystem>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Full|Win32'">
|
|
<ClCompile>
|
|
<Optimization>Disabled</Optimization>
|
|
<AdditionalIncludeDirectories>..\src\win_spec_incld;..\src\lib_ccx;..\src\lib_hash;..\src\zvbi;..\src\protobuf-c;..\src\gpacmp4;..\src\win_iconv;..\src\zlib;..\src\libpng;..\src;libs\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
<PreprocessorDefinitions>SEGMENT_BY_FILE_TIME;ENABLE_HARDSUBX;ENABLE_OCR;WIN32;_DEBUG;_CONSOLE;_FILE_OFFSET_BITS=64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<MinimalRebuild>false</MinimalRebuild>
|
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
|
<WarningLevel>TurnOffAllWarnings</WarningLevel>
|
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
|
<InlineFunctionExpansion>Disabled</InlineFunctionExpansion>
|
|
<RuntimeTypeInfo>true</RuntimeTypeInfo>
|
|
<CompileAs>CompileAsC</CompileAs>
|
|
<DisableSpecificWarnings>4005;4996</DisableSpecificWarnings>
|
|
</ClCompile>
|
|
<Link>
|
|
<AdditionalDependencies>Ws2_32.lib;$(ProjectDir)libs\lib\debug-lib\pvt.cppan.demo.danbloomberg.leptonica-1.74.0.lib;$(ProjectDir)libs\lib\debug-lib\pvt.cppan.demo.google.tesseract.tesseract-master.lib;$(ProjectDir)libs\lib\debug-lib\pvt.cppan.demo.gif-5.1.4.lib;$(ProjectDir)libs\lib\debug-lib\pvt.cppan.demo.tiff-4.0.7.lib;$(ProjectDir)libs\lib\debug-lib\pvt.cppan.demo.jpeg-9.2.0.lib;$(ProjectDir)libs\lib\debug-lib\pvt.cppan.demo.openjpeg.openjp2-2.1.2.lib;$(ProjectDir)libs\lib\debug-lib\pvt.cppan.demo.mgk25.jbig.jbig-2.1.0.lib;$(ProjectDir)libs\lib\debug-lib\pvt.cppan.demo.mgk25.jbig.ar-2.1.0.lib;$(ProjectDir)libs\lib\debug-lib\pvt.cppan.demo.xz_utils.lzma-5.2.2.lib;$(ProjectDir)libs\lib\debug-lib\pvt.cppan.demo.webp-0.5.1.lib;$(ProjectDir)libs\lib\ffmpeg-lib\avcodec.lib;$(ProjectDir)libs\lib\ffmpeg-lib\avformat.lib;$(ProjectDir)libs\lib\ffmpeg-lib\avutil.lib;$(ProjectDir)libs\lib\ffmpeg-lib\swscale.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
<ShowProgress>NotSet</ShowProgress>
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
<SubSystem>Console</SubSystem>
|
|
<TargetMachine>MachineX86</TargetMachine>
|
|
<AdditionalOptions>/SAFESEH:NO %(AdditionalOptions)</AdditionalOptions>
|
|
<ImageHasSafeExceptionHandlers>true</ImageHasSafeExceptionHandlers>
|
|
</Link>
|
|
<PostBuildEvent>
|
|
<Command>xcopy /y $(ProjectDir)libs\lib\ffmpeg-lib\avcodec-57.dll $(ProjectDir)$(OutDir)
|
|
xcopy /y $(ProjectDir)libs\lib\ffmpeg-lib\avformat-57.dll $(ProjectDir)$(OutDir)
|
|
xcopy /y $(ProjectDir)libs\lib\ffmpeg-lib\avutil-55.dll $(ProjectDir)$(OutDir)
|
|
xcopy /y $(ProjectDir)libs\lib\ffmpeg-lib\swresample-2.dll $(ProjectDir)$(OutDir)
|
|
xcopy /y $(ProjectDir)libs\lib\ffmpeg-lib\swscale-4.dll $(ProjectDir)$(OutDir)</Command>
|
|
</PostBuildEvent>
|
|
<ProjectReference>
|
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
|
</ProjectReference>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Full|x64'">
|
|
<ClCompile>
|
|
<Optimization>Disabled</Optimization>
|
|
<AdditionalIncludeDirectories>../src/utf8proc;../src/win_spec_incld;../src/gpacmp4;../src/libpng;../src/zlib;../src;../src/lib_ccx;../src/zvbi;../src/protobuf-c;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
<PreprocessorDefinitions>ENABLE_OCR;WIN32;_DEBUG;_CONSOLE;_FILE_OFFSET_BITS=64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
|
<PrecompiledHeader>
|
|
</PrecompiledHeader>
|
|
<WarningLevel>Level3</WarningLevel>
|
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
</ClCompile>
|
|
<Link>
|
|
<AdditionalDependencies>WS2_32.Lib;avcodec.lib;avformat.lib;avutil.lib;swscale.lib;liblept172.lib;libtesseract304d.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
<ShowProgress>NotSet</ShowProgress>
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
<SubSystem>Console</SubSystem>
|
|
</Link>
|
|
<PostBuildEvent>
|
|
<Command>xcopy /y $(ProjectDir)libs\lib\liblept172.dll $(ProjectDir)$(OutDir)
|
|
xcopy /y $(ProjectDir)libs\lib\libtesseract304d.dll $(ProjectDir)$(OutDir)</Command>
|
|
</PostBuildEvent>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-Full|Win32'">
|
|
<ClCompile>
|
|
<Optimization>MaxSpeed</Optimization>
|
|
<AdditionalIncludeDirectories>..\src\win_spec_incld;..\src\lib_ccx;..\src\lib_hash;..\src\zvbi;..\src\protobuf-c;..\src\gpacmp4;..\src\win_iconv;..\src\libpng;..\src\zlib;..\src;libs\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
<PreprocessorDefinitions>ENABLE_HARDSUBX;VERSION_FILE_PRESENT;ENABLE_OCR;WIN32;NDEBUG;_CONSOLE;_FILE_OFFSET_BITS=64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
|
<WarningLevel>TurnOffAllWarnings</WarningLevel>
|
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
|
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
|
|
<RuntimeTypeInfo>true</RuntimeTypeInfo>
|
|
<DisableSpecificWarnings>4005;4996</DisableSpecificWarnings>
|
|
</ClCompile>
|
|
<Link>
|
|
<AdditionalDependencies>Ws2_32.lib;$(ProjectDir)libs\lib\release-lib\pvt.cppan.demo.danbloomberg.leptonica-1.74.0.lib;$(ProjectDir)libs\lib\release-lib\pvt.cppan.demo.google.tesseract.tesseract-master.lib;$(ProjectDir)libs\lib\release-lib\pvt.cppan.demo.gif-5.1.4.lib;$(ProjectDir)libs\lib\release-lib\pvt.cppan.demo.tiff-4.0.7.lib;$(ProjectDir)libs\lib\release-lib\pvt.cppan.demo.jpeg-9.2.0.lib;$(ProjectDir)libs\lib\release-lib\pvt.cppan.demo.openjpeg.openjp2-2.1.2.lib;$(ProjectDir)libs\lib\release-lib\pvt.cppan.demo.mgk25.jbig.jbig-2.1.0.lib;$(ProjectDir)libs\lib\release-lib\pvt.cppan.demo.mgk25.jbig.ar-2.1.0.lib;$(ProjectDir)libs\lib\release-lib\pvt.cppan.demo.xz_utils.lzma-5.2.2.lib;$(ProjectDir)libs\lib\release-lib\pvt.cppan.demo.webp-0.5.1.lib;$(ProjectDir)libs\lib\ffmpeg-lib\avcodec.lib;$(ProjectDir)libs\lib\ffmpeg-lib\avformat.lib;$(ProjectDir)libs\lib\ffmpeg-lib\avutil.lib;$(ProjectDir)libs\lib\ffmpeg-lib\swscale.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
<GenerateDebugInformation>false</GenerateDebugInformation>
|
|
<SubSystem>Console</SubSystem>
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
<TargetMachine>MachineX86</TargetMachine>
|
|
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
|
</Link>
|
|
<PostBuildEvent>
|
|
<Command>xcopy /y $(ProjectDir)libs\lib\ffmpeg-lib\avcodec-57.dll $(ProjectDir)$(OutDir)
|
|
xcopy /y $(ProjectDir)libs\lib\ffmpeg-lib\avformat-57.dll $(ProjectDir)$(OutDir)
|
|
xcopy /y $(ProjectDir)libs\lib\ffmpeg-lib\avutil-55.dll $(ProjectDir)$(OutDir)
|
|
xcopy /y $(ProjectDir)libs\lib\ffmpeg-lib\swresample-2.dll $(ProjectDir)$(OutDir)
|
|
xcopy /y $(ProjectDir)libs\lib\ffmpeg-lib\swscale-4.dll $(ProjectDir)$(OutDir)</Command>
|
|
</PostBuildEvent>
|
|
<PreBuildEvent>
|
|
<Command>pre-build.bat</Command>
|
|
</PreBuildEvent>
|
|
<ProjectReference>
|
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
|
</ProjectReference>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-Full|x64'">
|
|
<ClCompile>
|
|
<Optimization>Disabled</Optimization>
|
|
<AdditionalIncludeDirectories>../src/utf8proc;../src/win_spec_incld;../src/gpacmp4;../src/libpng;../src/zlib;../src;../src/lib_ccx;../src/zvbi;../src/protobuf-c;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
<PreprocessorDefinitions>VERSION_FILE_PRESENT;ENABLE_OCR;WIN32;NDEBUG;_CONSOLE;_FILE_OFFSET_BITS=64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
|
<PrecompiledHeader>
|
|
</PrecompiledHeader>
|
|
<WarningLevel>Level3</WarningLevel>
|
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
</ClCompile>
|
|
<Link>
|
|
<AdditionalDependencies>WS2_32.Lib;avcodec.lib;avformat.lib;avutil.lib;swscale.lib;liblept172.lib;libtesseract304d.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
<SubSystem>Console</SubSystem>
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
</Link>
|
|
<PostBuildEvent>
|
|
<Command>xcopy /y $(ProjectDir)libs\lib\liblept172.dll $(ProjectDir)$(OutDir)
|
|
xcopy /y $(ProjectDir)libs\lib\libtesseract304d.dll $(ProjectDir)$(OutDir)</Command>
|
|
</PostBuildEvent>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
<ClCompile>
|
|
<AdditionalIncludeDirectories>..\src\win_spec_incld;..\src\lib_ccx;..\src\lib_hash;..\src\zvbi;..\src\protobuf-c;..\src\gpacmp4;..\src\win_iconv;..\src\zlib;..\src\libpng;..\src;libs\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
<PreprocessorDefinitions>VERSION_FILE_PRESENT;WIN32;NDEBUG;_CONSOLE;_FILE_OFFSET_BITS=64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
|
<PrecompiledHeader />
|
|
<WarningLevel>Level3</WarningLevel>
|
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
|
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
|
|
</ClCompile>
|
|
<Link>
|
|
<AdditionalDependencies>WS2_32.Lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
<SubSystem>Console</SubSystem>
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
<TargetMachine>MachineX86</TargetMachine>
|
|
</Link>
|
|
<PreBuildEvent>
|
|
<Command>pre-build.bat</Command>
|
|
</PreBuildEvent>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
<ClCompile>
|
|
<AdditionalIncludeDirectories>../src/utf8proc;../src/win_spec_incld;../src/lib_ccx;../src/lib_hash;../src/gpacmp4;../src/libpng;../src/zlib;../src/zvbi;../src/protobuf-c;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
<PreprocessorDefinitions>VERSION_FILE_PRESENT;WIN32;NDEBUG;_CONSOLE;_FILE_OFFSET_BITS=64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
|
<PrecompiledHeader>
|
|
</PrecompiledHeader>
|
|
<WarningLevel>Level3</WarningLevel>
|
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
</ClCompile>
|
|
<Link>
|
|
<AdditionalDependencies>WS2_32.Lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
<SubSystem>Console</SubSystem>
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
</Link>
|
|
<PreBuildEvent>
|
|
<Command>pre-build.bat</Command>
|
|
</PreBuildEvent>
|
|
</ItemDefinitionGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
<ImportGroup Label="ExtensionTargets">
|
|
</ImportGroup>
|
|
</Project> |