Comments (6)
hi, Teja
Try mgsam = mgvideosample(mg,[2,2]) without 'Sampling' to see if error again
from mgt.
Hi!
This time im getting this:
mgsam = mgvideosample(mg,[2,2]);
_sampling video_
Warning: No video frames were written to this file. The file may be invalid.
In VideoWriter/close (line 267)
In VideoWriter/delete (line 202)
In mgvideosample (line 19)
Undefined function or variable 'progmeter'.
Error in mgvideosample (line 42)
progmeter(i,numf);
from mgt.
I run it ok.But your question is important...
try to see if function progmeter is in you MGT. If not, add it
to see what's wrong, you can check if mg.video.obj.CurrentTime = 0, if not, set it 0. Try it again.
if still errors, try to run mgsam = mgvideosample(mg,[2,2],'newvideo.avi');
Please tell the results later
from mgt.
It could be something like if you reuse sampled mg to down sample it again without giving sampled video new name, matlab can not read videoframe from the sampled video, since the function by default initiate new vieo named samplevideo.avi again.
from mgt.
the problem seems to be with progmeter, as you said, although the progmeter
error comes only when i remove the 'sampling' argument from the function.
I tried to run passing the 'newvideo.aiv' also, but it didn't work, neither
with 'newvideo.avi'.
Tried setting current time to 0 also, it just seems to reset itself after i
run the function, and produces the same error. Is it a dependency problem
on some libraries? I'll try to look into it more as well.
On Mon, Jun 13, 2016 at 2:40 PM, benlyyan [email protected] wrote:
It could be something like if you reuse sampled mg to down sample it again
without giving sampled video new name, matlab can not read videoframe from
the sampled video, since the function by default initiate new vieo named
samplevideo.avi again.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#15 (comment), or mute
the thread
https://github.com/notifications/unsubscribe/ADOZjf8uX8t5jdaL4D0mvUJhxzYHJN_3ks5qLU_RgaJpZM4I0IE_
.
from mgt.
It should be nothing to do with progmeter. Other functions like mgvideocrop, mgvideoadjust, etc have progmeter called inside. You can simply run other functions(mgvideocrop) to see if progmeter has problem. I see that the problem is VideoWriter failing to write.
I will be IMV tomorrow, if you are free sometime, we can check it.
from mgt.
Related Issues (20)
- Audio loads as video HOT 1
- Problem reading folder
- Average video and average motion video HOT 2
- errors in Matlab 2016 HOT 3
- Weird counting from mgmotion HOT 1
- mgmotion: opticalflow fast than diff
- Invert and colours in mgmotion HOT 1
- Export opticalflow HOT 1
- bounding box HOT 1
- Threshold not working in mgmotion HOT 3
- function helpful info
- mgread for files outside search path HOT 2
- mgread type string case sensitive. HOT 1
- mgvideocrop - three issues HOT 1
- mgvideoadjust - column/row for contrast adjustment HOT 3
- MGT testing HOT 1
- updated function mgmotionhistory
- MIDI
- missing progmeter HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mgt.