New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ffprobe return some problems with dates values #216

hdsdi3g opened this Issue Dec 15, 2016 · 0 comments


None yet
1 participant

hdsdi3g commented Dec 15, 2016

Throwed error:

ERROR mydmam.transcoder.mtd ‹WorkerExec:METADATA:WorkerIndexer/job:2eb43885›    Can't parse date, tags: {"major_brand":"mp42","minor_version":"0","compatible_brands":"mp42isom","creation_time":"2016-09-07T 16:06:14.000000Z"}
java.text.ParseException: Unparseable date: "2016-09-07T16:06:14.000000Z"
        at java.text.DateFormat.parse(
        at hd3gtv.mydmam.transcode.mtdgenerator.FFprobeAnalyser.patchTagDate(
        at hd3gtv.mydmam.transcode.mtdgenerator.FFprobeAnalyser.processFull(
        at hd3gtv.mydmam.metadata.MetadataIndexingOperation.doIndexing(
        at hd3gtv.mydmam.metadata.MetadataStorageIndexer.processFoundedElement(
        at hd3gtv.mydmam.metadata.MetadataStorageIndexer.process(
        at hd3gtv.mydmam.metadata.WorkerIndexer.workerProcessJob(
        at hd3gtv.mydmam.manager.WorkerNG$
java.lang.NumberFormatException: For input string: "55/55"
        at java.lang.NumberFormatException.forInputString(
        at java.lang.Integer.parseInt(
        at java.math.BigInteger.<init>(
        at java.math.BigInteger.<init>(
        at org.apache.commons.lang.math.NumberUtils.createBigInteger(
        at org.apache.commons.lang.math.NumberUtils.createNumber(
        at hd3gtv.mydmam.transcode.mtdcontainer.FFmpegAudioDeepAnalystChannelStat.parseFromFFmpegLine(
        at hd3gtv.mydmam.transcode.mtdgenerator.FFmpegAudioDeepAnalyser$FFmpegDAEvents.parseAstatStatment(
        at hd3gtv.mydmam.transcode.mtdgenerator.FFmpegAudioDeepAnalyser$FFmpegDAEvents.onStderr(
ERROR mydmam.elasticsearch ‹WorkerExec:METADATA:WorkerIndexer/job:2eb43885›     Errors during update database: failure in bulk execution:
[0]: index [metadata], type [ffprobe], id [mtd-1111c8764be7191527f625feda88bcd6], message [MapperParsingException[failed to parse [format.tags.creation_time]]; nested: NumberFormatException[For input strin g: "2016-09-07T16:06:14.000000Z"]; ]

@hdsdi3g hdsdi3g added the bug label Dec 15, 2016

@hdsdi3g hdsdi3g added this to the v0 Beta version milestone Dec 15, 2016

@hdsdi3g hdsdi3g self-assigned this Dec 18, 2016

hdsdi3g added a commit that referenced this issue Dec 18, 2016

Correct #216: change the Date parser (and do a brute-force parsing) a…
…nd add special case for audio stat ffmpeg result.

@hdsdi3g hdsdi3g closed this Dec 19, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment