Convert and play on the fly(ffmpeg producer)

I have a video ( video.mpg) that plays and stops midway with the command play 1-0 video.mpg, but when I convert it with the command ffmpeg -i video.mpg video.mp4 , and the plays video.mp4 with command play 1-0 video.mp4, it plays to the end. So the question is, is there a way to play video.mpg specifying some filters for it to play like video.mp4 without first doing the manual convention?

This shouldn’t happen and suggests a bug either in the version of ffmpeg that casparcg is using, or in the code that integrates the two.
If you are able to share a sample file which demonstrates the issue, then raise an issue on github and hopefully ronag will be able to look into it