Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#1770 closed defect (invalid)

Some videos result in 'Movie-Aspect is -nan:1' and don't play

Reported by: smunton.lists@… Owned by: reimar
Priority: normal Component: vd
Version: unspecified Severity: normal
Keywords: Cc: superandrzej@…
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

Trying to play: http://download.blender.org/apricot/live_bge_edit.ogv
results in the message: 'Movie-Aspect is -nan:1' and it doesn't play.

This video has its aspect ratio numerator and denominator set to zero, and the problem seems to be in the function init_vo() in libmpcodecs/vd_ffmpeg.c where aspect is calculated without checking that the denominator of sample_aspect_ratio is non zero. If aspect is set to zero when the denominator is zero, file plays OK.

Output from mplayer -v attached.

Attachments (1)

mplayer.log (33.3 KB ) - added by smunton.lists@… 14 years ago.
Output from mplayer -v

Download all attachments as: .zip

Change History (5)

by smunton.lists@…, 14 years ago

Attachment: mplayer.log added

Output from mplayer -v

comment:1 by smunton.lists@…, 14 years ago

comment:2 by reimar, 14 years ago

Resolution: invalid
Status: newclosed

0/0 is not a valid sample aspect, libavcodec is broken here, thus this is not a valid MPlayer bug.
Patch pending on ffmpeg-devel.

comment:3 by reimar, 14 years ago

Fixed in FFmpeg SVN r25050.

comment:4 by reimar, 14 years ago

Cc: superandrzej@… added
Note: See TracTickets for help on using tickets.