Closed myf closed 8 years ago
wow -_- thanks youtube
well you can either detect that situation and add 1 to the duration or i can change the constraint to handle duration+1
i managed to get duration from ffprobe this way
ffprobe -v quiet -print_format compact=print_section=0:nokey=1:escape=csv -show_entries format=duration audio_2CSUBgq0t8U
and this returns:
115.181000
which is smaller than 115.20 that aubio outputs. It's an approximation and I think +1 makes moren sense.
by +1 i mean +1 on the constraint
OK.
we have been getting this a lot, the error code reads:
and i seem to have found the reason for the conflict:
Here in the id
2CSUBgq0t8U
the duration is115
is is rouded up by youtube,and the last signature from aubio output is
115.205803
which exceeds 115 thus do not get to add to our database.@vr2262