Karleener / FreeDcpPlayer

Free Dcp Player Nvidia GPU based for independent filmmakers
24 stars 8 forks source link

Compiling under Visual Studio #7

Open steveq61 opened 6 days ago

steveq61 commented 6 days ago

Hi Karleener,

Really nice job with this. It works a treat on my 4070 GPU.

I have developed my own DCP packaging suite called DCPPro. It consists of the following: DCPPro - The main interface and arbitrator of jpeg2000 encoding DCPProEncoder - A networked Jpeg2000 encoder DCPProbe - A in depth DCP analysis tool DCPSubtitle - A tool for building new subtitles and importing SRT subtitles (timed text). DCPProLeqm - A tool for measuring the audio levels (Leq(m)) in a DCP or WAV file

I would like to add drag and drop of the DCP folder to your player, however when I try and load the project into Visual Studio, I get the following error: FreeDcpPlayer-main\src\freedcpplayer\Cudaj2k\Cudaj2k.vcxproj : error : Unable to read the project file "Cudaj2k.vcxproj". FreeDcpPlayer-main\src\freedcpplayer\Cudaj2k\Cudaj2k.vcxproj(58,5): The imported project "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\BuildCustomizations\CUDA 11.6.props" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.

Would you have any advice on how I can get your project to compile please?

Thanks so much,

Steve Q.

Karleener commented 6 days ago

Hi. What is your version of Visual Studio ? I used 2019 version. Did you try to load the .sln project file ? You have also to install Cuda toolkit 11.6 before running Visual Studio https://developer.nvidia.com/cuda-11-6-0-download-archive If you use a more recent version of Cuda, I think that you have to update manually the vcxproj file. Note that if you use my code in your project, it it necessary to follow the constraints of all licence files since I use several open source librairies. Best Karleener.

steveq61 commented 5 days ago

Hi Karleener,

Thanks so much for your prompt reply!

I have an old version of Visual Studio, VS 13, and to be honest I have never updated it as I am worried about compatibility and it compiling my software DCP software which is crucial to my business. Looks like I might have to do it though and hope there are no issues, hopefully VS13 and 19 can run side by side. Yes I did load the .sln file.

Thanks for the CUDA link, I have now downloaded it.

No worries with the license constraints either. My software is not commercial, nor is it publicly available. It is only used in house for my business and by one other person who is my beta tester.

Once again thanks so much for your reply, I really appreciate it!

-SQ 😊

Steve Quartly | http://www.digipix.net.au http://digipix.net.au/

T: +61 8 9295 6448 | M: + 61 418 916 772

A: 1280 Stevens St, Mundaring, WA, Australia, 6073

From: Karleener @.> Sent: Friday, 27 September 2024 02:22 To: Karleener/FreeDcpPlayer @.> Cc: steveq61 @.>; Author @.> Subject: Re: [Karleener/FreeDcpPlayer] Compiling under Visual Studio (Issue #7)

Hi. What is your version of Visual Studio ? I used 2019 version. Did you try to load the .sln project file ? You have also to install Cuda toolkit 11.6 before running Visual Studio https://developer.nvidia.com/cuda-11-6-0-download-archive If you use a more recent version of Cuda, I think that you have to update manually the vcxproj file. Note that if you use my code in your project, it it necessary to follow the constraints of all licence files since I use several open source librairies. Best Karleener.

β€” Reply to this email directly, view it on GitHub https://github.com/Karleener/FreeDcpPlayer/issues/7#issuecomment-2377641090 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AJGRMCQNZ6D2D2VWC3W3Y6DZYRGENAVCNFSM6AAAAABO4BAC4GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZXGY2DCMBZGA . You are receiving this because you authored the thread.Message ID: @.***>

-- This email has been checked for viruses by Avast antivirus software. www.avast.com

Karleener commented 1 day ago

Hi, note that you can recreate your own GUI without recompiling the full project, since it is possible to run a command line such as freedcpplayer "c:\mydcpdir\Myshortfilm_SHR-1-25_S_Fr-EN_FR-NR_51_2K_karleener_20171009_SMPTE_OV" -a 3 -d 1 -i -j If you run freedcpplayer without option, the GUI will be used. If you build your own GUI, you just have to build automatically the line command and run it from C/C++ as system command.

steveq61 commented 19 hours ago

Hi Karleener,

Oh wow thanks for this information. This is an excellent option if I am unable to compile your code directly. I have downloaded the CUDA kit and VS12. Later next week I hope to find the time to install and try it again.

Does the CLI version return with error/success strings at all? Should I look out for them?

Thanks so much for letting me know!

-SQ 😊

quartly television productions

Steve Quartly producing/directing/editing

@. @.>

www.qtv.net.au http://www.qtv.net.au/

T: +61 8 9295 6448 | M: +61 418 916 772

A: 1280 Stevens St, MUNDARING, WA, 6073

1985 Golden Key Awards Finalist – Best Editing

1985 Golden Key Awards Winner – Best Editing

From: Karleener @.> Sent: Tuesday, 1 October 2024 19:51 To: Karleener/FreeDcpPlayer @.> Cc: steveq61 @.>; Author @.> Subject: Re: [Karleener/FreeDcpPlayer] Compiling under Visual Studio (Issue #7)

Hi, note that you can recreate your own GUI without recompiling the full project, since it is possible to run a command line such as freedcpplayer "c:\mydcpdir\Myshortfilm_SHR-1-25_S_Fr-EN_FR-NR_51_2K_karleener_20171009_SMPTE_OV" -a 3 -d 1 -i -j If you run freedcpplayer without option, the GUI will be used. If you build your own GUI, you just have to build automatically the line command and run it from C/C++ as system command.

β€” Reply to this email directly, view it on GitHub https://github.com/Karleener/FreeDcpPlayer/issues/7#issuecomment-2385571211 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AJGRMCU4WUON7DAIOJAYLA3ZZKEB3AVCNFSM6AAAAABO4BAC4GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBVGU3TCMRRGE . You are receiving this because you authored the thread.Message ID: @.***>

-- This email has been checked for viruses by Avast antivirus software. www.avast.com