-=-
.
.....
  
 
RSS
Direkomendasikan menggunakan brower Opera/Chrome/Firefox. Resolusi minimal 1024x768 | Powered by ____ |
 
  
 
Nikmati Delphi-ID dalam berbagai versi tampilan :
Basic View (LOW Bandwidth)
Default View (Full)
Mobile Edition
Main Menu
..:: onWebTools ::..
..:: onLastPosts ::..
goto Postjumlah komponen maksimal dalam sebuah project(6)
 by d4mnf1y32
 on 21.May at 12:16
goto Posttanya grayscale to biner dengan scanline(1)
 by luckynvic
 on 20.May at 20:44
goto Posttanya looping biner to matriks(1)
 by luckynvic
 on 20.May at 20:10
goto Postsql error:acces denied for user....(2)
 by nasbms
 on 19.May at 16:54
goto Postpemanggilan frame(4)
 by nasbms
 on 19.May at 16:14
goto Posttanya AvLock(0)
 by azuriza
 on 19.May at 11:24
goto PostGet TDBEdit Value Menggunakan LookUp Grid(10)
 by henry_sys
 on 18.May at 11:27
goto Postmenghitung record dalam perulangan(4)
 by idhiel
 on 16.May at 13:53
goto Posttanya ascii(4)
 by mas_kofa
 on 16.May at 12:11
goto PostRawPrint Untuk Delphi XE2(0)
 by adewijaya
 on 15.May at 22:34
goto Postdatabase error..(4)
 by idhiel
 on 15.May at 15:57
goto Postbekasi, pt arila putra mahkota(3)
 by mas_kofa
 on 15.May at 15:37
goto Postbagaimana cara membaca file *.doc dg delphi?(0)
 by ficky
 on 15.May at 06:14
goto Posttanya biner to matriks(13)
 by diandewi
 on 14.May at 20:30

..:: onLast Articles ::..
..:: New Download ::..
Pascal-id.Org
Feeds -  Popular -  Latest
RE: The Longue
8 months, 3 weeks ago
RE: belajar pascal
8 months, 3 weeks ago
RE: The Longue
8 months, 3 weeks ago
RE: belajar pascal
8 months, 3 weeks ago
RE: Perkenalan dan Absen
8 months, 3 weeks ago
RE: Alhamdulillah Buka Puasa Bersama
8 months, 3 weeks ago
RE: تَقَبَّلَ اللهُ مِنَّا وَمِنْكَ - Selamat Hari Raya Idul Fitri
8 months, 3 weeks ago
Lintas Situs
«
free web site stats and visitor tracking

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
juan81Offline
Location:
Post subject: Pertanyaan Mudah Tapi Sulit....  PostPosted: 04/Jul/2006 01:03
onKnowledgeable


Joined: 13-Jun-2006
Posts: 136

Status: Offline
Ada yang tau ga caranya menampilkan caption di atas file video yang dijalankan di dephi/ menyatu di dalam video tersebut... kayak buat subtitle di sebuah film... aku dah liat ada kompenen luar tapi harganya mahal banget....

Input program :
Panel Display sebuah film... avi / mpeg/ terserah...
File text... isinya tulisan...

Output program :
gabung gitu.... ada gambar filmnya nyala dan ada tulisan diatas film tersebut...
 
 View user's profile Send private message  
Reply with quote Back to top
chipmunk
Location:
Post subject: RE: Pertanyaan Mudah Tapi Sulit....  PostPosted: 04/Jul/2006 20:35
onConfident


Joined: 12-May-2006
Posts: 26

Setahu saya emang ga mudah model2 gini..dan pantas juga harga komponennya mahal..

Saya dulu pernah garap project semacam itu (mungkin ga lengkap bgt fasilitasnya karena utk keperluan internal aja..)..tapi sayang bukan di Delphi (C#) dan regretfully ga bisa di posting di sini Sad..mungkin nanti klo sempat saya porting ke Delphi tentunya versi yg udah stripped down ..

Dg asumsi paham Directshow (VFW kurang bagus tp jg bisa lewat Directshow), double buffer dan manipulasi video data secara langsung pada prinsipnya yg paling sederhana kira2:

- Buat secondary offscreen buffer (#1) utk keperluan custom rendering (misal marques, rolling text..whatever..). Bila perlu secondary thread untuk manipulasi buffer ini. Disini logic utk visual effects..

- Data dari primary buffer (callback di directshow..misal playback avi file, capture device dll..) harus di merge ke flip buffer (#2) sebelum di tampilkan di final device context (mm..Canvas). Merging bisa dilakukan dg teknik2 image processing ato gunakan model transparansi dari backgroundnya buffer #1 tadi..

- Sebuah thread yg synchronized dg rendering thread sbg coordinator untuk melakukan merging dan final rendering..

Untuk filtergraph-nya directshow ga perlu pin preview cukup grabber filter aja..

test case bisa coba dulu pake text , dulu saya hasilkan spt ini :




Jika ingin yg gampang2 aja (tp hanya utk Webcam)..coba modifikasi component saya http://www.delphi-id.org/dpr/PNphpBB2-viewtopic-t-1026.pas
- Gunakan codes pada bagian CopyCaptureToClipboard() sebagai permulaan utk nambah visual effects. Tambah timestamp caption uda ada disitu..
- Custom rendering, jd jg pake window yg di-create pada constructor tp pake data internalnya utk mensimulasikan motion picture (pake secondary thread..ok)..

oya, ini masih silent video blm sound..jd rumit ya..
mungkin ada rekan2 yg pernah develop di Delphi bisa sumbang basic codes/techs yg lebih efisien, sederhana ...

hmm..sorry saya ga bisa kasih contoh codes di sini (sharing ga mesti codes kan?)...Very Happy

we hope next Delphi version (?) will be shipped with something like this.. Very Happy

--
 
 View user's profile Send private message  
Reply with quote Back to top
juan81Offline
Location:
Post subject:   PostPosted: 05/Jul/2006 07:13
onKnowledgeable


Joined: 13-Jun-2006
Posts: 136

Status: Offline
thx atas bantuannya wa coba dolo
 
 View user's profile Send private message  
Reply with quote Back to top
mat_koderOffline
Location:
Post subject:   PostPosted: 05/Jul/2006 07:47
onUber-Skilled


Joined: 16-Jan-2006
Posts: 344

Status: Offline
coba download DSPACK ( komponen Delphi utk DirectShow) , disitu ada demo VMR yg bisa mixing text on top of video ( tapi syaratnya tentunya DirectX-nya sdh hrs support VMR ).

_________________
..... good enough is not enough........
 
 View user's profile Send private message  
Reply with quote Back to top
juan81Offline
Location:
Post subject:   PostPosted: 06/Jul/2006 12:50
onKnowledgeable


Joined: 13-Jun-2006
Posts: 136

Status: Offline
THXXXX ATAS KOMPONENNYA ..... dah wa cobaaaaa bagussss VMRnya... coolll DSPACK.... bisa rander bitmap lagi diatasnya....
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic





Powered by PNphpBB2 © 2003-2009 The Zafenio Team
Credits


| Register | Lost Password ? |