[MEncoder-users] ID_VIDEO_ASPECT=0.0000 with mplayer -identify

Ivo ivop at euronet.nl
Fri Oct 6 23:31:25 CEST 2006


On Friday 06 October 2006 21:00, Ermanno wrote:
> I already posted this to the mplayer-dvb ml but this seems the rigth
> place to ask for this problem.
> I am a user of vdr a nice program to turn the pc into a video-recorder,
> it creates .vdr files from a dvb card (probably simply saves to a file
> what the card generates), to trasform this files to avi I use the vdrrip
> plugin which in turn uses mplayer to do the job. The problem is that the
> latest versions of mplayer always returns ID_VIDEO_ASPECT=0.0000 for the
> files generated by vdr and the plugin relies on this value to compute
> the correct resize values. Most channels are 4:3 so a with quick&dirty

For some files, the correct(ed) aspect ratio of the frames is somehow not 
known before at least one frame has been decoded. mplayer -identify -frames 
1 -ao null -vo null will yield the correct aspect ratio. Note that 
ID_VIDEO_ASPECT is printed twice in that case.

--Ivo



More information about the MEncoder-users mailing list