[MEncoder-users] Problem with generating video from image files
Lobster
lobo at lobs.sytes.net
Sun Dec 18 06:45:19 CET 2011
On 18/12/2011 9:04 a.m., Torbjörn Rathsman wrote:
> I am trying to create a video file from a set of image file using the
> following command:
>
> mencoder mf://../frames/%d.png -mf fps=25 -o ../video/new-video.avi -ovc
> lavc -lavcopts
> vcodec=mpeg4:mbd=2:mv0:trell:v4mv:cbp:last_pred=3:predia=2:dia=2:vmax_b_fram
> es=2:vb_strategy=1:precmp=2:subcmp=2:preme=2:qns=2:vbitrate=30000000
>
> After it comes to a completly black frame it says
>
> "The selected video_out device is incompatible with this codec."
>
> and aborts without generating a valid video file. If I remove the black
> frame, everything works fine. How should I deal with this?
It sounds to me like that black frame has been created with different
colour settings
than the other frames, or some thing similar.
if I was you I would compare the colour depth and mode of the black png
compared
to the other ones, and then try to make the black png with the same
settings as the
other png's.
More information about the MEncoder-users
mailing list