[
http://opencast.jira.com/browse/MH-6958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=25175#comment-25175
]
Adam Hochman commented on MH-6958:
----------------------------------
this only appears to be an issue with capture media. as noted in
http://opencast.jira.com/browse/MH-4364
The only work around we found is to have ffmpeg decode the nearest keyframe
rather than assume it exists. In short, moving -ss after -i. This quadruples
the processing time. Unfortunately this approach causes a seg fault when
saving to tiff directly. It's necessary to save to jpeg and then convert to
tiff. I'm not sure this is acceptable but it is really the only option we have
due to ffmpeg's issues with our capture files. Unless we want to use java's
image library instead?
I tried to modify my local encoding files, but it seems to choke. Josh/Tobias
how should this be modified?
manual command:
ffmpeg -strict inofficial -y -i vga.mpg -pix_fmt gray -ss 26 -f image2
slideo.jpeg; ffmpeg -i slide.jpeg slide.tif
attempt to tweak encoding file:
profile.text-analysis.http.suffix = .#{time}.tif
profile.text-analysis.http.mimetype = image/tiff
profile.text-analysis.http.ffmpeg.command = -strict inofficial -y -i
#{in.video.path} -pix_fmt gray -ss #{time} -f image2
#{out.dir}/#{out.name}#{time}.jpeg; ffmpeg -i #\
{out.dir}/#{out.name}#{time}.jpeg #{out.dir}/#{out.name}#{out.suffix}
> Text extraction fails with 1.1 3rd party tool installer
> -------------------------------------------------------
>
> Key: MH-6958
> URL: http://opencast.jira.com/browse/MH-6958
> Project: Matterhorn Project
> Issue Type: Bug
> Components: Architecture & Services
> Affects Versions: 1.1
> Reporter: Josh Holtzman
> Assignee: Sergio Feria
> Priority: Release Blocker
> Fix For: 1.1
>
> Attachments: 312_0.jpg, tesseract.diff
>
>
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn
To unsubscribe please email
[email protected]
_______________________________________________