Click here to Skip to main content
15,911,132 members
Home / Discussions / C#
   

C#

 
Questionhow to convert whole .hex file to bin file Pin
bhavin chheda8-Jun-10 5:22
bhavin chheda8-Jun-10 5:22 
AnswerRe: how to convert whole .hex file to bin file Pin
loyal ginger8-Jun-10 5:36
loyal ginger8-Jun-10 5:36 
AnswerRe: how to convert whole .hex file to bin file Pin
OriginalGriff8-Jun-10 6:29
mveOriginalGriff8-Jun-10 6:29 
AnswerRe: how to convert whole .hex file to bin file Pin
harold aptroot8-Jun-10 6:31
harold aptroot8-Jun-10 6:31 
Questionvideo subtitles Pin
Myn928-Jun-10 5:05
Myn928-Jun-10 5:05 
AnswerRe: video subtitles Pin
JHizzle8-Jun-10 5:15
JHizzle8-Jun-10 5:15 
GeneralRe: video subtitles Pin
Myn928-Jun-10 5:18
Myn928-Jun-10 5:18 
GeneralRe: video subtitles Pin
JHizzle8-Jun-10 5:49
JHizzle8-Jun-10 5:49 
Well I did this on really really old code quite some time ago so I'm assuming there's a better way but the logic was:

1)Capture the event when the video time changes
2)Parse the subtitle file (the one I was working with was a simple text one with the format [Time][Subtitle]) and determine which one should be showing at the time.
3)Have an overlaid transparent panel that matches the bottom of the player and display the relevant subtitle.

So admittedly, I haven't used the Directx library you're referring to, the logic should still be the same, a quick browse of the documentation indicates there's no native subtitle functionality built in.

Pretty sure there'll be another library out there that might help but if not, you've got the above approach as a fallback position (note - it's not exact logic as I was doing things there to reduce processing overhead but it's the basic idea).
QuestionInno setup - download components from network Pin
rg.waw8-Jun-10 3:33
rg.waw8-Jun-10 3:33 
AnswerNothing to do with C# Pin
Pete O'Hanlon8-Jun-10 3:44
mvePete O'Hanlon8-Jun-10 3:44 
Answerwrong forum Pin
Luc Pattyn8-Jun-10 4:48
sitebuilderLuc Pattyn8-Jun-10 4:48 
GeneralRe: wrong forum Pin
rg.waw8-Jun-10 20:37
rg.waw8-Jun-10 20:37 
GeneralRe: wrong forum Pin
Luc Pattyn9-Jun-10 1:22
sitebuilderLuc Pattyn9-Jun-10 1:22 
Questionmagnetic object Pin
Gepepet8-Jun-10 3:00
Gepepet8-Jun-10 3:00 
AnswerRe: magnetic object Pin
Not Active8-Jun-10 3:16
mentorNot Active8-Jun-10 3:16 
AnswerRe: magnetic object Pin
Johnny J.8-Jun-10 3:19
professionalJohnny J.8-Jun-10 3:19 
QuestionBing Maps AJAX control in Visual C# form application Pin
grmihel28-Jun-10 2:57
grmihel28-Jun-10 2:57 
AnswerRe: Bing Maps AJAX control in Visual C# form application Pin
jwiese_ms8-Jun-10 5:34
jwiese_ms8-Jun-10 5:34 
GeneralRe: Bing Maps AJAX control in Visual C# form application Pin
grmihel28-Jun-10 5:47
grmihel28-Jun-10 5:47 
QuestionInconsistent Marshalling size Pin
hairy_hats8-Jun-10 1:38
hairy_hats8-Jun-10 1:38 
AnswerRe: Inconsistent Marshalling size PinPopular
Luc Pattyn8-Jun-10 2:07
sitebuilderLuc Pattyn8-Jun-10 2:07 
GeneralRe: Inconsistent Marshalling size Pin
hairy_hats8-Jun-10 2:36
hairy_hats8-Jun-10 2:36 
GeneralRe: Inconsistent Marshalling size Pin
Luc Pattyn8-Jun-10 2:43
sitebuilderLuc Pattyn8-Jun-10 2:43 
GeneralRe: Inconsistent Marshalling size Pin
hairy_hats8-Jun-10 2:50
hairy_hats8-Jun-10 2:50 
QuestionProblem of controling a listview in another form Pin
imbiz8-Jun-10 1:30
imbiz8-Jun-10 1:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.