File Exchange

image thumbnail

mpeg compression

version 1.0.0.0 (3.49 MB) by Zahid Ali
Mpeg compression

6 Downloads

Updated 07 Mar 2008

No License

this is the implementation of mpeg2 compression for doing streaming over internet (streaming over IP is not implemented yet) this code might be difficult to understand bcz very little comments have been made.
as you will run it video file will be produced.
some kind of noise appears i have no idea from where this noise is coming. i will be grateful if somebody can sort that out. code has only been implemented uptil quantization part.
news.avi might not get extracted
so here is what you can do
open main44.m
and replace the file name "news.avi" with whatever avi(matlab readable) you have got

Comments and Ratings (33)

wesam

thanks

javad haji

Hi
Sir when I load a RGB video it gives errors. Can i get code for RGB videos??

This is the error I am getting while simulating main44.m code

Undefined function or variable 'avifile'.

Error in main44 (line 7)
aviobj = avifile('2.avi','fps',25,'COMPRESSION','None');

Jiawei Xing

ts good but we cant run da file as their so input can plz upload this file can u plz mail me to rnk.790@gmail.com.

This is the error I'm getting when I run the code.

Error using blockproc>parse_inputs
(line 1034)
Invalid block function. BLOCKPROC
expects the user function, FUN, to
be a valid function handle.

Error in forwardDCT (line 4)
y = blkproc(Im,[8 8],'P1*x*P2',T,T');

Error in main44a (line 43)
JQ=forwardDCT(I1,array);

Chan

How to download?

ammu

Thank you sir for posting this.
I am using MatlabR2010A.When i run this i am geeting the following error

Error using ==> fscanf
Invalid file identifier. Use fopen to generate a valid file identifier.

Error in ==> main44 at 12
array=fscanf(fid,'%e',[8,inf]);

Thanks in advance

zhang

I want it

Manish

i try to unzip the file, but there is some problem with the news.avi file.
This is the comment from the unzip file :
"CRC failed in MPEG\news.avi. The File is Corrupt"
Why the file is corrupt?
I need this file to execute the program.
Thanks for u'r answer
Sir please send it to me soon it's urgent.
its.manish@yahoo.in
Thanks 4 ur contribution

THANKS FOR UR CONTRIBUTION

pavan kumar

sir, errors are coming in forwardDCT.m program.could u please repair that?thx..

pavan kumar

sir, i am unable to read any video errors are coming, please upload a video that will work for your program or anybody can help me about this issue.

David Yuwono

sir,i cant seem to run main44.m..there are errors in some lines in main44.m & forwardDCT.m..could u please repair that?thx..

Pengyu Wang

The news.avi is broken. Please send me too! I will be grateful!

Sankha Ray

i cant find any MATLAB readable avi file,
what does it meant by actually ???
Please send the corresponding file or link to download of "news.avi"

Sankha Ray

Cant read news.avi,
please send it urgently..

reeta ponmalar

i cannot read this file.pl.mail this program i need it urgently.thanks reeta

Fyan Patasik

i try to zip the file, but there is some problem with the news.avi file.
This is the comment from the unzip file :
"CRC failed in MPEG\news.avi. The File is Corrupt"
Why the file is corrupt?
I need this file to execute the program.
Thanks for u'r answer....

sivalanka sankari

its good but we cant run da file as their so input can plz upload thi file can u plz mail me to vijayasankari@gmail.com.

nadihah wahi

there's error while unzip. i tried to run but the sources file wasnt there. robust and news. that what it says.

muthu kumaran

pls upload this coding again.. its giving error while unzip.. or mail 2 muthu_cse85@yahoo.com

indra asri

Pada file format new.avi kok error ? bisa tidak minta back up file new.avi tersebut.

indra asri

saya ingin mencari bahan mengenai kompresi video yang menggunakan teknik MPEG, Bisa bapak memberiakan informasi atau referensinya. Sebelumnya saya ucapkan terima kasih atas perhatiannya.

DO Quoc Bao

mina gerges

good

shivsharan s

bvery poor

Vikrant Puri

ravi sathianathan

Reshma shaikh shaikh

a/w

mof nourftr

Updates

1.0.0.0

some people have claimed that they cannot extract news.avi therefore i have added little guide for them

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: Block Matching Algorithms for Motion Estimation