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

Closed
hdsdi3g opened this Issue Dec 15, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@hdsdi3g
Owner

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(DateFormat.java:366)
        at hd3gtv.mydmam.transcode.mtdgenerator.FFprobeAnalyser.patchTagDate(FFprobeAnalyser.java:291)
        at hd3gtv.mydmam.transcode.mtdgenerator.FFprobeAnalyser.processFull(FFprobeAnalyser.java:136)
        at hd3gtv.mydmam.metadata.MetadataIndexingOperation.doIndexing(MetadataIndexingOperation.java:173)
        at hd3gtv.mydmam.metadata.MetadataStorageIndexer.processFoundedElement(MetadataStorageIndexer.java:276)
        at hd3gtv.mydmam.metadata.MetadataStorageIndexer.process(MetadataStorageIndexer.java:114)
        at hd3gtv.mydmam.metadata.WorkerIndexer.workerProcessJob(WorkerIndexer.java:96)
        at hd3gtv.mydmam.manager.WorkerNG$Executor.run(WorkerNG.java:181)
java.lang.NumberFormatException: For input string: "55/55"
        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
        at java.lang.Integer.parseInt(Integer.java:580)
        at java.math.BigInteger.<init>(BigInteger.java:470)
        at java.math.BigInteger.<init>(BigInteger.java:606)
        at org.apache.commons.lang.math.NumberUtils.createBigInteger(NumberUtils.java:748)
        at org.apache.commons.lang.math.NumberUtils.createNumber(NumberUtils.java:620)
        at hd3gtv.mydmam.transcode.mtdcontainer.FFmpegAudioDeepAnalystChannelStat.parseFromFFmpegLine(FFmpegAudioDeepAnalystChannelStat.java:107)
        at hd3gtv.mydmam.transcode.mtdgenerator.FFmpegAudioDeepAnalyser$FFmpegDAEvents.parseAstatStatment(FFmpegAudioDeepAnalyser.java:537)
        at hd3gtv.mydmam.transcode.mtdgenerator.FFmpegAudioDeepAnalyser$FFmpegDAEvents.onStderr(FFmpegAudioDeepAnalyser.java:450)
        at hd3gtv.tools.Execprocess.stderr(Execprocess.java:221)
        at hd3gtv.tools.Execprocess$ExecprocessStringresult.run(Execprocess.java:272)
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