Need a AVC/H.264 Video Decoder
-
Hi to all, Please suggest me a good 'AVC/H.264 Video Decoder", having 'Quarter Resolution' property. Thanks & Regards, Aniket A. Salunkhe
libavcodec http://ffmpeg.mplayerhq.hu/index.html[^] ?
-
libavcodec http://ffmpeg.mplayerhq.hu/index.html[^] ?
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,
VideoInfoHeader hdr = new VideoInfoHeader(); hdr.BmiHeader = new BitmapInfoHeader(); hdr.BmiHeader.Compression = 0x68323634; vid_media.majorType = MediaType.Video; vid_media.subType = ExtraFunctions.MediaSubTypeH264; vid_media.formatType = FormatType.Mpeg2Video; vid_media.fixedSizeSamples = false; vid_media.temporalCompression = false; vid_media.sampleSize = 0; vid_media.formatSize = Marshal.SizeOf(hdr); vid_media.formatPtr = Marshal.AllocCoTaskMem(vid_media.formatSize); 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:
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
-
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,
VideoInfoHeader hdr = new VideoInfoHeader(); hdr.BmiHeader = new BitmapInfoHeader(); hdr.BmiHeader.Compression = 0x68323634; vid_media.majorType = MediaType.Video; vid_media.subType = ExtraFunctions.MediaSubTypeH264; vid_media.formatType = FormatType.Mpeg2Video; vid_media.fixedSizeSamples = false; vid_media.temporalCompression = false; vid_media.sampleSize = 0; vid_media.formatSize = Marshal.SizeOf(hdr); vid_media.formatPtr = Marshal.AllocCoTaskMem(vid_media.formatSize); 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:
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
-
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,
VideoInfoHeader hdr = new VideoInfoHeader(); hdr.BmiHeader = new BitmapInfoHeader(); hdr.BmiHeader.Compression = 0x68323634; vid_media.majorType = MediaType.Video; vid_media.subType = ExtraFunctions.MediaSubTypeH264; vid_media.formatType = FormatType.Mpeg2Video; vid_media.fixedSizeSamples = false; vid_media.temporalCompression = false; vid_media.sampleSize = 0; vid_media.formatSize = Marshal.SizeOf(hdr); vid_media.formatPtr = Marshal.AllocCoTaskMem(vid_media.formatSize); 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:
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
Aniket Salunkhe wrote:
How can I use libavcodec?
I don't know, you have to get famliar with the API. I just know that many video tools use this library because it's open source and works apparently pretty well.
-
Aniket Salunkhe wrote:
How can I use libavcodec?
I don't know, you have to get famliar with the API. I just know that many video tools use this library because it's open source and works apparently pretty well.
Hi, I think I am missing some thing while creating H.264 video output pin to "MPEG-2 Demultiplexer". Because that pin is not connecting to most of the H264/AVC Video Decoder. Please guide me to create video output pin (for H.264) to "MPEG-2 Demultiplexer". Actually I want to render multiple multicast sources which are in H.264 format. Thanks & Regards, Aniket A. Salunkhe