From: Chris on
Thank you very much, but it does not seem to work...

This demo :

http://www.mathworks.com/products/viprocessing/demos.html?file=/products/demos/shipping/vipblks/videotrafficof.html#1

uses 'viptraffic.bin' as the video input, but it's not clear how it was converted from the original 'viptraffic.avi' which is included as well in

C:\Program Files\MATLAB\R2010a\toolbox\vipblks\vipdemos

.....In this way, I cannot use my own file in this demo...which is unbelievable!! :0
From: us on
"Chris " <chris_sar(a)hotmail.com> wrote in message <hrmrun$rea$1(a)fred.mathworks.com>...
> Thank you very much, but it does not seem to work...
>
> This demo :
>
> http://www.mathworks.com/products/viprocessing/demos.html?file=/products/demos/shipping/vipblks/videotrafficof.html#1
>
> uses 'viptraffic.bin' as the video input, but it's not clear how it was converted from the original 'viptraffic.avi' which is included as well in
>
> C:\Program Files\MATLAB\R2010a\toolbox\vipblks\vipdemos
>
> ....In this way, I cannot use my own file in this demo...which is unbelievable!! :0

well...
NOW you're (finally) being more specific...
it would have been helpful had you mentioned this tbx from the very beginning...

in the doc, look at the help for

video.BinaryFileReader
video.BinaryFileWriter

us
From: Chris on
I read it several times but I cannot use my own video (.avi) file in this demo...

But it should be done somehow...

I'm sorry but I cannot figure it out...

Thank you so much for your help.
From: Steven Lord on

"Chris " <chris_sar(a)hotmail.com> wrote in message
news:hrmrun$rea$1(a)fred.mathworks.com...
> Thank you very much, but it does not seem to work...
>
> This demo :
>
> http://www.mathworks.com/products/viprocessing/demos.html?file=/products/demos/shipping/vipblks/videotrafficof.html#1
>
> uses 'viptraffic.bin' as the video input, but it's not clear how it was
> converted from the original 'viptraffic.avi' which is included as well in
>
> C:\Program Files\MATLAB\R2010a\toolbox\vipblks\vipdemos
>
> ....In this way, I cannot use my own file in this demo...which is
> unbelievable!! :0

That demo should include some mention of how to format the file that it
reads in (or at least a link to that documentation.) Please contact
Technical Support and ask them for more information on how to convert your
file to that format. When you do so, ask them to enter an enhancement
request to include that information in the demo (either directly or via
hyperlink.)

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ


From: us on
"Steven Lord" <slord(a)mathworks.com> wrote in message <hrn0nn$ggg$1(a)fred.mathworks.com>...
>
> "Chris " <chris_sar(a)hotmail.com> wrote in message
> news:hrmrun$rea$1(a)fred.mathworks.com...
> > Thank you very much, but it does not seem to work...
> >
> > This demo :
> >
> > http://www.mathworks.com/products/viprocessing/demos.html?file=/products/demos/shipping/vipblks/videotrafficof.html#1
> >
> > uses 'viptraffic.bin' as the video input, but it's not clear how it was
> > converted from the original 'viptraffic.avi' which is included as well in
> >
> > C:\Program Files\MATLAB\R2010a\toolbox\vipblks\vipdemos
> >
> > ....In this way, I cannot use my own file in this demo...which is
> > unbelievable!! :0
>
> That demo should include some mention of how to format the file that it
> reads in (or at least a link to that documentation.) Please contact
> Technical Support and ask them for more information on how to convert your
> file to that format. When you do so, ask them to enter an enhancement
> request to include that information in the demo (either directly or via
> hyperlink.)
>
> --
> Steve Lord

steve
it's all there, eg, the writer...

http://www.mathworks.com/access/helpdesk/help/toolbox/vipblks/ref/video.binaryfilewriterclass.html

the OP simply needs to carefully look at the:
- videoformat
- fourcharactercode
tags and the accompanying web-address...

us