Using mencoder SVN-r36285-4.8.0 and mpeg_stat 2.2b it returns the following error when trying to convert any video to dpg:
ERROR ON MPEG_STAT
Improper or missing sequence end code.
File appears to be empty.
In order to solve this problem the argument passed to mencoder has to be changed, in the file Encoder.py, changing the lines 154, 178, 197 replacing every instance of "cbp" with "o=mpv_flags=+cbp_rd"
Anonymous
Thanks for reporting the issue and suggesting a correction. Will look more at this when back from vacation.
I tried the suggested new flags on WinXP with different mplayer versions:
When comparing video quality for a tiny video produced by svn-34401 there where no obvious differences so my main idea is to drop the flag and be compatible with all mplayer versions. But, I'd like to test on Fedora 19 too and also solve my issues with the latest mplayer before releasing any updates.
Seems like the change was done in mplayer r35963.
Dropped the cbp flag completely in svn113, released as 2.3.3 for both Windows and Fedora. Later mplayer/mencoder versions seemed to give weird return codes on Win7 and I added conditions to verify 100% encoded files to handle the crash with MPlayer-generic-r36349+gb24f15c.