Export to GitHub

unlogo - issue #7

error parsing xml file


Posted on Jan 29, 2012 by Happy Giraffe

What steps will reproduce the problem? 1. tried tu run the command under Ubuntu on vmware(windows 7) 2. ffmpeg -i movies/mymovie.mp4 -q 2 -vf plugin=./libunlogo.so:logos/Disney.xml.gz -y out.mov 3. logomunge has correctly(I think) generated the file or , at least it looks good if I open it in edit

What is the expected output? What do you see instead?

[buffer @ 0x861dae0] w:1920 h:1080 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param: OpenCV Error: Parsing error (./libunlogo.so(0): Too long string or a last string w/o newline) in icvXMLSkipSpaces, file /home/gianmarco/Videoproc/OpenCV-2.3.1/modules/core/src/persistence.cpp, line 1750 Error initializing filter 'plugin' with args './liblibunlogo.so:logos/Disney.xml.gz' Error opening filters!

What version of the product are you using? On what operating system? The original zip file I followed the installation instruction carefully

Please provide any additional information below.

I cheched the file persistence.cpp and , the error is given is either \n or \r is not present but \n is there as it should be . Also tried to edit the file manually changing stuff here and there but it does not seem to have any effect

Status: New

Labels:
Type-Defect Priority-Medium