Prev: help needed to solve nonlinear decoupled matrix equations using fsolve.
Next: remove backgroud using global threshold
From: Chris on 2 May 2010 12:13 Hello!! :) :) Do you know how to convert .avi file to .bin (binary) file? I want to use it in a method "Tracking Cars Using Optical Flow". Thaank you :) :)
From: us on 2 May 2010 16:33 "Chris " <chris_sar(a)hotmail.com> wrote in message <hrk8ag$f3a$1(a)fred.mathworks.com>... > Hello!! :) :) > > Do you know how to convert .avi file to .bin (binary) file? > > I want to use it in a method "Tracking Cars Using Optical Flow". > > Thaank you :) :) one of the solutions - a very brief example fnam='your.avi'; ao=mmreader(fnam); frm=read(ao); imagesc(frm(:,:,:,1)); axis image; % now, you can save each FRM as a binary into another file... us
From: Chris on 3 May 2010 01:55 Hellooo!! :) :) Thank you very much!! Now I can separate the .avi to its image frames.. But how can I make a final .bin file (equal to the initial .avi file) ??
From: Chris on 3 May 2010 01:56 Hellooo!! :) :) Thank you very much!! Now I can separate the .avi to its image frames.. But how can I make a final .bin file (equal to the initial .avi file) ??
From: Steven Lord on 3 May 2010 09:48
"Chris " <chris_sar(a)hotmail.com> wrote in message news:hrk8ag$f3a$1(a)fred.mathworks.com... > Hello!! :) :) > > Do you know how to convert .avi file to .bin (binary) file? > > I want to use it in a method "Tracking Cars Using Optical Flow". > > Thaank you :) :) Well, since as far as I know .bin is not a standard format, I define it to be exactly the same as the AVI format to make the solution easy. movefile('myfile.avi', 'myfile.bin') If you have a specific format in mind when you say ".bin (binary) file", then you will need to obtain and/or write the functions to write data to and read data from files in that specific format. -- Steve Lord slord(a)mathworks.com comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ |