Click here to Skip to main content
15,884,836 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Good ol static member inits Pin
Eytukan22-Mar-09 18:01
Eytukan22-Mar-09 18:01 
GeneralRe: Good ol static member inits Pin
cmk22-Mar-09 20:35
cmk22-Mar-09 20:35 
GeneralRe: Good ol static member inits Pin
Eytukan23-Mar-09 2:29
Eytukan23-Mar-09 2:29 
AnswerRe: Good ol static member inits Pin
Niklas L23-Mar-09 1:55
Niklas L23-Mar-09 1:55 
GeneralRe: Good ol static member inits Pin
Eytukan23-Mar-09 2:35
Eytukan23-Mar-09 2:35 
QuestionNeed a AVC/H.264 Video Decoder Pin
Andy Rama21-Mar-09 21:10
Andy Rama21-Mar-09 21:10 
AnswerRe: Need a AVC/H.264 Video Decoder Pin
Michael Schubert22-Mar-09 1:20
Michael Schubert22-Mar-09 1:20 
GeneralRe: Need a AVC/H.264 Video Decoder Pin
Andy Rama22-Mar-09 20:26
Andy Rama22-Mar-09 20:26 
Hi,

I am creating a filtergraph in DirectShow (windows).
How can I use libavcodec in my case?

Simulated filter graph is,
"MPEG-2 Multicast Receiver" --> "MPEG-2 Demultiplexer" --> "Video Decoder" --> "Video Renderer"
It is receiving H264 ASI Stream.

I am creating an output video pin 'v1' to "MPEG-2 Demultiplexer" with following settings,
<br />
VideoInfoHeader hdr = new VideoInfoHeader();<br />
hdr.BmiHeader = new BitmapInfoHeader();<br />
hdr.BmiHeader.Compression = 0x68323634;<br />
<br />
vid_media.majorType = MediaType.Video;<br />
vid_media.subType = ExtraFunctions.MediaSubTypeH264;<br />
vid_media.formatType = FormatType.Mpeg2Video;<br />
vid_media.fixedSizeSamples = false;<br />
vid_media.temporalCompression = false;<br />
vid_media.sampleSize = 0;<br />
vid_media.formatSize = Marshal.SizeOf(hdr);<br />
vid_media.formatPtr = Marshal.AllocCoTaskMem(vid_media.formatSize);<br />
Marshal.StructureToPtr(hdr, vid_media.formatPtr, false);


Pin 'v1' is not connecting to "ffdshow Video Decoder". I can connect pin 'v1' to "MainConecpt AVC/H.264 Video Decoder". "MainConecpt AVC/H.264 Video Decoder" is not having resolution setting, which I want to set as 'Quarter'.


Michael Schubert wrote:
http://ffmpeg.mplayerhq.hu/index.html[^] ?


How can I use libavcodec?
Is there any onther video decoder?
Is there any thing wrong in video output settings?

Thanks & Regards,
Aniket A. Salunkhe
GeneralRe: Need a AVC/H.264 Video Decoder Pin
Andy Rama22-Mar-09 20:50
Andy Rama22-Mar-09 20:50 
GeneralRe: Need a AVC/H.264 Video Decoder Pin
Michael Schubert22-Mar-09 21:14
Michael Schubert22-Mar-09 21:14 
QuestionRe: Need a AVC/H.264 Video Decoder Pin
Andy Rama23-Mar-09 3:33
Andy Rama23-Mar-09 3:33 
QuestionA default MFC project don't use /Yc compiler option, how does it work? [modified] Pin
followait21-Mar-09 16:33
followait21-Mar-09 16:33 
AnswerRe: A default MFC project don't use /Yc compiler option, how does it work? Pin
Stuart Dootson23-Mar-09 0:39
professionalStuart Dootson23-Mar-09 0:39 
QuestionTimer or For Loop Help. Pin
FISH78621-Mar-09 13:36
FISH78621-Mar-09 13:36 
AnswerRe: Timer or For Loop Help. Pin
Code-o-mat21-Mar-09 23:42
Code-o-mat21-Mar-09 23:42 
GeneralRe: Timer or For Loop Help. Pin
FISH78622-Mar-09 0:23
FISH78622-Mar-09 0:23 
GeneralRe: Timer or For Loop Help. Pin
Code-o-mat22-Mar-09 0:50
Code-o-mat22-Mar-09 0:50 
GeneralRe: Timer or For Loop Help. Pin
FISH78622-Mar-09 1:45
FISH78622-Mar-09 1:45 
GeneralRe: Timer or For Loop Help. Pin
Code-o-mat22-Mar-09 7:33
Code-o-mat22-Mar-09 7:33 
GeneralRe: Timer or For Loop Help. Pin
FISH78622-Mar-09 7:55
FISH78622-Mar-09 7:55 
GeneralRe: Timer or For Loop Help. Pin
Code-o-mat22-Mar-09 8:19
Code-o-mat22-Mar-09 8:19 
GeneralRe: Timer or For Loop Help. Pin
FISH78622-Mar-09 8:30
FISH78622-Mar-09 8:30 
GeneralRe: Timer or For Loop Help. Pin
FISH78622-Mar-09 10:28
FISH78622-Mar-09 10:28 
Questionhow to use in-place editing Pin
jiaweicz21-Mar-09 11:01
jiaweicz21-Mar-09 11:01 
AnswerRe: how to use in-place editing Pin
Yusuf21-Mar-09 13:02
Yusuf21-Mar-09 13:02 

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.