std::exception while trying to write frame by VideoWriter.writeVideo
Ältere Kommentare anzeigen
Hello, I'm trying to write frames into video, in a loop, one frame at a time. By 3rd-5th frame, I'm getting an error:
Caught "std::exception" Exception message is:
bad numeric conversion: positive overflow
when executing simply
writeVideo(vo, img);
where vo is video object with some frames already successfully written and img is just MxNx3 uint8. I have tracked the error down through an audiovideo tollbox to toolbox/shared/asynciolib/+asyncio/OutputStream.m, line 183:
countWritten = obj.StreamImpl.write(packets);
so it looks like some bug in the OI library... any idea, what could be the problem?
P.S.: I'm running Matlab R2011a on Ubuntu.
3 Kommentare
Kaustubha Govind
am 12 Mär. 2012
Karel: If this is indeed a bug, MathWorks Tech Support may be best equipped to deal with this. Please consider contacting them.
Karel Lebeda
am 13 Okt. 2015
Walter Roberson
am 13 Okt. 2015
Thanks for the follow up!
Antworten (0)
Kategorien
Mehr zu Audio and Video Data finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!