I ran the cache with the cropdetect enabled and I got the following
traceback, althought I didn't get error's like you saw.
creating audio metadata............................... done
creating playlist metadata............................ done
checking database.....................................Traceback (most recent
call last):
File "/usr/local/src/freevo/src/util/dbutil.py", line 66, in inti
ret = int(a)
ValueError: invalid literal for int(): The Guess Who
Traceback (most recent call last):
File "/usr/local/src/freevo/src/util/dbutil.py", line 66, in inti
ret = int(a)
ValueError: invalid literal for int(): Bob Dylan
Traceback (most recent call last):
File "/usr/local/src/freevo/src/util/dbutil.py", line 66, in inti
ret = int(a)
ValueError: invalid literal for int(): Chumbawamba
Traceback (most recent call last):
File "/usr/local/src/freevo/src/util/dbutil.py", line 66, in inti
ret = int(a)
ValueError: invalid literal for int(): Onyx
Traceback (most recent call last):
File "/usr/local/src/freevo/src/util/dbutil.py", line 66, in inti
ret = int(a)
ValueError: invalid literal for int(): Das Efx
Traceback (most recent call last):
File "/usr/local/src/freevo/src/util/dbutil.py", line 66, in inti
ret = int(a)
ValueError: invalid literal for int(): Dude Life of Phish
Traceback (most recent call last):
File "/usr/local/src/freevo/src/util/dbutil.py", line 66, in inti
ret = int(a)
ValueError: invalid literal for int(): Ice Cube
Traceback (most recent call last):
File "/usr/local/src/freevo/src/util/dbutil.py", line 66, in inti
ret = int(a)
ValueError: invalid literal for int(): Skeelo
Traceback (most recent call last):
File "/usr/local/src/freevo/src/util/dbutil.py", line 66, in inti
ret = int(a)
ValueError: invalid literal for int(): The Meters
Traceback (most recent call last):
File "/usr/local/src/freevo/src/util/dbutil.py", line 66, in inti
ret = int(a)
ValueError: invalid literal for int(): Kenny Wayne Sheppard Band
Traceback (most recent call last):
File "/usr/local/src/freevo/src/util/dbutil.py", line 66, in inti
ret = int(a)
ValueError: invalid literal for int(): Ladder 49 Soundtrack- Ohio Players
Traceback (most recent call last):
File "/usr/local/src/freevo/src/util/dbutil.py", line 66, in inti
ret = int(a)
ValueError: invalid literal for int(): Neil Young
Traceback (most recent call last):
File "/usr/local/src/freevo/src/util/dbutil.py", line 66, in inti
ret = int(a)
ValueError: invalid literal for int(): Sly and the Family Stone
done
creating directory metadata........................... done
caching xmltv database................................ done
caching complete after 305.4 seconds
On 7/8/07, Duncan Webb <[EMAIL PROTECTED]> wrote:
Hi all
In svn there is a new method in cache that will allow crop detection of
video data, this is enabled by setting CACHE_CROPDETECT = 1 in
local_conf.py. The current version does not actually store the data but
runs through the process of generating it.
One of the problems that I have noticed is that kaa.metadata does not
always work or provide correct lengths, here are some of the errors that
I detect:
ERROR: "/freevo/tv/record_avi/12-28_22_25_Ein_seltsames_Paar.mpeg" has
no metadata
ERROR:
"/freevo/tv/record_avi/12-29_20_15_Agatha_Christies_Mord_im_Orient-
Express.mpeg"
has invalid length of 232536
ERROR: "/freevo/video/movies/action/From_Hell/VIDEO_TS/VTS_01_3.VOB" has
invalid length of 93061
ERROR:
"/freevo/video/movies/czech/Krtek_a_kalhotky/VIDEO_TS/VTS_01_2.VOB" has
invalid length of 95329
ERROR:
"/freevo/video/movies/czech/Krtek_a_kalhotky/VIDEO_TS/VTS_01_3.VOB" has
invalid length of None
ERROR: "/freevo/video/movies/dominic/today.pls" has no metadata
ERROR: "/freevo/video/movies/dominic/today/clips003.avi" has invalid
length of 1.88
ERROR: "/freevo/video/movies/DVD [ABOUT A BOY]_1.avi" cropdetect thread
was killed
When I check the files with mplayer -frames 0 -identify <file> the
results are quite reasonable. Eg:
"/freevo/tv/record_avi/12-29_20_15_Agatha_Christies_Mord_im_Orient-
Express.mpeg
| grep ID_
ID_VIDEO_ID=0
ID_AUDIO_ID=0
ID_FILE_SUB_ID=0
ID_FILE_SUB_FILENAME=/freevo/tv/record_avi/12-29_20_15_Agatha_Christies_Mord_im_Orient-
Express.srt
ID_FILENAME=/freevo/tv/record_avi/12-29_20_15_Agatha_Christies_Mord_im_Orient-
Express.mpeg
ID_DEMUXER=mpegps
ID_VIDEO_FORMAT=0x10000002
ID_VIDEO_BITRATE=9600000
ID_VIDEO_WIDTH=720
ID_VIDEO_HEIGHT=576
ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_CODEC=mp3
ID_AUDIO_FORMAT=80
ID_AUDIO_BITRATE=384000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_LENGTH=5388.04
ID_VIDEO_CODEC=mpeg12
so this has a length of about 90 minutes.
I think that the VOB files that are giving errors are caused by menu
pages.
What I would like is if anybody else can run the cache over their videos
and see what errors they get.
And also check that the actual crop results are correct. The cache
program is using the encodingcore's crop detection routines.
Thanks,
Duncan
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel