Click here to Skip to main content
15,888,984 members
Home / Discussions / C#
   

C#

 
GeneralRe: Grid View Column Pin
Dave Kreskowiak24-Jul-13 3:49
mveDave Kreskowiak24-Jul-13 3:49 
AnswerRe: Grid View Column Pin
phani raavi25-Jul-13 3:25
phani raavi25-Jul-13 3:25 
QuestionFPS convertor Pin
_Q12_23-Jul-13 9:13
_Q12_23-Jul-13 9:13 
AnswerRe: FPS convertor Pin
walterhevedeich23-Jul-13 17:37
professionalwalterhevedeich23-Jul-13 17:37 
GeneralRe: FPS convertor Pin
_Q12_23-Jul-13 18:51
_Q12_23-Jul-13 18:51 
GeneralRe: FPS convertor Pin
walterhevedeich23-Jul-13 20:23
professionalwalterhevedeich23-Jul-13 20:23 
GeneralRe: FPS convertor Pin
harold aptroot24-Jul-13 0:13
harold aptroot24-Jul-13 0:13 
GeneralRe: FPS convertor Pin
_Q12_25-Jul-13 6:27
_Q12_25-Jul-13 6:27 
Extraordinary explanation Harold ! Well done.
But if I have to set that time, not knowing the initial time (i will test some predefined values) but if i am not so lucky in finding that value, how I can proceed?
C#
ex of testing pseudocode :
inputTime=? outputTime=23.976 (i check movie properties); 
if inputTime = 30, outputting to 23.976 will have the desired effect? 
no? 
then, if inputTime = 25, outputting to 23.976 will have the desired effect?
no?
then, if inputTime = 23, ...etc

This i will do manually from a list of defaults (30,25,23,etc) -Or writing it myself in a textbox whatever value i feel is right - but orbiting the default values.

My question is:
if I will have 0 for inputTime, How I will do the math then?
Your solution is: t=t*outputTime/inputTime;
if inputTime >0, t will have some specific duration.
if inputTime = 0 (I don't know what encoding can have that subtitle), t =0 and all my sub time will be 0. Subtitle file ruined.
I must make my program to guess the subtitle encoding (Its FPS encoded time) ?
Or go on manually set the inputTime? (from list of defaults and/or textbox with custom values)
Thank you!
~q12~

modified 25-Jul-13 13:17pm.

GeneralRe: FPS convertor Pin
harold aptroot25-Jul-13 7:04
harold aptroot25-Jul-13 7:04 
GeneralRe: FPS convertor Pin
_Q12_25-Jul-13 7:21
_Q12_25-Jul-13 7:21 
QuestionHow to authorize user by form authentication in mvc 4 Pin
nitin_ion23-Jul-13 2:35
nitin_ion23-Jul-13 2:35 
AnswerRe: How to authorize user by form authentication in mvc 4 Pin
Keith Barrow23-Jul-13 6:29
professionalKeith Barrow23-Jul-13 6:29 
QuestionGet string in a function using Socket server Pin
CodingHell22-Jul-13 21:02
CodingHell22-Jul-13 21:02 
AnswerRe: Get string in a function using Socket server Pin
Richard MacCutchan22-Jul-13 21:09
mveRichard MacCutchan22-Jul-13 21:09 
GeneralRe: Get string in a function using Socket server Pin
CodingHell22-Jul-13 21:18
CodingHell22-Jul-13 21:18 
AnswerRe: Get string in a function using Socket server Pin
Richard MacCutchan22-Jul-13 23:39
mveRichard MacCutchan22-Jul-13 23:39 
AnswerRe: Get string in a function using Socket server Pin
lukeer22-Jul-13 23:39
lukeer22-Jul-13 23:39 
QuestionApplication Settings Pin
Midnight Ahri22-Jul-13 18:31
Midnight Ahri22-Jul-13 18:31 
QuestionRe: Application Settings Pin
Kenneth Haugland22-Jul-13 22:48
mvaKenneth Haugland22-Jul-13 22:48 
AnswerRe: Application Settings Pin
Midnight Ahri22-Jul-13 23:40
Midnight Ahri22-Jul-13 23:40 
AnswerRe: Application Settings Pin
lukeer22-Jul-13 23:09
lukeer22-Jul-13 23:09 
AnswerRe: Application Settings Pin
Midnight Ahri22-Jul-13 23:47
Midnight Ahri22-Jul-13 23:47 
GeneralRe: Application Settings Pin
Eddy Vluggen23-Jul-13 0:29
professionalEddy Vluggen23-Jul-13 0:29 
QuestionResponsive UI - WPF with Properties Pin
SynergiAios22-Jul-13 15:09
SynergiAios22-Jul-13 15:09 
AnswerRe: Responsive UI - WPF with Properties Pin
Dave Kreskowiak22-Jul-13 16:32
mveDave Kreskowiak22-Jul-13 16:32 

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.