PDA

نسخه کامل مشاهده نسخه کامل : لود ويدئو در دلفي و كار بر روي فريم هاي آن



romixery
09-06-2007, 09:28
دوستان و اساتيد عزيز سلام
اول از همه مي خواستم ببينم كه دلفي قابليت Import ويدئو رو داره البته با پسوند AVI يا MPEG يا هر پسوند معروف ديگه كه از دوربين فيملبرداري قابل تبديل هست ( منظورم import در برنامه اي كه مي نويسيم نه خود دلفي)؟ مي دونم كه دلفي مديا پلير نيست كه اين كار رو انجام بده ولي مي خواستم ببينم كه اگه كامپوننتي هست كه اين كار رو بكنه اون رو هم برام معرفي كنيد؟
و اما بعد...
براي اين كه بعد از لود كردن ويدئو در دلفي روي تك تك فريم هاي اون مثل يك عكس BMP كار كنيم، كدي هست؟ دسترسي به پيكسلهاشو مي خوام.
باز اگه كامپوننتي وجود داره ممنونم كه برام معرفي كنيد؟
به خدا خيلي واجبم. در واقع زندگي آيندم به اين كار و برنامه اي كه مي خوام با اين بنويسم بستگي داره؟
در ضمن قابل توجه دوستاني كه مي گن برو توي اينترنت سرچ كن و لقمه آماده كرده نخواسته باش، من خيلي تو اينتريت سرچ كردم ولي به نتيجه نرسيدم.OK!!!
با تشكر
باي
:10: :11:

NoneForce
09-06-2007, 10:58
سلام
لازم نيست تا اينترنت بريد، سركوچه همين انجمن يه دكه هست كه از اين ابزارها داره :

[ برای مشاهده لینک ، لطفا با نام کاربری خود وارد شوید یا ثبت نام کنید ]

آخرين نسخه را هم صبح زود براش آوردن، از اين قفسه برداريد :


برای مشاهده محتوا ، لطفا وارد شوید یا ثبت نام کنید

romixery
09-06-2007, 12:26
سلام
لازم نيست تا اينترنت بريد، سركوچه همين انجمن يه دكه هست كه از اين ابزارها داره :

[ برای مشاهده لینک ، لطفا با نام کاربری خود وارد شوید یا ثبت نام کنید ]

آخرين نسخه را هم صبح زود براش آوردن، از اين قفسه برداريد :


برای مشاهده محتوا ، لطفا وارد شوید یا ثبت نام کنید
نان فورس جان سلام
مثل اينكه امروز خيلي شارژي. به هر حال يه دنيا ممنونتم. فايل رو گرفتم ولي هنوز نصبش نكرم. اگه به دردم خورد كه فكر كنم به دردم بخوره خبر مي دم. بازم يه دنيا ممنونتونم.باي.
:10: :11:

romixery
09-06-2007, 21:36
با سلام خدمت نانفورس جان و ديگر دوستان عزيز
نانفورس جان من اين پكيج رو نصب كردم ولي:
اولا:
نتونستم يه ويدئو لود كنم. اصلا اين چه جوري كار مي كنه؟
ثانيه:
با عرض شرمندگي بايد بگم كه فكر نكنم كه اون اين چيزي باشه كه من ميخوام.

من فقط يه كد ، مثل يه Dll ميخوام كه بشه با اون توي برنامم ويدئو با پسوندهايي كه گفتم لود كنم.
بعد هم رو تك تك فريم هاي اون كار كنم.( به پيكسلهاش دسترسي داشته باشم. در غير اين صورت به هيچ دردم نمي خوره)
اين كامپوننت نه درست كار مي كنه و نه خيلي كارم و راه ميندازه. ولي نانفورس جان كه اين كامپوننت را الكي اينجا نزاشتن. حتما كارايي كه گفتم رو مي كنه.
اگه دوستان مي دونن كه اين كارايي كه گفتم با اين برنامه چه جوري ميشه انجامش داد. لطفا راهنماييم كنن. مخصوصا نانفورس جان كه خودشون اين كامپوننت رو اينجا گزاشتن.
خيلي خيلي ممنون از همة اساتيد
به اميد خدا:10:
باي

H A M E D
10-06-2007, 09:55
فكر كنم اين كامپوننت همونطور كه از اسمش پيداست براي ويرايش عكس باشه. البته هنوز دانلودش نكردم. اگر اشتباه كردم ببخشيد.

NoneForce
10-06-2007, 10:13
با سلام خدمت نانفورس جان و ديگر دوستان عزيز
نانفورس جان من اين پكيج رو نصب كردم ولي:
اولا:
نتونستم يه ويدئو لود كنم. اصلا اين چه جوري كار مي كنه؟
ثانيه:
با عرض شرمندگي بايد بگم كه فكر نكنم كه اون اين چيزي باشه كه من ميخوام.

من فقط يه كد ، مثل يه Dll ميخوام كه بشه با اون توي برنامم ويدئو با پسوندهايي كه گفتم لود كنم.
بعد هم رو تك تك فريم هاي اون كار كنم.( به پيكسلهاش دسترسي داشته باشم. در غير اين صورت به هيچ دردم نمي خوره)
اين كامپوننت نه درست كار مي كنه و نه خيلي كارم و راه ميندازه. ولي نانفورس جان كه اين كامپوننت را الكي اينجا نزاشتن. حتما كارايي كه گفتم رو مي كنه.
اگه دوستان مي دونن كه اين كارايي كه گفتم با اين برنامه چه جوري ميشه انجامش داد. لطفا راهنماييم كنن. مخصوصا نانفورس جان كه خودشون اين كامپوننت رو اينجا گزاشتن.
خيلي خيلي ممنون از همة اساتيد
به اميد خدا:10:
باي

سلام
اين هم كارهايي كه با اين كامپوننت ميشود انجام داد :


Input/output:

Support for asynchronous load/save operations
Load and save JPEG (RGB, GrayScale, YCbCr, CMYK, YCbCrK) to file or stream (with also 1/2, 1/4 and 1/8 subsizes for fast preview). Read/write APP0-APP15,COM Jpeg markers.
JPEG2000: JP2, J2K and JPC code stream formats (JPEG-2000 Part-1 standard, ISO/IEC 15444-1)
Jpeg Lossless transformations and cut
Estimation of Jpeg file quality
Optional Color Management System (CMS) to process ICC profiles
Support for Microsoft Color Management System to process ICC profiles
Read/write of Exif information (in Jpeg and TIFF). Can replace EXIF information without loading or changing the original image. Read/write EXIF maker note.
Read/write EXIF-GPS tags
Read/write Adobe XMP info from Jpeg, TIFF and PSD file formats.
Load and save TIFF (rev.6.0 and Tech.Note #2, Packbits, JPEG, LZW, CCITT G.3 and G.4, ZIP) with RGB, CMYK, B/W, CIELab color spaces to file or stream. Also FAX (CCITT3), G3F and G3N (Zetafax) formats supported for loading. Supports paletted 4, 8, 16, 32, 64, 128 and 256 colors images. Supported Adobe Deflate compression (readonly).
Load and save Adobe PSD files. Handling of multiple layers.
Available external plugins to load and/or save JBIG, RAW, DICOM, FITS, PCD and many others.
Powerful class to handle TIFF files (add/edit/remove tags, add/delete pages, merge TIFFs, etc...)
Supported several RAW Camera formats (CRW, NEF, ..)
Native operations on TIFF files supports add/remove/extract/enum without decompressing resulting in 450 times faster processing
Read of single TIFF tags
Save PostScript (PS and EPS) format - single and multipage using RLE, G3Fax, G4Fax and Jpeg compression.
Save Adobe PDF format - single and multipage images using G3Fax, G4Fax and Jpeg compression.
Load and save PNG with various compression levels.
Load and save compressed and uncompressed BMP in 2,16, 256 or 16M color images to files or streams.
Load and save uncompressed and black/white WBMP (Wireless Bitmap)
Load and save compressed and uncompressed PCX images in 2,16, 256 or 16M colors to file or stream.
Support for RAW files, specifing width, height, color format, bit alignment, etc..
Load and save 2, 4, 8,16, 32, 64,128 or 256 color GIFs to files or streams.
Load and save DCX (multipage PCX) files
Load and save DIB, RLE, TGA (TARGA, VDA, ICB, VST, PIX).
Load and save Portable Bitmap PBM, PGM and PPM
Load and save ICO (provisions to compose ICO with multi resolution and color depth)
Load WMF, EMF and CUR.
Load and save AVI, animated GIF and multi-TIFF.
Read of a single AVI frame.
Read/Write IPTC (IIMV4) information (like PhotoShop file info) from JPEG and TIFF. Can replace IPTC information without loading or changing original image.
Support for user defined file formats.
Support for Alpha Channel (transparent images).
Editing animated GIF: extract, insert and delete single images.
Editing multi TIFF: extract, insert and delete single images.
Included source code of a sample plug-in to read/write LZW Gif and TIFF.
NON-LZW-GIF compressor sample plug-in for GIF.
Standard LZW compressor/decompressor sample plug-in for GIF and TIFF images.
Get image properties without loading.
Image acquisition from TWAIN scanners with full control of scanner capabilities and without default scanner user interface. Supports both modal and modeless acquisition.
Image acquisition from WIA scanners and cameras
Save/load specific file format parameters and save/load preview dialogs (e.g. you can set quality of a Jpeg and immediately view the quality loss). Places bar on Win2000/Xp/Me.
A property to select language used in dialogs: English, Italian, German, Spanish, French, Portuguese, Greek, Russian, Dutch, Swedish, Polish, Japanese, Czech, Finnish, Farsi, Chinese (experimental), Danish or customized by user.
Supports connections with standard TImage component.
OnProgress event for monitoring saving and loading.
Provisions to abort input/output processing
Load alpha channel for GIF,TIFF,PNG,ICO,CUR, TGA
Capture from screen
Load images from the network, using http protocol (LoadFromURL)
registration of ImageEn formats in TPicture (TImage and VCL open/save dialogs)
Wang Imaging annotations (load/edit/save)
Read/write XP properteis of jpeg and tiff files.



Printing:

Printing (and print preview) functions to print single images specifying page alignment or absolute position.



Video capture:

VCL visual component for video capture (freeze frames, save AVI files and real time frames processing). Supports all codec installed and video capture cards.
VCL non-visual component for video capture (capture without display the video input).
Settable audio capture parameters.
Video capture: using DirectShow (WDM) capture drivers. This allows video sources to be selected by code from video input, tuner, etc
Video capture of multimedia files supported by DirectShow
Saving of multimedia files with compressions supported by DirectShow



Image processing & analysis:

Flexible image area selections (rectangle, ellipse, polygon and magicwand) including "soft" selection (you specify the selection intensity from 0 to 100%) and feathering selections.
Regulation of contrast, HSL, HSV/HSB and RGB components.
11 filters for quality resampling (Triangle, Hermite, Bell, BSpline, Lanczos3, Mitchell, Nearest, Linear, FastLinear, Bilinear, Bicubic, ProjectBW, ProjectWB).
Application of 3x3 filters.
Merge two images.
Crop selected region.
Fast Fourier Transformation (FFT) with preview.
Frequency domain (FFT) filtering.
Preview of all applied effects in a single dialog, with 8 preset filters (blur, edge detection, emboss, highpass1/ 2/ 3, lowpass1/ 2) and save and load filters from files.
Conversion to gray scale and negative.
Conversions of true color to black/white images with ordered or threshold dithering.
Casting of a group of colors to a single color.
Rotate to any angle (with enhanced quality).
Horizontal and vertical flip.
Edge detection (to convert color images to black/white using edge detection algorithms)
Skew detection (to estimate the orientation angle of the lines of text)
Simple algorithm which helps to remove red eye effect
Bump mapping effect.
Lens effect.
Wave effect.
Write/read hidden text, picture and raw data inside images (pixel amplitude modulation).
Copy, cut, paste and paste into a rectangle of all or part of the image.
Multilevel Undo/Redo operations
Application effects to the selected zones (also irregular)
OnProgress event for monitoring lengthy image processing tasks.
Histogram equalization (auto and manual) and threshold.
Median cut and Neural network color quantizers, for fast and accurate color reduction.
Reduction to any number of colors (with colormap output).
HSV channel separations.
A property to select language used by dialogs: English, Italian, German, Spanish, French, Portuguese, Greek, Russian, Swedish, Polish, Japanese, Czech, Finnish, Farsi, Chinese (experimental), Danish or customized by user.
A dialog to view a palette and select a color from it.
VCL component for HSV/HSB color selection.
VCL component for displaying histogram of gray levels (or RGB channels).
Connections with standard TImage component.
Maximum (dilation), Minimum (erosion), Opening and Closing filters with preview.
Horizontal/vertical pixel density histograms
Noise removal from Black/white images.
Gamma correction.
Gaussian Blur effect.
Soft Shadow effect.
Inner Shadow effect.
Sharpening effect.
Optional Color Management System (CMS) to process ICC profiles
manual correction of Barrel Distortion and Pincushion distortion (lens distortion, underwater distortion)
supported following native pixel formats: 1bit, 8 bit paletted, 8 bit gray scale, 16 bit gray scale, 24 bit RGB, 32 bit float point, 24 bit CMYK, 48 bit RGB
Crop and AutoCrop functions



Image rendering:

Real time Zoom-in and zoom-out (by percentage, zoom-in rectangular area or by one mouse click, accepts floating point values).
Support for multiple layers with separated transparency.
Select from 37 layer operations (blend modes)
Moveable and resizeable layers (by code or by user interaction)
Magnify layers (rectangle or like a lens/glass)
133 transition effects
Quality zoom effects with six filters (select between fast zoom or quality zoom).
Alpha Channel (transparent images)
B/W filtered zoom-out (for optimal display large B/W images inside small rectangles).
Scrollbar in two dimensions (real time) for the fast exploration of images, and "hand navigation" (click and drag the image with mouse).
Animate bi-color contour of a selected region (polygonal, irregular, circular and rectangular selections).
Magic wand selection (inclusive, exclusive and global).
Multiple selections.
Sizeable and moveable selected regions.
Multi-polygonal animated regions.
Dithering for non-true color display adapters.
VCL component to implement interactive rules with grips and numeric labels.
VCL component for interactive gradient bar.
Full support for mouse wheel actions.
Quality view for projects (ZoomFilter = ProjectBW and ProjectWB)



Thumbnails:

Single VCL component to display and animating thumbnails and grids of images. Handles big image sequences without allocating system memory.
3D style and customized thumbnails
Multi-selection
Load/Save AVI, GIF, multi-page TIFF images
Allows to set a wallpaper (background image)
Multi-threading image loading
Cache to speed-up image rendering
Show a custom or preset background under thumbnails.



Database handling:

Data aware component (TImageEnDBView) integrated with Delphi database environment (saves and loads Bmp,Pcx,Jpeg,TIFF,PNG,TGA,PBM,PGM,PPM and Gif inside Blob fields or path reference).
Data aware component (TImageEnDBVect) integrated with Delphi database environment (saves and loads Bmp,Pcx,Jpeg,TIFF,PNG,TGA,PBM,PGM,PPM and Gif and vectorial objects inside Blob fields or path reference).



Vectorial objects handling:

Vectorial objects (lines, box, circles, ellipses, bitmaps, text, multiline text, static ruler, polylines, polygons, angles, arrows-with text, curved text, highlight box) over background image. Save/Load these objects and import a sub-set of Autocad DXF files. Undo capability.
Support to add/edit/delete points of a polygon.
Anti-alias capability.
Settable object transparency.
Object soft shadow effects.
Measurement of lines, perimeters and areas (in pixel, inch, cm, mm or Km units).
Angle measurements.
Saves/loads IEV format (compressed with Deflate, variation of LZ77 algorithm) that includes images and vectorial objects.
Anti-aliased text.
Alpha channel for images (transparent images).
Clipboard Cut/Copy/Paste of vectorial objects.
Create polygons from raster image edges.
Remove jagged edges from polygons.
Polygon simplification.

romixery
10-06-2007, 12:49
نانفورس جان سلام
شما مطمئن هستي كه اين كارا رو مي كنه؟ راستش اينجا تو اين ليستي كه شما نوشتي نوشته Freez Frams كه همين برام كافيه. ولي والا ما كه توي اين كامپوننت اينجور چيزايي رو نديدم. در واقع توي TAB ي كه درست مي كنه. 5، 6 تا آيتم بيشتر نداره و از اين چندتا فقط 2 تاشون كار مي كنه. سرعتش كه پايين ولش. باهاش كنار ميام. ولي من نديدم كه ويدئو لود كنه، شما تا حالا باهاش ويدئو لود كردي؟ اگه كردي بگو چه جوري؟
بعدش يه چيزه ديگه بايد بگم كه از 4 تا پكيجي كه براي دلفي 7 داره 2 تا آخريشو نصب نمي كنه. يه ERROR مي ده كه اين پكيجها درست نيستن، يا مال دلفي 7 نيست، يا همين مزخرفات ديگه!!!
آخه مگه توي فولدر دلفي 7 نيستن پس همشون بايد براي دلفي 7 باشن ديگه. به هر حال اگه شما بلدين با كامپوننت كار كنيد، محتاج كمكتونم و ممنون ميشم به ما بينوايان هم ياد بدين.
با تشكر فراوان از همة دوستان. و اس....(عذر مي خوام خودتون گفتين كه بهتون استاد نگم، باشه)
در پناه خدا !!!
باي:11: :10:

NoneForce
10-06-2007, 14:37
سلام
بگم خدا اينها را چيكار نكنه كه يه سمپل با برنامشون نميدن.
اينو امتحان كنيد :

[ برای مشاهده لینک ، لطفا با نام کاربری خود وارد شوید یا ثبت نام کنید ]

romixery
12-06-2007, 09:31
سلام
بگم خدا اينها را چيكار نكنه كه يه سمپل با برنامشون نميدن.
اينو امتحان كنيد :

[ برای مشاهده لینک ، لطفا با نام کاربری خود وارد شوید یا ثبت نام کنید ]
نان فورس جان سلام
بابا از اولش اينو ميزاشتي بيشتر از اون كامپوننته كمكم كرد. ولي خوب هنوز كامل به نتيجه نرسيدم. بايد به دستوراش بيشتر مسلط بشم.
بايد بگم كه خود دلفي دستور لود فايلهاي AVI رو داره ولي فقط بدون صدا.
خيلي خيلي خيلي دستون درد نكنه. اگه تونستم برناممو بنويسم يه نسخشو براتون مي فرستمش. دعا كنيد تا آخر مرداد تمومش كنم و الا ...
در پناه خدا
باي
:11: :40: