Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Dec 2006 19:32:34 -0500
From:      "Tsu-Fan Cheng" <tfcheng@gmail.com>
To:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   mkxvcd not working due to floating point expression of movie length identification from mplayer
Message-ID:  <f84c38580612131632n486b0bfdw94c42489c5dfe1dc@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
hi ...
  i need to use mkxvcd script to create movies, but it gave me error
messages. After some debugging I found out it's because (I guess) that
mplayer use floating point expression instead of integer when identifying
the length of the movie, like 208.15 or something. Anyway, when mkxvcd
trying to decide how many hours this movie has by code:
HOURS=$[quant/3600], which quant means the length,
the script can't handle it and exit.
The script is written in Bash, and I am not so much of a expert, can someone
suggest me the next step?? much appreciated!!


TFC



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f84c38580612131632n486b0bfdw94c42489c5dfe1dc>