Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Need a AVC/H.264 Video Decoder

Need a AVC/H.264 Video Decoder

Scheduled Pinned Locked Moved C / C++ / MFC
6 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Andy Rama
    wrote on last edited by
    #1

    Hi to all, Please suggest me a good 'AVC/H.264 Video Decoder", having 'Quarter Resolution' property. Thanks & Regards, Aniket A. Salunkhe

    M 1 Reply Last reply
    0
    • A Andy Rama

      Hi to all, Please suggest me a good 'AVC/H.264 Video Decoder", having 'Quarter Resolution' property. Thanks & Regards, Aniket A. Salunkhe

      M Offline
      M Offline
      Michael Schubert
      wrote on last edited by
      #2

      libavcodec http://ffmpeg.mplayerhq.hu/index.html[^] ?

      A 1 Reply Last reply
      0
      • M Michael Schubert

        libavcodec http://ffmpeg.mplayerhq.hu/index.html[^] ?

        A Offline
        A Offline
        Andy Rama
        wrote on last edited by
        #3

        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:

        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

        A M 2 Replies Last reply
        0
        • A Andy Rama

          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:

          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

          A Offline
          A Offline
          Andy Rama
          wrote on last edited by
          #4

          Guid H264SubType = new Guid("8D2D71CB-243F-45E3-B2D8-5FD7967EC09B");

          1 Reply Last reply
          0
          • A Andy Rama

            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:

            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

            M Offline
            M Offline
            Michael Schubert
            wrote on last edited by
            #5

            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.

            A 1 Reply Last reply
            0
            • M Michael Schubert

              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.

              A Offline
              A Offline
              Andy Rama
              wrote on last edited by
              #6

              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

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups