Digital Video Forums  

Go Back   Digital Video Forums > Video File Formats > MP4, MKV, MPEG-4 AVC (H.264)

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 3 Feb 2012, 04:54 AM   #1
Junior Member
Junior Member
 
Join Date: Feb 2012
Posts: 6
Default 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.
skyjuice is offline   Reply With Quote
Old 3 Feb 2012, 10:11 AM   #2
Eclectician
 
MilesAhead's Avatar
 
Join Date: Nov 2006
Posts: 2,615
Default

VideoLAN - x264, the best H.264/AVC encoder
MilesAhead is offline   Reply With Quote
Old 6 Feb 2012, 05:06 AM   #3
Junior Member
Junior Member
 
Join Date: Feb 2012
Posts: 6
Default

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?
skyjuice is offline   Reply With Quote
Old 6 Feb 2012, 07:49 AM   #4
Eclectician
 
MilesAhead's Avatar
 
Join Date: Nov 2006
Posts: 2,615
Default

Try cutting out a clip using AviDemux, tsMuxer or mkvextract/mkvmerge depending on the source.
MilesAhead is offline   Reply With Quote
Old 8 Feb 2012, 04:43 AM   #5
Junior Member
Junior Member
 
Join Date: Feb 2012
Posts: 6
Default

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?
skyjuice is offline   Reply With Quote
Old 9 Feb 2012, 08:39 AM   #6
Eclectician
 
MilesAhead's Avatar
 
Join Date: Nov 2006
Posts: 2,615
Default

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

http://forum.digital-digest.com/f114...ned-67180.html
MilesAhead is offline   Reply With Quote
Old 17 Feb 2012, 04:57 AM   #7
Junior Member
Junior Member
 
Join Date: Feb 2012
Posts: 3
Default 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
asifjanjua88 is offline   Reply With Quote
Old 24 Feb 2012, 01:07 AM   #8
Junior Member
Junior Member
 
Join Date: Feb 2012
Posts: 6
Default

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?
skyjuice is offline   Reply With Quote
Old 24 Feb 2012, 02:14 AM   #9
Junior Member
Junior Member
 
Join Date: Feb 2012
Posts: 2
Default

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
evansdam is offline   Reply With Quote
Old 26 Feb 2012, 03:57 AM   #10
Junior Member
Junior Member
 
Join Date: Feb 2012
Posts: 6
Default

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?
skyjuice is offline   Reply With Quote
Old 27 Feb 2012, 12:25 AM   #11
Junior Member
Junior Member
 
Join Date: Feb 2012
Posts: 2
Default

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
evansdam is offline   Reply With Quote
Old 27 Feb 2012, 02:58 AM   #12
Junior Member
Junior Member
 
Join Date: Feb 2012
Posts: 6
Default

@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?
skyjuice is offline   Reply With Quote
Old 1 Mar 2012, 08:46 PM   #13
Junior Member
Junior Member
 
Join Date: Feb 2012
Posts: 3
Default

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.
asifjanjua88 is offline   Reply With Quote
Old 6 Dec 2012, 12:05 AM   #14
Junior Member
Junior Member
 
Join Date: Dec 2012
Posts: 2
Default 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
swati_pak2003 is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
source code for MPEG-4 coders ashishmeena Other File Formats 0 27 Dec 2004 12:54 PM



All times are GMT +10. The time now is 07:57 AM.

Kirsch designed by Andrew & Austin


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright © 1999 - 2018 Digital Digest

Visit DivXLand   Visit dvdloc8.com