On Fri, Jul 5, 2013 at 9:35 AM, David Coppa <dco...@gmail.com> wrote:

> On Fri, Jul 5, 2013 at 4:06 PM, Christian Weisgerber <na...@mips.inka.de>
> wrote:
> > David Coppa <dco...@gmail.com> wrote:
> >
> >> > I got a video in another language and a matching .srt file for playing
> >> > subtitle on screen, when I play it in vlc. I get this in xterm
> >> >
> >> > [0x154034af3a58] main xml reader error: XML reader not found
> >>
> >> I have not tried to rebuild the port (yet), but this is strange, since
> >> our vlc ports has xml2 support enabled...
> >
> > ... and .srt isn't XML-based to begin with.
>
> Uh. You're right :P
>
> So, why is vlc barfing about xml reader errors?
>
> Btw, a ktrace should be useful, as suggested before.
>
>
starting vlc -vvv test.flv I get this snip. (how do I enable USE xml like
the emerge gentoo folks tell of...)

 [0x79b4e2b5d58] main xml reader debug: no xml reader module matching "any"
could be loaded
[0x79b4e2b5d58] main xml reader debug: TIMER module_need() : 0.118 ms -
Total 0.118 ms / 1 intvls (Avg 0.118 ms)
[0x79b4e2b5d58] main xml reader error: XML reader not found
[0x79b53489f58] main xml reader debug: looking for xml reader module: 1
candidate
[0x79b53489f58] main xml reader debug: no xml reader module matching "any"
could be loaded


ktrace doesn't point to anything

 31539 vlc      GIO   fd 4 read 8 bytes
       "\M-8$0\0\0\0\0\0"
 31539 vlc      RET   read 4096/0x1000
 31539 vlc      CALL  mmap(0,4206592,0<PROT_NONE>,0x2<MAP_PRIVATE>,4,0)
...skipping...
       "[\^[[32;1m0xf80321fd958\^[[0m] "
 31539 vlc      RET   write 27/0x1b
 31539 vlc      CALL  write(2,140187732364368,30)
 31539 vlc      GIO   fd 2 wrote 30 bytes
       "main xml reader error: \^[[31;1m"
 31539 vlc      RET   write 30/0x1e
 31539 vlc      CALL  write(2,140187732364576,20)
 31539 vlc      GIO   fd 2 wrote 20 bytes
       "XML reader not found"
 31539 vlc      RET   write 20/0x14
 31539 vlc      CALL  write(2,140187732364352,27)
 31539 vlc      GIO   fd 2 wrote 27 bytes
       "[\^[[32;1m0xf80321fd958\^[[0m] "
 31539 vlc      RET   write 27/0x1b
 31539 vlc      CALL  write(2,140187732364368,30)
 31539 vlc      GIO   fd 2 wrote 30 bytes
       "main xml reader error: \^[[31;1m"
 31539 vlc      RET   write 30/0x1e
 31539 vlc      CALL  write(2,140187732364576,20)
 31539 vlc      GIO   fd 2 wrote 20 bytes
       "XML reader not found"
 31539 vlc      RET   write 20/0x14
 31539 vlc      CALL  write(2,17043118079549,5)
 31539 vlc      GIO   fd 2 wrote 5 bytes
       "\^[[0m
       "
 31539 vlc      RET   write 5
 31539 vlc      CALL  clock_gettime(CLOCK_REALTIME,140187732370968)
 31539 vlc      STRU  struct timespec { 1373070067.833428610 }

Anyway a kind soul sent me a diff to have ffmpeg to enable libass support,
the .srt file is then converted to .ass file (funny, no?). He also told me
that the patch has been submitted to Brad... I asked for him to post the
diff here, ao that it can get reviewed. I will start building it later.

Thanks for your help everybody!

Reply via email to