Click here to Skip to main content
15,891,976 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: SendMessageCallback() - what is execution context of callback function Pin
Derell Licht8-May-14 5:02
professionalDerell Licht8-May-14 5:02 
QuestionCompiling C and C++ files together Pin
AmbiguousName7-May-14 6:59
AmbiguousName7-May-14 6:59 
AnswerRe: Compiling C and C++ files together Pin
Richard MacCutchan7-May-14 7:15
mveRichard MacCutchan7-May-14 7:15 
AnswerRe: Compiling C and C++ files together Pin
leon de boer15-May-14 4:44
leon de boer15-May-14 4:44 
QuestionWSACleanup delays when called how can I get around this? Pin
Member 43367557-May-14 6:18
Member 43367557-May-14 6:18 
AnswerRe: WSACleanup delays when called how can I get around this? Pin
Gisle Vanem8-May-14 23:30
Gisle Vanem8-May-14 23:30 
GeneralRe: WSACleanup delays when called how can I get around this? Pin
Member 433675510-May-14 5:50
Member 433675510-May-14 5:50 
QuestionMCI QUESTION!!! Is it different file extension name and codec? Pin
AmissU6-May-14 21:00
AmissU6-May-14 21:00 
Hello.
I'm trouble in MCI T-T

this is my video spec.
CSS
General
Complete name                            : C:\Users\Administrator\Desktop\abdd\abc.avi
Format                                   : AVI
Format/Info                              : Audio Video Interleave
File size                                : 5.66 MiB
Duration                                 : 1mn 22s
Overall bit rate                         : 577 Kbps
Writing application                      : Lavf53.32.100

Video
ID                                       : 0
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Baseline@L3.0
Format settings, CABAC                   : No
Format settings, ReFrames                : 1 frame
Format settings, GOP                     : M=1, N=3
Codec ID                                 : H264
Duration                                 : 1mn 22s
Bit rate                                 : 575 Kbps
Width                                    : 320 pixels
Height                                   : 240 pixels
Display aspect ratio                     : 4:3
Frame rate                               : 12.000 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.623
Stream size                              : 5.63 MiB (100%)



when I open this video.
originally my code is...
C++
MCI_ANIM_OPEN_PARMS *mciOpen = new MCI_ANIM_OPEN_PARMS;
mciOpen->lpstrDeviceType = _T("AVIVideo"); //장치 타입 설정

but It doesn't work.
This file extension name is .avi.
so I thought this lpstrDevicetype is also Avi.
but It has matter.

so now my changed code is...
C++
MCI_ANIM_OPEN_PARMS *mciOpen = new MCI_ANIM_OPEN_PARMS;
mciOpen->lpstrDeviceType = _T("MPEGVideo");

It work!!!

1. Is it different file extension name and codec(for lpstrDeviceType) ?
2. I think my codec is lavf53.32.100 in ffmpeg, doesn't it?
so how to put code lpstrDeviceType ? MPEGVideo2, MPEGVideo4, MPEGVideo, FFMPEG??
I can't choose the lpstrDeviceType.

help me plz!
QuestionCompiling VLC in Visual Studio 2013 Pin
Django_Untaken5-May-14 5:32
Django_Untaken5-May-14 5:32 
AnswerRe: Compiling VLC in Visual Studio 2013 Pin
leon de boer5-May-14 7:10
leon de boer5-May-14 7:10 
AnswerRe: Compiling VLC in Visual Studio 2013 Pin
Richard MacCutchan5-May-14 20:18
mveRichard MacCutchan5-May-14 20:18 
Questiongood algorithm to determine if there are overlapping in multiple rectangles Pin
Falconapollo3-May-14 19:46
Falconapollo3-May-14 19:46 
AnswerRe: good algorithm to determine if there are overlapping in multiple rectangles Pin
Software_Developer3-May-14 20:52
Software_Developer3-May-14 20:52 
AnswerRe: good algorithm to determine if there are overlapping in multiple rectangles Pin
CPallini4-May-14 23:09
mveCPallini4-May-14 23:09 
GeneralRe: good algorithm to determine if there are overlapping in multiple rectangles Pin
leon de boer5-May-14 2:29
leon de boer5-May-14 2:29 
QuestionTo fix the first column of CListView grid type control in MFC Pin
sma123#2-May-14 7:35
sma123#2-May-14 7:35 
QuestionRe: To fix the first column of CListView grid type control in MFC Pin
David Crow5-May-14 7:04
David Crow5-May-14 7:04 
AnswerRe: To fix the first column of CListView grid type control in MFC Pin
sma123#6-May-14 1:42
sma123#6-May-14 1:42 
SuggestionRe: To fix the first column of CListView grid type control in MFC Pin
David Crow6-May-14 5:08
David Crow6-May-14 5:08 
AnswerRe: To fix the first column of CListView grid type control in MFC Pin
Richard MacCutchan5-May-14 20:23
mveRichard MacCutchan5-May-14 20:23 
QuestionHow to get cursor position in status bar? Pin
Vladislav Gospodinov2-May-14 2:36
Vladislav Gospodinov2-May-14 2:36 
QuestionRe: How to get cursor position in status bar? Pin
David Crow2-May-14 2:50
David Crow2-May-14 2:50 
AnswerRe: How to get cursor position in status bar? Pin
Vladislav Gospodinov2-May-14 3:24
Vladislav Gospodinov2-May-14 3:24 
QuestionRe: How to get cursor position in status bar? Pin
jeron12-May-14 4:20
jeron12-May-14 4:20 
AnswerRe: How to get cursor position in status bar? Pin
Vladislav Gospodinov2-May-14 5:08
Vladislav Gospodinov2-May-14 5:08 

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.