Re: [Bug 94] New: ffmpegwriter crashes when writing divx
Sven Schnelle <[email protected]>
| Newsgroups | gmane.comp.video.gephex.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, Martin Bayer <[email protected]> writes: > > The real problem is that encstr contains "DIVX" after startup as > > default and not "DIVX High". And so ffmpegwriter::initEncoder can't > > find any entry in encmap. > there is this line in FFMpegWriter::initEncoder(): > > fmt = guess_format(encmap.find(encstr)->second.second.c_str(), NULL, > NULL); > > If encstr is not in the (enc)map the "find(encstr)" returns a > encstr.end(). Dereferencing this is not allowed. Yes. My Quickfix at the Moment is changing the spaces in "DIVX High" / "DIVX Low" / ..., to "-". But i will look at it and try to find where the text after space in the Default setting "DIVX High" is cutted off. Maybe we should also do some extra checking there. Sven.