Hi All, i want a library/dll through which i can convert jpeg images to mpeg4 video format and vice versa. i googled and found FFMpeg, many sample codes use the exe and do the conversions; i donot want that way, i want any library/dll to be linked to my project and then i will be using the api(s) directly! Can you please suggest me any open source like or easier that FFMpeg? Note i am doing this in VC++! Regards, Kapardhi
kapardhi
Posts
-
Any library/dll using which i can convert jpeg images to mp4 video -
Automation tool for MFC Dialog based applicationsHi! I have developed a MFC Dialog based application, that consists of buttons, combo-boxes, edit box and a button to browse for a file etc, Now i want a free tool, through which i can repeatedly automate/test my app without the involvement of human. so is there asny such free tool in which initially i will show the cursor flow on my app, then the tool will proceed to do the same for required number of times. i searched thru net, i got few like AutoHotkey and winspy ++, but they require some scripts to be written, is there any software (free) which can be used without writing scripts!! Thanks!
-
Installing a driver and Registry settings!!Hai! Is there any key in the registry which changes its value each time i install and uninstall the driver for a smart card reader!! Thanks!
-
How to get file version of an MFC application?Sorry for not providing a detailed information! I actually want to get the version information programmatically for a Pocket PC WIN CE device, I am developing the application in eVC++ I have used GetFileVersionSize (), GetFileVersionInfo (), VerQueryValue() in Visual studio 2005, which was working but not in eVC++ Can i get version information for a PocketPC Application, because if i implement the above functions i get 1814 as error using GetLastError() after executing GetFileVersionInfo() stating "The specified resource name cannot be found in the image file." what does this mean ?? Thanks!
-
How to get file version of an MFC application?Hai! In any MFC dialog based application if we go to Resource view->and click on Version we get a version info of our application in the version info there are two bocks : 1. FILEVERSION 1,0,0,1 and PRODUCTVERSION 1,0,0,1 etc then a black line as separator then 2. Block header, Comments , company name and then File vesion product version etc. Now i need to get the file version of my application programatically, i am currently using GetFileVersionInfo (), this function gets the file version fron 2nd or lower block, i need the file version from 1st block FILEVERSION, is there any direct function?? Thanks!
-
How to add an Active X Control to a project in Visual Studio 2005/2008?Thanks!
-
How to add an Active X Control to a project in Visual Studio 2005/2008?Hai! In order to add a Active x control to my tool box, In eVC++ normally i go to 'Project' on title bar, then i select 'Add to project' then i select 'Components and Controls' option to add a new Active X Control to the tool box of my project. But how to do the same in Visual studio 2005, there is no 'Add to Project' option on clicking 'Project' from the title bar? Thanks!
-
How to get data from user during run time?Is there no other way other than creating a dialog !!! Any inbuilt messagebox !! thanks!
-
How to get data from user during run time?Hai! Using MessageBox or AfxMessageBox we are able to display some message to the user during runtime, the message may include the value returned from a function etc. Can we do the other way ?? I want the user should enter one byte data during run time, depending on the entered value i want to proceed my calculation . Is it posible in MFC, if yes how to do it !! Thanks!
-
How to design a decoder in C++?I have done a work arround using those functions but still i am not getting the image! Probably because i have not changed the some of old #defines like #define O_RDONLY _O_RDONLY #define O_WRONLY _O_WRONLY #define O_RDWR _O_RDWR #define O_APPEND _O_APPEND #define O_CREAT _O_CREAT #define O_TRUNC _O_TRUNC #define O_EXCL _O_EXCL #define O_TEXT _O_TEXT #define O_BINARY _O_BINARY Does these values need to be changed, if yes where can i get the values; I tried at msdn help by opening the functions like fopen (), createFile (), but i do get only few values for RDONLY, WRONLY, so what nned to be done ? Thanks!
-
What are the equvalent functions in WINCE?Actually that part of code designed in jas_stream.c and jpg_enc.c (which are present in Jasper folder of CxImage) is not even clear to me!! http://www.codeproject.com/KB/graphics/cximage.aspx so i am confused to what must be the values of the parameters As of functionality of tmpname (), it chooses a temporary file name and tmpfile () creates a temporary file and returns a pointer to that stream. Thanks!
-
What are the equvalent functions in WINCE?Hai! I am using JASPER library for a WINCE application, it has some WINCE unsupported functions lie open(), close (), tmpfile () etc. I could replace most of the functions with those supported in WINCE, but i couldn't replace two functions required in jas_stream.c and jpg_enc.c, the two files use tmpnam() and tmpfile() functions in jas_stream_tmpfile () and jpg_encode () functions sample code is below tempnam (obj->pathname); // within jas_stream_tmpfile () function and if (!(output_file = _tmpfile())) //// within jpg_encode () function { .. } What are the eqivalent functions of tmpnam() and tmpfile () for WINCE, i reffered the following : http://support.microsoft.com/kb/99456 Please tell equivalent functions or any workarround so that the overall functionality is not affected. Thanks!
-
How to design a decoder in C++?Thanks!, I could replace most of the functions, but i couldn't replace two functions required in jas_stream.c and jpg_enc.c, the two files use tmpnam() and tmpfile() functions in jas_stream_tmpfile () and jpg_encode () functions sample code is below tempnam (obj->pathname); // within jas_stream_tmpfile () function and if (!(output_file = _tmpfile())) //// within jpg_encode () function { .. } What are the eqivalent functions of tmpnam() and tmpfile () for WINCE, i reffered the following : http://support.microsoft.com/kb/99456 Please tell equivalent functions or any workarround so that the overall functionality is not affected. Thanks!
-
How to design a decoder in C++?But there is a folder in CxImage(wcecompat\include), which contains WINCE compatible files, fcntl is included in it, if i am wrong, Can you please give me any idea what to replace with fcntl that is supported in WINCE and has similiar functionalities Thanks!
modified on Thursday, June 4, 2009 9:56 AM
-
How to design a decoder in C++?Hai! I am developing the application in Visual studio 2008 using Pocket PC 2003 SDK, which works in my WINCE device. I imported CxImage CE version and tried to build solution without making any changes (even in jas_config2.h), i get the following errors: jasper.lib(jpg_dummy.obj) : error LNK2005: jpg_encode already defined in jasper.lib(jpg_enc.obj) jasper.lib(jas_stream.obj) : error LNK2019: unresolved external symbol read referenced in function file_read jasper.lib(jas_stream.obj) : error LNK2019: unresolved external symbol write referenced in function file_write jasper.lib(jas_stream.obj) : error LNK2019: unresolved external symbol lseek referenced in function file_seek jasper.lib(jas_stream.obj) : error LNK2019: unresolved external symbol unlink referenced in function file_close jasper.lib(jas_stream.obj) : error LNK2019: unresolved external symbol close referenced in function file_close jasper.lib(jas_stream.obj) : error LNK2019: unresolved external symbol open referenced in function jas_stream_fopen jasper.lib(jas_stream.obj) : error LNK2019: unresolved external symbol tmpnam referenced in function jas_stream_tmpfile jasper.lib(jas_stream.obj) : error LNK2019: unresolved external symbol setmode referenced in function jas_stream_fdopen jasper.lib(jpg_enc.obj) : error LNK2019: unresolved external symbol rewind referenced in function jpg_encode jasper.lib(jpg_enc.obj) : error LNK2019: unresolved external symbol tmpfile referenced in function jpg_encode then i made the changes suggested by you in jas_config2.h, on disabling #define HAVE_FCNTL_H 1 i get the following errors \base\jas_stream.c(253) : error C2065: 'O_RDWR' : undeclared identifier \base\jas_stream.c(255) : error C2065: 'O_RDONLY' : undeclared identifier \base\jas_stream.c(257) : error C2065: 'O_WRONLY' : undeclared identifier \base\jas_stream.c(262) : error C2065: 'O_APPEND' : undeclared identifier \base\jas_stream.c(268) : error C2065: 'O_CREAT' : undeclared identifier \base\jas_stream.c(268) : error C2065: 'O_TRUNC' : undeclared identifier \base\jas_stream.c(285) : warning C4013: 'open' undefined; assuming extern returning int \base\jas_stream.c(315) : error C2065: 'O_RDWR' : undeclared identifier \base\jas_stream.c(317) : error C2065: 'O_RDONLY' : undeclared identifier \base\jas_stream.c(319) : error C2065: 'O_WRONLY' : undeclared identifier \base\jas_stream.c(324) : error C2065: 'O_APPEND' : undeclared identifier \base\jas_stream.c(330) : error C2065: 'O_CREAT' : undeclared identifier \base\jas_stream.c(33
-
How to design a decoder in C++?First of all thanks for your valuable suggestion. Sorry for the delayed reply! But i am using eVC++ within which i have Pocket PC 2003 SDK, using this i develop application for my Win CE device. I am using the jasper folder from CxImage of WIN CE version The solution to the jasper project opens only in VISUAL STUDIO 2005, but mine is eVC++ 4.0, can i use that library developed in VS2005 with Pocket Pc 2003 CPU, in my eVC++ application? Now i am trying to port the source files into my eVC++ application. But all the functions in Jasper use structures, can you help me how to use those structures to open and save a .jp2 image present at a location to be opened and saved as .jpg or .bmp at the same location! thanks!
-
How to design a decoder in C++?Hello! I am going to develop a code that converts .jp2 image to either .bmp or .jpg. I need the algorithm or simplest procedure or suggestions. Recently i have been searching for free API's and libraries that converts .jp2 to .jpg (or .bmp), i have been successful with CxImage, other GDI + functions, CPicture etc (some 3 - 4 ways) on Windows XP Platform in VC++. But i have to do the above conversion in eMbedded VC++ for a pocket PC Device(all the above successful ways are either not supported or used to fail in Pocket PC Device). I gathered information about the file structures and formats of JPEG2000, JPEG, BITMAP files. There are many decoders that convert from JPEG to BITMAP, can i get a source code of the simplest decoder (Lossy or lossless) so that i can design a decoder that converts .jp2 to .jpg, that works for a Pocket PC device in eVC++ what i need is a simple function that can meet my requirements! Thanks!
-
I have used CxImage in VS2005 (successful) and tried to use CxImage WINCE version, it doesn't support .jp2 images?i am ending up with error LNK2019: unresolved external symbol "public: bool __thiscall CxImage::Load(char const *,unsigned long)" (?Load@CxImage@@QAE_NPBDK@Z) referenced in function "protected: virtual int __thiscall CMyImageDlg::OnInitDialog(void)" (?OnInitDialog@CMyImageDlg@@MAEHXZ) error LNK2019: unresolved external symbol "public: __thiscall CxImage::CxImage(unsigned long)" (??0CxImage@@QAE@K@Z) referenced in function "protected: virtual int __thiscall CMyImageDlg::OnInitDialog(void)" (?OnInitDialog@CMyImageDlg@@MAEHXZ) The latest observation is if i am changing some setting in Code generation to [/Mt] [/Mtd] [/Md] etc I get lot of such type of errors ! now after rolling back the settings also still the errors continues i am posting some of the errors Linking... LINK : warning LNK4199: /DELAYLOAD:OleAcc.dll ignored; no imports found from OleAcc.dll MyImage.obj : error LNK2001: unresolved external symbol __afxForceEXCLUDE ImageDlg.obj : error LNK2001: unresolved external symbol __afxForceEXCLUDE stdafx.obj : error LNK2001: unresolved external symbol __afxForceEXCLUDE MyImage.obj : error LNK2001: unresolved external symbol "protected: static struct AFX_MSGMAP const * __stdcall CWinApp::GetThisMessageMap(void)" (?GetThisMessageMap@CWinApp@@KGPBUAFX_MSGMAP@@XZ) MyImage.obj : error LNK2001: unresolved external symbol "protected: void __thiscall CWinApp::OnHelp(void)" (?OnHelp@CWinApp@@IAEXXZ) MyImage.obj : error LNK2019: unresolved external symbol "public: __thiscall CWinApp::CWinApp(char const *)" (??0CWinApp@@QAE@PBD@Z) referenced in function "public: __thiscall CMyImageApp::CMyImageApp(void)" (??0CMyImageApp@@QAE@XZ) MyImage.obj : error LNK2001: unresolved external symbol "public: virtual struct CRuntimeClass * __thiscall CWinApp::GetRuntimeClass(void)const " (?GetRuntimeClass@CWinApp@@UBEPAUCRuntimeClass@@XZ) MyImage.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CObject::Serialize(class CArchive &)" (?Serialize@CObject@@UAEXAAVCArchive@@@Z) MyImageDlg.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CObject::Serialize(class CArchive &)" (?Serialize@CObject@@UAEXAAVCArchive@@@Z) MyImage.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CWinApp::AssertValid(void)const " (?AssertValid@CWinApp@@UBEXXZ) MyImage.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CWinApp::Dump(class CDumpContext &)const " (?Dump@CWinApp@@UBEXAAVCDumpContext@@@Z) MyImage
-
I have used CxImage in VS2005 (successful) and tried to use CxImage WINCE version, it doesn't support .jp2 images?After making that change only i have come across the errors that i have mentiontioned in the previous message!
-
I have used CxImage in VS2005 (successful) and tried to use CxImage WINCE version, it doesn't support .jp2 images?I even tried doing so just by changing the solution platform to "Pocket PC 2003(ARM)" but i am ending up with error LNK2019: unresolved external symbol "public: bool __thiscall CxImage::Load(char const *,unsigned long)" (?Load@CxImage@@QAE_NPBDK@Z) referenced in function "protected: virtual int __thiscall CMyImageDlg::OnInitDialog(void)" (?OnInitDialog@CMyImageDlg@@MAEHXZ) error LNK2019: unresolved external symbol "public: __thiscall CxImage::CxImage(unsigned long)" (??0CxImage@@QAE@K@Z) referenced in function "protected: virtual int __thiscall CMyImageDlg::OnInitDialog(void)" (?OnInitDialog@CMyImageDlg@@MAEHXZ) My project setting are "Statically linked to MFC" "Using unicode" Thanks!