[mythtv] nuvexport incorrectly setting aspect ratio for dvb-t recordings
James Fidell
james at fidell.co.uk
Fri Aug 3 09:50:44 UTC 2007
nuvexport appears to be using the following command to get the aspect
ratio for transcoding my dvb-t recordings:
mplayer -v -v -v -v -nolirc -nojoystick -vo null -ao null -frames 0
-identify <filename>
With both the mplayer-1.0-60_r23482.el5 package from ATrpms and the
mplayer-1.0-0.80.20070715svn.lvn7 package from the livna repository
I end up with the default aspect ratio (4:3) because these always
report an aspect ratio of 0, eg:
$ mplayer -v -v -v -v -nolirc -nojoystick -vo null -ao null -frames 0
-identify 3071_20070803075200.mpg | fgrep ID_VIDEO_ASPECT
ID_VIDEO_ASPECT=0.0000
This behaviour seems quite consistent across all 50-odd recordings I
currently have.
Changing the number of frames in the command line to 1 yields a
different result:
$ mplayer -v -v -v -v -nolirc -nojoystick -vo null -ao null -frames 1
-identify 3071_20070803075200.mpg | fgrep ID_VIDEO_ASPECT
ID_VIDEO_ASPECT=0.0000
ID_VIDEO_ASPECT=1.7778
and nuvexport now correctly identifies such recordings as having a 16:9
aspect ratio.
I don't know if this is a valid fix, or applies only to dvb or dvb-t
recordings though.
James
More information about the mythtv-dev
mailing list