H.264 Source Code in C

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • skyjuice
    Junior Member
    Junior Member
    • Feb 2012
    • 6

    H.264 Source Code in C

    Goodday all forummers,

    I have recently been assigned to a university project where the objectives are to reduce blocking distortions/artifacts by using MPEG-4/H.264 standard. As I have zero knowledge in this field, this project is completely new to me. Anyway, in this project I would have to:

    1) Compare the performance (artifacts) of DCT and DWT.
    2) Incorporate deblocking filter to smooth out the artifacts.

    As a start, I've tried looking for a H.264 source code in C (a simple one would do) but I couldnt find one. I'd really appreciate if someone could give me some guidance on where it could be found and how do I 'inject' some videos to the program and run it.

    Thank you so much.
  • MilesAhead
    Eclectician
    • Nov 2006
    • 2615

    #2
    VideoLAN - x264, the best H.264/AVC encoder

    Comment

    • skyjuice
      Junior Member
      Junior Member
      • Feb 2012
      • 6

      #3
      Thanks for the code. Any idea how I can put in a portion of a video and run it to see how the code works?

      Comment

      • MilesAhead
        Eclectician
        • Nov 2006
        • 2615

        #4
        Try cutting out a clip using AviDemux, tsMuxer or mkvextract/mkvmerge depending on the source.

        Comment

        • skyjuice
          Junior Member
          Junior Member
          • Feb 2012
          • 6

          #5
          I will be using Microsoft Visual C++ 2008 Express to run the code. However, I'm stuck at the very beginning stage on how to run the code itself. I'm sorry for the question but I'm really new to this. Do you mind elaborating more on how I should run the code and how do I 'place' a video inside?

          Comment

          • MilesAhead
            Eclectician
            • Nov 2006
            • 2615

            #6
            I've always used Gui front ends that generate the command line. But this article may be helpful:

            Comment

            • asifjanjua88
              Junior Member
              Junior Member
              • Feb 2012
              • 3

              #7
              h.264

              hi sky i m also searching the h.264 source code and my project is compress real time video using h.264 but facing same problem which face u and during my searching i found very helpful site which is given below and if u succeeded to run a source code then also help me and plz send me source code of h.264

              Comment

              • skyjuice
                Junior Member
                Junior Member
                • Feb 2012
                • 6

                #8
                Hi asifjanjua88, I found a few codes but still face difficulties compiling and running them. Do you have YM or MSN so that it will be easier for us to communicate?

                Comment

                • evansdam
                  Junior Member
                  Junior Member
                  • Feb 2012
                  • 2

                  #9
                  Dear everybody,

                  Currently, i have project related to Motion estimation algorithm. And I want to use JM reference software to simulate this algorithm.
                  Although i have read H.264/AVC REFERENCE SOFTWARE MANUAL to install it but i couldn't (my Os is window). Beside I try to to compile x264 on 32 & 64 Bit Windows but it had a error when i install MSYS " oh joy, you do not have c:mingw/bin/make.exe. keep it that way"

                  - anybody can help me solve this error.
                  - i dont know how to use JM reference softwar to simulate Motion estimation algorithm...Could you give me a guidance clearly ?

                  @skyjuice, @asifjanjua88 : it seem that we have the same problem.
                  ( how to inject some videos to the program and run it)
                  my yh is dmt1987dn. I would like to talk about issue.
                  thanks

                  Comment

                  • skyjuice
                    Junior Member
                    Junior Member
                    • Feb 2012
                    • 6

                    #10
                    I have decided to use Ubuntu 11.10 andfollowed steps 1-3 given in this website ubuntuforums.org/showthread.php?t=786095. Everything went smoothly without any problem but how do I insert a video into this code to see its output?

                    Comment

                    • evansdam
                      Junior Member
                      Junior Member
                      • Feb 2012
                      • 2

                      #11
                      I am very confused about my problem. Anybody can help me to solve it.
                      @Skyjuice : My yahoo is dmt1987dn. Would you give me some guidance about that.
                      Thanks

                      Comment

                      • skyjuice
                        Junior Member
                        Junior Member
                        • Feb 2012
                        • 6

                        #12
                        @evansdam, I have already added you into YM or you can confirm me at !wingyew8
                        Anyway, what video should I test with this code? Raw video of what format?

                        Comment

                        • asifjanjua88
                          Junior Member
                          Junior Member
                          • Feb 2012
                          • 3

                          #13
                          hi guys
                          i found h.264 refrence software jm. and i succeeded to encode and decode the video using jm. jm is open source h.264 encoder and decoder.plz contect me my mail id is
                          khurram188 on gmail.

                          Comment

                          • swati_pak2003
                            Junior Member
                            Junior Member
                            • Dec 2012
                            • 2

                            #14
                            Re: Looking for H.264 Source Code in matlab

                            hi every one. can any one have the h.264 code in matlab.
                            swati_pak2003 in yahoo

                            Comment

                            Working...